Self-Service Password Reset with Password Writeback
Password reset calls are one of the most common help desk tickets. Self-service password reset (SSPR) lets users reset or unlock their own account, and in a hybrid tenant password writeback sends the new password back to on-premises Active Directory so it works everywhere. This guide pilots SSPR with one group, adds writeback, and tests it with a normal user.
Before you start
- License: password reset needs at least Microsoft Entra ID P1 (SSPR prerequisites (opens in a new tab)), and writeback needs P1 or a trial (Writeback prerequisites (opens in a new tab)). See SSPR and SSPR with writeback on License requirements.
- Roles: Authentication Policy Administrator to turn SSPR on (SSPR prerequisites (opens in a new tab)); Hybrid Identity Administrator for writeback (Writeback prerequisites (opens in a new tab)).
- Sync: a current version of Microsoft Entra Connect (or cloud sync provisioning agents) already syncing your users (Writeback prerequisites (opens in a new tab)).
- Methods: if you’ve finished the authentication methods migration, the methods users can reset with come from the Authentication methods policy.
- Test account: a non-admin user in a pilot group. Admins have SSPR on by default and must use two methods, so they make a poor test (Test SSPR (opens in a new tab)).
Step by step
- Turn SSPR on for a pilot group. Go to Entra ID > Password reset > Properties, set Self service password reset enabled to Selected, pick the group and save. The admin center lets you pick only one group, but nested groups work (Enable SSPR (opens in a new tab)).
- Set methods and registration. On Authentication methods, Microsoft’s tutorial uses 2 methods required to reset. On Registration, set Require users to register when signing in to Yes and the reconfirm interval (the tutorial uses 180 days) (Methods and registration (opens in a new tab)).
- Turn on notifications and a help desk link. On Notifications, set Notify users on password resets? and Notify all admins when other admins reset their password? to Yes. On Customization, add your help desk email or URL (Notifications and customizations (opens in a new tab)).
- Give the sync account AD permissions. On the account Microsoft Entra Connect uses (see View current configuration > Synchronized Directories), grant Reset password, Write lockoutTime and Write pwdLastSet on descendant user objects, and Unexpire Password on the domain root for this object and all descendants. Without these, writeback can look configured while users get errors. Replication can take an hour or more (Account permissions (opens in a new tab)).
- Check Minimum password age. Microsoft says set the group policy Minimum password age to 0 for writeback to work most efficiently, and it’s required if users may reset more than once a day (Password policy note (opens in a new tab)).
- Enable writeback in Connect. In the Microsoft Entra Connect wizard choose Configure > Customize synchronization options, then tick Password writeback on Optional features and finish (Enable writeback in Connect (opens in a new tab)).
- Enable writeback for SSPR. In the admin center go to Entra ID > Password reset > On-premises integration, check Write back passwords to your on-premises directory (and the cloud sync option if those agents are detected), set Allow users to unlock accounts without resetting their password to Yes, and save (Enable writeback for SSPR (opens in a new tab)).
Gotchas
- Turning writeback on for the first time can log password change events 656 and 657 even when nobody changed a password, because all hashes resync (Important note (opens in a new tab)). Warn whoever watches your domain controller logs.
- Some resets aren’t written back, including admin resets from the Microsoft 365 admin center and from the old PowerShell modules (Unsupported writeback operations (opens in a new tab)). Reset from the Microsoft Entra admin center or Microsoft Graph instead (Supported operations (opens in a new tab)).
- SSPR shows only the cloud password policy, not your on-premises rules, and users with writeback don’t see the strength indicator (SSPR FAQs (opens in a new tab)).
- If some accounts don’t write back, check that permission inheritance isn’t disabled on them (Tip (opens in a new tab)).
Check it worked
- In a private window, sign in at
https://aka.ms/ssprsetupas the pilot user and register methods (Test SSPR (opens in a new tab)). - In another private window, go to
https://aka.ms/sspr, reset the password, and confirm the notification email arrives. - Sign in to a domain-joined PC or on-premises app with the new password to confirm writeback.
Roll back
To stop writeback, clear the options on Password reset > On-premises integration, then untick Password writeback in the Connect wizard. To turn SSPR off, set Self service password reset enabled to None (Writeback clean up (opens in a new tab), SSPR clean up (opens in a new tab)).
Related on EntraReady: Move off the legacy MFA/SSPR policies, Microsoft Entra Connect and cloud sync health, AADSTS50126 (invalid username or password), and License requirements.
Sources (Microsoft Learn): Tutorial: Enable SSPR (opens in a new tab), Tutorial: Enable SSPR writeback (opens in a new tab), How SSPR writeback works (opens in a new tab).
← All GuidesIs this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.