Graph API :Unable to retrive MFA method of some user through Graph API

Rabiya Basiri 1 Reputation point
2022-08-30T12:36:33.373+00:00

Using the Graph API , we are able to retrieve MFA details of an user but unable to retrieve for some users though they registered for MFA in Azure DA B2C. We have used the below API,

https://graph.microsoft.com/v1.0/users/f3f7c423-5b83-48e7-8d5d-20827ec7c251/authentication/phoneMethods

Community Center Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,486 Reputation points
    2022-08-30T15:17:59.11+00:00

    Hi Rabiya,

    Did you provided full consent to the GraphAPI for the user's properties? Just check under the preview tab and provide the permissions if required.

    236150-image.png

    Also check the permissions over here required for using GraphAPI.

    auth-concepts

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. JimmySalian-2011 42,486 Reputation points
    2022-08-30T15:59:15.46+00:00

    Also try this as a query - https://graph.microsoft.com/beta/reports/authenticationMethods/usersRegisteredByMethod(includedUserTypes='all',includedUserRoles='all')

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

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.