Where is Azure AD B2C account QR code for Microsoft authenticator?

Tony Lin 21 Reputation points

When I switch from my Azure primary directory to Azure AD B2C directory, I need to approve the switch in Authenticator. The account name in Authenticator is very special. The account name is admin_mydomain.com#EXT#@mydomain.onmicrosoft.com. My Azure primary directory login name is admin@mycomain.com.

I got a new phone last week. I have restored all account details to new phone and scanned all other accounts’ QR codes. But I don’t know where to fine the QR code for the special account of Azure AD B2C directory. I have never aware this issue before. I will not be able to login my AD B2C directory if I lost my phone. It is a common issue for everyone who has Azure AD B2C directory.

I set the account up first time with a pop up wizard from Azure.

Please help me with this issue. Thanks.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,633 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,301 Reputation points

    @Tony Lin · Welcome to Q&A platform and thank you for your query.

    The account name/upn in this format (admin_mydomain.com#EXT#@mydomain.onmicrosoft.com) gets generated for guest users. If you have added the admin of your Azure AD tenant as guest to your B2C tenant and while switching from your Azure AD tenant to the Azure AD B2C tenant, you are being prompted for MFA, it can be due to security defaults in the B2C tenant, as highlighted below:


    To disable MFA prompt when switching from your primary Azure AD to B2C directory, disable "Security Defaults".

    Read more: What are security defaults?


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

0 additional answers

Sort by: Most helpful