With B2C combined signinsignup policy is it possible to detect a user doesnt have an account and automatically flow to creation?

Sean Knox 21 Reputation points
2021-09-20T19:25:31.39+00:00

In firebase and identityserver I can easily setup policies that can detect if a user doesn't have an account then push them towards signup flow. Is there a way to do the same with B2C. Sample screenshots below. First is firebase, second is b2c. Currently all the example I've found have two separate paths, user tries to sign in, receives validation warning, then looks for signup button. You can see below how the firebase example is much simpler for the user.

133675-image.png

133718-image.png

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,640 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jitendra Rai 231 Reputation points
    2021-09-28T10:49:27.12+00:00

    Thanks and it can be achieved using custom policy/Subjourney/rest api to validate the user existence by Graph or rest api call and then based on conditional value check then call either signup policy technical profile to create user or call graph api or rest api to delete current user. There is subjourney steps you can use for more robust.

    Please find below reference :-

    1. https://learn.microsoft.com/en-us/azure/active-directory-b2c/subjourneys
    2. https://learn.microsoft.com/en-us/azure/active-directory-b2c/validation-technical-profile
    3. https://github.com/azure-ad-b2c/rest-api
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sean Knox 21 Reputation points
    2021-09-28T17:57:34.387+00:00

    Accepted answer. Thank you! I wish this was a lot easier, but perhaps y'all are working on b2c v2 to compete with Firebase and the new identity server :)

    0 comments No comments