Share via

Adb2c password reset custom policy -Reset password using username

Prateek Rathore 21 Reputation points
May 1, 2024, 2:00 PM

Hi, I am working on Adb2c custom policies and am stuck in the password reset policy where I need to reset the password using a username instead of the email address. The below screenshot is for User flows where it is provided that we can create a reset password policy where after email address verification is done we provide the username and after clicking on continue it redirects to the change password screen. Currently, I am not able to achieve this one in custom policy.
Looking for help regarding thisUser's image

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

1 answer

Sort by: Most helpful
  1. Babafemi Bulugbe 3,940 Reputation points MVP
    May 6, 2024, 9:40 AM

    Hello Prateek Rathore,

    Thank you for posting your query in the Microsoft Q&A Community.

    I understand that you would like to set up a password reset custom policy using a username.

    Kindly use this sample link below to achieve this.

    https://github.com/azure-ad-b2c/samples/tree/master/policies/password-reset-with-Username-SMSVerify

    A prompt for user to input their Username only.

    However, you need to make some adjustments as the verification process here is via SMS and not email.

    Let me know if further assistance is needed,

    Babafemi


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.