Forum Discussion
bobhe875
Feb 11, 2022Copper Contributor
How to connect programmatically via EWS when MFA is Enforced?
Hi: How can we connect to a mailbox programmatically via EWS when MFA is Enforced? We've tried creating an App Password but still get 401 Unauthorized when trying to connect. How does Micros...
- Feb 11, 2022
Obtain a token in app context and impersonate the user. There's detailed guidance here: https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth
VasilMichev
Feb 11, 2022MVP
Obtain a token in app context and impersonate the user. There's detailed guidance here: https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth