Ews returns unauthorized error while logging in with the 2fa app password RRS feed

  • Question

  • Hi,

    I am using ews services for mailing services in my application and lately one of my clients reported an issue where they are not able to send a mail through ews services and when I checked, the error reported back from server was 401. She has enabled 2fa in her office 365 accounts and has used the app password provided. I have asked her to turn off 2fa at her end to check the normal connectivity and authentication, but she says she cannot switch that off as well.

    Can you please advise me steps to follow for authentication when a client has enabled 2fa?

    Thank you.

    Wednesday, March 18, 2020 7:04 AM