How can I export b2c users from Azure Portal including authentication mobile number?

Saida Yucel 0 Reputation points
2023-09-06T00:00:50.4433333+00:00

Hello everyone,

I am trying to export users from azure b2c along with their mobile number which is crucial to my task. I have followed this documentation but I don't see any mobile number exported.

Thank you for your help

Microsoft Security Microsoft Entra Microsoft Entra ID
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Givary-MSFT 35,621 Reputation points Microsoft Employee Moderator
    2023-09-07T09:24:38.2233333+00:00

    @Saida Yucel Thank you for reaching out to us, As I understand you want to export Azure b2c user details from the portal during the process you are not able to get mobile number details.

    In order to authentication method information from the user, came across below articles

    https://www.reddit.com/r/PowerShell/comments/a9rbyz/exporting_azure_user_directory_to_csv_that/

    https://stackoverflow.com/questions/75859115/microsoft-graph-powershell-getting-mfa-phone-number-for-all-users

    Both the articles have different approaches to get the authentication method information for the user, I tried at my end and it helped to fetch the authentication method details.

    Let me know if you have any further questions, feel free to post back.


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.