How to Authenticate MFA enabled user using API?

Syed.S 0 Reputation points
2023-07-06T13:15:02.49+00:00

Hi Team,

I am trying to validate the User credentials using API and get user Access token. But after enable MFA for user account, i am not able to validate the credentials using API. I am getting below error code and Error message.

 "error_description": "AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'.",
"error_codes": [
        50076
],

Please suggest ways for user authentication in this scenario. Thanks in advance.

Microsoft 365 and Office Access Development
0 comments No comments
{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.