Two-factor authentication (2FA) (OTP) with EWS or Microsoft Graph API

Mazen Hamdan 0 Reputation points
2023-10-18T05:26:44.97+00:00

Dears ,

I'm trying to use EWS or Microsoft Graph API to sync inbox, outbox and Microsoft calendar and everything was good but after the user add two-factor authentication on his email the login operation failed and the user forces me to provide him with ( OTP ) , How I can provide the user with the ( OTP ) , Or there is any plugin or services from Microsoft I can use to send the OTP for the user who try to login ?

Thank you .

Exchange | Exchange Server | Development
Microsoft Security | Microsoft Graph
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.