Office provides the following add-ins:

If MFA is enabled on Outlook Anywhere (MAPI over HTTP) and OWA, and Outlook Add-ins are being used, then you must add the following URL Filter.

Launch the the IIS console

Select the OWA node

Click the "URL Filter" button

Add the following URL filter

/owa/.*/prem/.*/ext/def/.*

Save and apply changes.