Entra IDDeep dive

Entra ID SSPR and password writeback errors: SSPR_00xx codes, event IDs and fixes

Every documented SSPR_00xx reset-page code and password writeback event ID from Entra Connect and Cloud Sync, with the meaning, the usual cause and the first check.

Self-service password reset (SSPR) fails in two places: on the reset page, where the user gets an SSPR_00xx code, and on the Microsoft Entra Connect server, where password writeback logs what Active Directory did with the new password. This quick reference lists every code and event Microsoft documents for both, with the meaning, the usual cause and the first check, plus the healthy event sequence to look for when you test a fix.

Codes in this quick reference

  • SSPR_0009 TenantSSPRFlagDisabled: password reset isn't enabled for the organizationPassword reset page
  • SSPR_0010 WritebackNotEnabled: password writeback hasn't been enabledPassword reset page
  • SSPR_0011 SsprNotEnabledInUserPolicy: no password reset policy is definedPassword reset page
  • SSPR_0012 UserNotLicensed: required licenses are missingPassword reset page
  • OnPremisesSuccessCloudFailure: password reset on-premises, cloud update not committed yetPassword reset page
  • On-premises policy violation: the new password fails the Active Directory password policyPassword reset page
  • Password doesn't comply with fuzzy policy: the password is on the banned password listPassword reset / change page
  • Unable to configure password writeback. Ensure you have the required license.Entra Connect wizard

+ 27 more codes in the tables below.

How this guide is organized: How to read these codes → Password reset page codes → Registration and usage messages without a code → Writeback events on the Entra Connect server → Setup and Cloud Sync errors → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Password reset page codes. 3. Registration and usage messages without a code. 4. Writeback events on the Entra Connect server (4 parts: Service and connectivity (31xxx and 32xxx); Active Directory results (33xxx); ADSync and sync engine messages; Healthy events (what good looks like)). 5. Setup and Cloud Sync errors. 6. How to verify a fix. Toolbox: 0x80230619, Event ID 6800, Set-AADCloudSyncPermissions, Get-ADUser, Password reset › Properties.1How to read these codes2Password reset page codes3Registration and usagemessages without a code4Writeback events on the EntraConnect server5Setup and Cloud Sync errors6How to verify a fixService and connectivity(31xxx and 32xxx)Active Directory results(33xxx)ADSync and sync enginemessagesHealthy events (whatgood looks like)TOOLBOX0x80230619Event ID 6800Set-AADCloudSyncPermissionsGet-ADUserPassword reset › PropertiesHow this guide is organized: How to read these codes → Password reset page codes → Registration and usage messages without a code → Writeback events on the Entra Connect server → Setup and Cloud Sync errors → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Password reset page codes. 3. Registration and usage messages without a code. 4. Writeback events on the Entra Connect server (4 parts: Service and connectivity (31xxx and 32xxx); Active Directory results (33xxx); ADSync and sync engine messages; Healthy events (what good looks like)). 5. Setup and Cloud Sync errors. 6. How to verify a fix. Toolbox: 0x80230619, Event ID 6800, Set-AADCloudSyncPermissions, Get-ADUser, Password reset › Properties.1How to read these codes2Password reset page codes3Registration and usage messages without acode4Writeback events on the Entra ConnectserverService and connectivity (31xxx and 32xxx)Active Directory results (33xxx)ADSync and sync engine messagesHealthy events (what good looks like)5Setup and Cloud Sync errors6How to verify a fixTOOLBOX0x80230619Event ID 6800Set-AADCloudSyncPermissionsGet-ADUserPassword reset › Properties
At a glance: how this guide is organized · 4 steps · 5 key settings and tools

How to read these codes#

Where an SSPR or password writeback failure is explainedWhere do you see the failure? if Reset page: Look up the SSPR_00xx code (Also ask for the Support code GUID at the bottom); if Entra Connect log: Which PasswordResetService range is the event in? if 31xxx: Progress event or a failed operation (Healthy: 31001 then 31002; a fail event points to a 33xxx or 6329); if 32xxx: Service or connectivity error (Test the Service Bus namespace named in the latest 31019 or 31034 event); if 33xxx: Active Directory couldn't set the password (Permissions, a disabled or locked account, or domain password policy); if Cloud Sync agent: Check the agent's permissions and version (Its gMSA needs writeback rights)Where do you see the failure?FIXLook up theSSPR_00xx codeAlso ask for theSupport code GUIDat the bottomReset pageWhich PasswordResetServicerange is the event in?NOTEProgress event ora failed operationHealthy: 31001 then31002; a fail eventpoints to a 33xxx or632931xxxFIXService orconnectivity errorTest the Service Busnamespace named inthe latest 31019 or31034 event32xxxFIXActive Directorycouldn't set thepasswordPermissions, adisabled or lockedaccount, or domainpassword policy33xxxEntra Connect logFIXCheck the agent'spermissions andversionIts gMSA needswriteback rightsCloud Sync agentWhere an SSPR or password writeback failure is explainedWhere do you see the failure? if Reset page: Look up the SSPR_00xx code (Also ask for the Support code GUID at the bottom); if Entra Connect log: Which PasswordResetService range is the event in? if 31xxx: Progress event or a failed operation (Healthy: 31001 then 31002; a fail event points to a 33xxx or 6329); if 32xxx: Service or connectivity error (Test the Service Bus namespace named in the latest 31019 or 31034 event); if 33xxx: Active Directory couldn't set the password (Permissions, a disabled or locked account, or domain password policy); if Cloud Sync agent: Check the agent's permissions and version (Its gMSA needs writeback rights)Where do you see the failure?Reset pageFIXLook up the SSPR_00xx codeAlso ask for the Support code GUID at the bottomEntra Connect logWhich PasswordResetService range is theevent in?31xxxNOTEProgress event or a failed operationHealthy: 31001 then 31002; a fail event points toa 33xxx or 632932xxxFIXService or connectivity errorTest the Service Bus namespace named in thelatest 31019 or 31034 event33xxxFIXActive Directory couldn't set thepasswordPermissions, a disabled or locked account, ordomain password policyCloud Sync agentFIXCheck the agent's permissions and versionIts gMSA needs writeback rights
Figure 1 · Decision tree Where an SSPR or password writeback failure is explained. Start from where you see the failure, and test one operation at a time: a reset and a change log different event IDs.
  • Password reset page (https://passwordreset.microsoftonline.com, reached through https://aka.ms/sspr or the Forgot my password link): the user sees a sentence plus Technical details with the code. Each code also has an internal name such as UserNotLicensed = 12. Ask the user for the code and the Support code GUID at the bottom of the page.
  • Application log on the Entra Connect server: two sources matter. PasswordResetService covers the writeback service itself: 31xxx events for each reset and the service's own state (progress and some failures), 32xxx service and connectivity errors, 33xxx Active Directory results. ADSync covers what happened when the sync engine set the password in Active Directory.
  • Cloud Sync: users see the same reset page when writeback runs through the provisioning agent; the agent's permissions and version cause most failures (last table).
  • Reset or change? A reset means nobody supplied the current password (user or admin); a change means the user typed it. They log different event IDs, so test one operation at a time.

For the full setup walk-through (scope, licensing, writeback permissions), see Self-service password reset and password writeback: fixing the usual failures. Sync errors on the same server are in the Entra Connect sync errors quick reference.

Password reset page codes (SSPR_00xx)#

CodeMeaningUsual causeFirst check
SSPR_0009 TenantSSPRFlagDisabledPassword reset isn't enabled for the organization.Self-service password reset enabled is set to None.Entra ID › Password reset › Properties: Selected (right group) or All.
SSPR_0010 WritebackNotEnabledThe password is managed on-premises but writeback is off.Synced, federated or pass-through user; writeback never enabled.Enable writeback in Entra Connect or Cloud Sync, then on Password reset › On-premises integration.
SSPR_0011 SsprNotEnabledInUserPolicyNo password reset policy is defined.Methods and the number required were never configured.Password reset › Authentication methods.
SSPR_0012 UserNotLicensedRequired licenses are missing.The user's license doesn't include SSPR for this scenario.The user's licenses; writeback needs at least Entra ID P1.
SSPR_0013 UserNotMemberOfScopedAccessGroupUser isn't in the group enabled for reset.Scope is Selected and the user is outside the group.Add the user to the group (nested groups work).
SSPR_0014 UserNotProperlyConfiguredNot enough security info registered.Policy needs one or two methods; the user has fewer.Admin resets the password; the user registers at https://aka.ms/ssprsetup.
SSPR_0029 OnPremisesAdminActionRequiredError in the on-premises configuration.Connector account permissions, a synced AD administrator, or blocked remote calls to SAM.Events 33004 and 6329; see the SSPR_0029 troubleshooter.
SSPR_0030 OnPremisesConnectivityErrorPoor connection with the on-premises environment.Service Bus traffic blocked; proxy or idle time-outs.Events 31034 and 32002; test the namespace (below).
OnPremisesSuccessCloudFailureReset written to AD, cloud copy not committed yet.Time-out, cloud password policy or throttling.Wait a few minutes, then sign in with the new password.

Note: Microsoft documents a second wording for code 29: SSPR_0029: Your organization hasn't properly set up the on-premises configuration for password reset. Treat it exactly like the first one.

Registration and usage messages without a code#

MessageMeaningUsual causeFirst check
Your administrator has not enabled you to use this feature.User isn't enabled for SSPR.SSPR off, user outside the scoped group, or no license.Properties scope and the user's licenses.
On-premises policy violationAD rejected the new password.Length, complexity, history or minimum age.Pick another password; check the domain and fine-grained policies.
Password doesn't comply with fuzzy policyPassword is on the banned password list.Banned password protection.Choose a password without banned terms.
Throttled (no code)Reset blocked for the account.Five phone validations, five security-question tries or five resets of one account within an hour.Wait 24 hours after the last attempt.
SMS or call never arrivesStored number unusable.Wrong format; extensions are stripped.Store it as +1 4251234567, no extension.
Error validating the phone numberTyped number doesn't match the stored one.Country or area code missing.Enter the complete number.
Error when the user ID is an email addressUPN differs from the primary SMTP address.Email as an alternate login ID isn't enabled.Use the UPN, or enable email sign-in.
Admin ignores your SSPR policyAdmins get Microsoft's own policy.Built-in administrator reset policy.Register two methods for admin accounts.

Writeback events on the Entra Connect server#

Service and connectivity (31xxx and 32xxx)#

CodeMeaningUsual causeFirst check
31003 / 31008 / 31011 PasswordResetFail / ChangePasswordFail / ResetUserPasswordByAdminFailPassword reached on-premises but couldn't be set (user reset / change / admin reset).Domain policy, missing connector permission, or a protected group.The 33xxx or 6329 event logged with it.
31014 OffboardingEventFailDisabling writeback failed.Admin permissions, or a federated Hybrid Administrator.Rerun with a managed cloud admin.
31016 WriteBackServiceStoppedWriteback stopped; cloud requests fail.Service restart or endpoint failure.Event 6800; restart ADSync.
31034 ServiceBusListenerErrorCan't connect to the Service Bus listener.Firewall or proxy; The remote certificate is invalid means root CAs are missing.Namespace in the event; Azure TLS certificate changes.
31044Writeback isn't healthy: no service host for the two Service Bus relays is running.Blocked endpoints, time skew.Connectivity, then restart ADSync.
32000 UnknownErrorUnknown error in a password operation.Varies.Exception text; disable and re-enable writeback.
32001 ServiceErrorCan't reach the cloud password reset service.Outbound HTTPS blocked.*.passwordreset.microsoftonline.com reachable.
32002 ServiceBusErrorCan't reach the tenant's Service Bus.Outbound TCP 443 blocked.*.servicebus.windows.net allowed.
32003 InPutValidationErrorInvalid input to the web service API.Transient.Retry the operation.
32004 DecryptionErrorPassword from the cloud can't be decrypted.Key mismatch.Disable and re-enable writeback.
32005 / 32007 ConfigurationError / OnBoardingConfigUpdateErrorTenant configuration can't be saved, read or updated.Onboarding or start-up problem.Disable and re-enable writeback to rewrite it.
32008 ValidationErrorInvalid response from the web service.Service or network interference.Disable and re-enable writeback.
32009 AuthTokenErrorNo token for the setup Hybrid Administrator.Wrong password or federated account.Rerun setup with a managed admin.
32010 CryptoErrorKey creation or decryption failed.Server environment.Event details; disable and re-enable.
32011 / 32013 OnBoardingServiceError / OffBoardingErrorOnboarding or offboarding can't reach the service.Firewall (TCP 443, 9350–9354) or token problem.Ports open; non-federated admin.
32014 ServiceBusWarningService Bus connection retried.High latency or low bandwidth if frequent.How often it repeats.
32015 ReportServiceHealthErrorFive-minute health heartbeat failed.Connectivity.Same checks as 32001.

Active Directory results (33xxx)#

CodeMeaningUsual causeFirst check
33001 ADUnKnownErrorAD returned an unknown error.Reserved characters in the OU path: leading space or #, trailing space, , + " \ < > ; = /, line feed or carriage return.ADSync events at the same time; OU names.
33002 ADUserNotFoundErrorUser not found on-premises.Deleted on-premises only, or a sync problem.Recent sync run details.
33003 ADMutliMatchErrorTwo users share the cloud anchor.Duplicate anchor values.Sync logs for the duplicates.
33004 ADPermissionsErrorConnector account can't set this password.Missing Reset password right, inheritance off, or adminCount = 1.Effective Access for the connector account.
33005 / 33006 ADUserAccountDisabled / ADUserAccountLockedOutAccount disabled or locked out on-premises.Account state.Enable or unlock; trace lockouts with the logon failure reference.
33007 ADUserIncorrectPasswordWrong current password in a change.Typo or stale password.Retry with the right password.
33008 ADPasswordPolicyErrorNew password fails domain policy.Age, history, complexity or filter.Minimum password age 0 while testing.
33009 ADConfigurationErrorAD configuration issue blocked the write.Varies.ADSync events for the detail.

ADSync and sync engine messages#

MessageMeaningUsual causeFirst check
6329 0x80230619 A restriction prevents the password from being changed to the current one specified.AD refused the password.Domain policy, or the PASSWD_CANT_CHANGE flag.Policy and the user's flags.
6329 The server doesn't contain the LDAP password policy control.DCs lack the policy hints control (1.2.840.113556.1.4.2066).Old domain controllers.DCs on Windows Server 2016 or later.
6329 0x8023061fPassword sync isn't enabled on this management agent.Forest added after writeback was enabled.Disable and re-enable writeback.
6800Writeback endpoint didn't start with ADSync.Onboarding or endpoint error.PasswordResetService events beside it.
hr=800700CE The filename or extension is too longUnlock or reset fails.Connector account password over 256 characters.Shorter password; update the connector credentials.
hr=80230402Duplicated entries with the same anchor.Same user enabled in several forests.A unique anchor per user.
Object could not be foundNo connector space or metaverse object.User isn't synced by this server.AD object joined to the metaverse by Microsoft.InfromADUserAccountEnabled.xxx.
Multiple matches foundEnabled accounts in more than one forest.Unsupported for writeback.Keep one enabled account.

Healthy events (what good looks like)#

  • 31001 → 31002: a user reset arrived and was written to AD. 31006 → 31007: the same for a password change. 31009 → 31010: an admin reset on behalf of a user.
  • 31004 → 31005: onboarding when you enable writeback, with 31017 (admin token) and 31018 (encryption key) along the way. 31012 → 31013: offboarding.
  • 31015: the service started and accepts requests. 31019: a Service Bus heartbeat succeeded; it names the namespace you can test.

Setup and Cloud Sync errors#

ErrorMeaningUsual causeFirst check
Unable to configure password writeback. Ensure you have the required license.Entra Connect wizard couldn't onboard writeback.Unlicensed or federated admin, server clock skew, TLS 1.2 off.Licensed cloud admin, correct time, TLS 1.2 (Microsoft's article).
On-premises integration tab missingWriteback options hidden.No sync agent configured.Set up Entra Connect or a Cloud Sync agent first.
Cloud Sync: writes fail for everyoneThe agent's gMSA lacks writeback rights.Reset password, lockoutTime, pwdLastSet or Unexpire Password missing.Set-AADCloudSyncPermissions (below).
Cloud Sync: writes fail for some usersRights don't reach those objects.Inheritance disabled.Re-enable inheritance.
Cloud Sync writeback unavailableFeature not offered.Agent older than 1.1.977.0, or Azure operated by 21Vianet.Upgrade the agent, or use Connect Sync.
Admin reset never lands on-premisesOperation not written back.Reset from the Microsoft 365 admin center or PowerShell (unsupported in the Cloud Sync docs).Reset from the Entra admin center or Microsoft Graph.
PowerShell
Import-Module 'C:\Program Files\Microsoft Azure AD Connect Provisioning Agent\Microsoft.CloudSync.Powershell.dll'
Set-AADCloudSyncPermissions -PermissionType PasswordWriteBack -EACredential (Get-Credential)
Set-AADCloudSyncPasswordWritebackConfiguration -Enable $true -Credential (Get-Credential)

New permissions can take an hour or more to replicate to every object. The trade-offs between both tools are in Cloud Sync vs Connect Sync.

How to verify a fix#

  1. Connectivity first. Take the namespace from the latest 31019 or 31034 event and test it. Good: TcpTestSucceeded : True.
    PowerShell
    Test-NetConnection -ComputerName <namespace>.servicebus.windows.net -Port 443
  2. Reproduce one operation with a test user in scope, then read the log. Good: 31001 then 31002 (or 31006 then 31007), and no 32xxx, 33xxx or 6329 entries.
    PowerShell
    Get-WinEvent -FilterHashtable @{ LogName = 'Application'; ProviderName = 'PasswordResetService'; StartTime = (Get-Date).AddMinutes(-30) } |
        Select-Object TimeCreated, Id, LevelDisplayName, Message | Format-Table -Wrap
  3. Confirm AD took it: Get-ADUser testuser -Properties PasswordLastSet | Select-Object Name, PasswordLastSet shows the time of the reset.
  4. Sign in on-premises and in the cloud with the new password, and restore any password policy you relaxed for testing.

Password change failures shown at sign-in carry AADSTS codes instead; see AADSTS error codes 120000 and above.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)