Azure AD B2C - User Flows - is there a way to skip 'Social account sign up page'

Eivydas Kočinas 0 Reputation points
2023-06-16T07:35:36.6566667+00:00

Hi all,

I am using an Azure AD B2C tenant to allow users to authenticate with my web app. The only identity provider I am interested in is Microsoft. I am facing the following issue:

  • If I set my user flow as Sign-in I get the following error when trying to authenticate a user: error_description: 'AADB2C99002: User does not exist. Please sign up before you can sign in.
  • If I set my user flow as Sign up and sign in I am able to authenticate the user with a Microsoft account, however after entering their Microsoft account email and password they are brought to this next page which I believe is called Social account sign up page to verify their email: Social account sign up page screen

As far as my application is concerned, if the user has a valid Microsoft account they should not need to go through extra steps to verify their email and should be authenticated. Would anyone be able to advise if there is a way to skip the Social account sign up page or in any other way authenticate users holding a Microsoft account without any extra steps or inputs from user?

Many thanks Eivydas

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2023-06-19T12:11:02.0166667+00:00

    Hi @Eivydas Kočinas ,

    Thanks for reaching out.

    Please find the response inline

    • If I set my user flow as Sign-in I get the following error when trying to authenticate a user: error_description: 'AADB2C99002: User does not exist. Please sign up before you can sign in.

    If the account doesn't exist in the B2C tenant and you are trying to sign in directly, you will get the 'User does not exist' error.

    • If I set my user flow as Sign up and sign in I am able to authenticate the user with a Microsoft account, however after entering their Microsoft account email and password they are brought to this next page which I believe is called Social account sign up page to verify their email.

    When you will try to sign up with social account, B2C tenant gathers the user attributes to store the user's information based on the user attributes defined in your flow to register the user in B2C tenant.

    User's image

    Based on the above screenshot, it seems to be the local sign up page to verify the email id of the user.

    I reproduce your scenario to sign up and sign in with Microsoft IdP and able to do that successfully without any email verification.

    Could you please confirm there is no customization page you set up for email verification or you are directing to live.com URL to authenticate the user.

    In case the above does not work for you, please send us an email on azcommunity [at] microsoft [dot] com referencing this issue with a subject line "ATTN:shweta" to help you further.

    Hope this will help.

    Thanks,

    Shweta


    Please remember to "Accept Answer" if answer helped you.

    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.