Exercise - Set up self-service password reset
In this unit, you'll configure and test self-service password reset (SSPR) by using your mobile phone. You'll need to use your mobile phone to complete the password-reset process in this exercise.
Create a Microsoft Entra organization
For this step, you'll want to create a new directory and sign up for trial Premium subscription for Microsoft Entra ID.
Sign in to the Azure portal.
Select Create a resource > Identity > Microsoft Entra ID.
Select Microsoft Entra ID, then select Next : Configuration.
On the Create tenant page, use the following values. Then select Review + Create, followed by Create.
Property Value Organization name Choose any organization name. Initial domain name Choose a domain name that's unique within .onmicrosoft.com. Make a note of the domain you choose. Country or region United States. Complete the CAPTCHA, then select Submit.
After you create the organization, select the F5 key to refresh the page. Select your user account and then select Switch directory.
Select the organization you just created.
Create a Microsoft Entra ID P2 trial subscription
Now activate a trial Premium subscription for the organization so that you can test SSPR.
- Go to Microsoft Entra ID > Manage > Password reset.
- Select Get a free Premium trial to use this feature.
- Under Microsoft Entra ID P2, expand Free trial, and select Activate.
- Refresh the browser to see the Password reset - Properties page. You might need to refresh a few times.
Create a group
You want to roll out SSPR to a limited set of users first to make sure your SSPR configuration works as expected. Let's begin by creating a security group for the limited rollout.
In the Microsoft Entra organization you created, under Manage, select Groups.
Select New Group.
Enter the following values:
Setting Value Group type Security Group name SSPRTesters Group description Members are testing the rollout of SSPR Membership type Assigned Select Create.
Create a user account
To test your configuration, create an account that's not associated with an administrator role. You'll also assign the account to the group you created.
In your Microsoft Entra organization, under Manage, select Users.
Select + New user, select Create new user in the drop-down, and use the following values:
Setting Value User name balas Name Bala Sandhu Password Select the Copy icon next to the autogenerated password, then paste the password to a text editor like Notepad. Select the Assignments tab.
Select Add group, check the box for the SSPRTesters group, and then the Select button.
Select Review + create and then select Create.
Enable SSPR
Now, you're ready to enable SSPR for the group.
In your Microsoft Entra organization, under Manage, select Password reset.
If the Password reset page still displays the message Get a free Premium trial to use this feature, wait for a few minutes and then refresh the page.
On the Properties page, select Selected. Select the No groups selected link, select the box next to the SSPRTesters group, and then the Select button.
Select Save.
Under Manage, select the Authentication methods, Registration, and Notifications pages to review the default values.
Select Customization.
Select Yes, and then in the Custom helpdesk email or URL text box, enter admin@organization-domain-name.onmicrosoft.com. Replace "organization-domain-name" with the domain name of the Microsoft Entra organization you created. If you've forgotten the domain name, hover over your profile in the Azure portal.
Select Save.
Register for SSPR
Now that the SSPR configuration is complete, register a mobile phone number for the user you created.
Note
If you get a message that says "The administrator has not enabled this feature," use private/incognito mode in your web browser.
In a new browser window, go to https://aka.ms/ssprsetup.
Sign in with the user name balas@organization-domain-name.onmicrosoft.com and the password that you noted earlier. Remember to replace "organization-domain-name" with the domain name of the Microsoft Entra organization you created.
If you're asked to update your password, enter a new password of your choice. Make sure you note the new password.
Select the Security info tab, and then select + Add sign-in method.
In the Add a method box, select Phone.
Enter your mobile phone details.
Select the Text me a code radio button, and then select Next.
When you receive the code on your mobile phone, enter the code in the text box and select Next.
Select Done.
Test SSPR
Now, let's test whether the user can reset their password.
In a new browser window, go to https://aka.ms/sspr.
For User ID, type balas@organization-domain-name.onmicrosoft.com. Replace "organization-domain-name" with the domain you used for your Microsoft Entra organization.
Complete the CAPTCHA and select Next.
Enter your mobile phone number, then select Text.
When the text arrives, in the Enter your verification code text box, enter the code you were sent. Select Next.
Enter a new password, and then select Finish. Make sure you note the new password.
Close the browser window.