OfficeDevPnp.Core AuthenticationManager GetWebLoginClientContext 502 error in Outlook App with MFA

Highlighted
New Contributor

Hi all - I have an Outlook App hosted on Azure. I have recently changed the app to attempt to accommodate Multi-Factor auth by replacing my own ClientContext code with that of the OfficeDevPnp.Core one (GetWebLoginClientContext). On publishing the app and attempting to connect in Outlook I receive 502 - Web server received an invalid response while acting as a gateway or proxy server error and the app will not load. This does not occur when I disable MFA on my account.

 

Any ideas as to what is going wrong here?

0 Replies