All AD B2C users with local account and email signup to get otp in their phone number also.

Ayan Patranabis 1 Reputation point
2021-08-09T03:30:37.403+00:00

In our ADB2C , we have given email login and verification code is sent to email address. The user-flows are default.
Now many users forgot password of their email address so they are not able to create account or reset password in our app.
We are collecting user phone number as part of user-signup.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,849 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,331 Reputation points
    2021-08-09T10:42:54.287+00:00

    Hi @Ayan Patranabis • Thank you for reaching out.

    You can receive OTP for sign-in only when you have signed up using Phone Number. If you have signed-up using Email Address and collected phone as part of sign-up process, you will not be able to sign-in using phone number.

    Best you can do is, configure Self Service password reset for the users by configuring below settings:

    1. In the Azure portal > Azure AD B2C > Select User flows > Select a sign-up or sign-in user flow (of type Recommended) that you want to customize > Select Properties > Under Password configuration, select Self-service password reset > Save
    2. Under Customize in the left menu > select Page layouts > In the Page Layout Version, choose 2.1.3 or above.
    3. Once above settings are configured, users can reset their passwords by clicking on "Forgot your password?" link on the sign in page.

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

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