Azure AD B2C phone sign-up/sign-in and phone number change

Veli-Jussi Raitila 381 Reputation points
2022-11-01T12:15:42.273+00:00

Is it possible to allow users to both sign-up and sign-in with a phone number only?

If yes, is it also still possible to provide a way to change the phone number? E.g. after a successful sign-in, prompt for the new number and change after the ownership has been verified (e.g. with an SMS).

Even if such a self-service flow would not be possible OOB, can the phone number (used to sign-in) still be changed using an API?

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,639 questions
{count} votes

Accepted answer
  1. Shweta Mathur 27,381 Reputation points Microsoft Employee
    2022-11-02T11:21:58.427+00:00

    Hi @Veli-Jussi Raitila ,

    Thanks for reaching out.

    Is it possible to allow users to both sign-up and sign-in with a phone number only?

    Yes, it is possible to do both signUp and signIn setup with Phone number for user flow or custom policy as passwordless option.

    In SignUp/SignIn userflow, select the Phone SignUp local account under Identity Providers which will allow to SignUp using phone number after verification through SMS.

    256357-image.png

    If yes, is it also still possible to provide a way to change the phone number? E.g. after a successful sign-in, prompt for the new number and change after the ownership has been verified (e.g. with an SMS).

    Yes, it is possible to change the phone number after signUp using Change Phone Number if the recovery email has been setup on User flow.

    256392-image.png

    Before SignUp the user, enable recovery email which is currently under preview in the SignUp/SignIn user flow which will help to the send verification code on recovery email while changing the phone number.
    Reference: https://learn.microsoft.com/en-us/azure/active-directory-b2c/phone-authentication-user-flows

    256320-image.png

    Hope this will help.

    Thanks,
    Shweta

    --------------------------------------

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

    0 comments No comments

0 additional answers

Sort by: Most helpful