question

AyanPatranabis-5949 avatar image
0 Votes"
AyanPatranabis-5949 asked RakeshJagatap-4451 commented

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

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.

azure-ad-app-registration
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered amanpreetsingh-msft commented

Hi @AyanPatranabis-5949 • 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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @amanpreetsingh-msft
Thanks for sharing your inputs.
We don't want users to sign in with a phone number, we just want the OTP to reach their email as well as their mobile number.
That will make sure, the users, even if they cannot access their email, can get the OTP in their phone, and can sign-up or reset the password.

Do you think, that is achievable ?

Appreciate your help!

0 Votes 0 ·

Hi @AyanPatranabis-5949 • This is not achievable. You may post an idea regarding this at Azure Feedback Portal, which is monitored by the product team for product enhancements.

0 Votes 0 ·