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 .

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,798 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
516 questions
{count} votes