Unable to retrieve MFA authentication methods in azure portal using graph api

apparao 1 Reputation point
2022-08-30T12:38:25.837+00:00

Hi Team,

We are unable to retrieve the MFA authentication methods in azure portal using graph api.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,446 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 100.2K Reputation points MVP
    2022-08-30T14:41:25.827+00:00

    Can you be a bit more specific here? What's the error you're getting? What does the request look like?


  2. Shivam Dhiman 5,951 Reputation points
    2022-08-30T15:12:19.647+00:00

    Hi @apparao

    To get the MFA authentication methods use this GET https://graph.microsoft.com/beta/reports/authenticationMethods/userRegistrationDetails Graph API endpoint. Please make sure to give UserAuthenticationMethod.Read.All, AuditLog.Read.All permissions before using this Graph API. As you can see I am able to get MFA method for all the users in my tenant.
    236203-mfa1.png

    236166-mfa3.png

    Reference documentation.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".