Library

Guides Quick Fixes Scripts Find a Guide

Tools

Error Decoder Assessment Baselines Free Tools Service status What's Changed

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment
24 of 24 codes
AADSTS50055InvalidPasswordExpiredPasswordFull write-upPassword expired

What it means: The user's password has expired.

Likely cause: The user's password reached the expiration set by the organization's password policy.

Fix: Have the user reset it (self-service password reset if enabled) or reset it as an admin. Consider whether a password expiration policy is still needed.

AADSTS50056Invalid or null passwordNo password exists in the directory for this user, so the one entered can’t be checked.

What it means: No password exists in the directory for this user, so the one entered can’t be checked.

Likely cause: An account with no password set, or a sign-in flow that sent an empty password.

Fix: Have the user enter the password again. If the account never had a password, set one or use the sign-in method the account is meant to use.

AADSTS50064CredentialAuthenticationErrorThe username or password could not be validated.

What it means: The username or password could not be validated.

Likely cause: Wrong credentials, or a problem validating them (for example with a federated or pass-through setup).

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS50125PasswordResetRegistrationRequiredInterruptFull write-upPassword reset or registration interrupted sign-in

What it means: Sign-in was interrupted because of a password reset or password registration entry. Microsoft says the next interactive sign-in should ask the user for this information, and the app should trigger that sign-in.

Likely cause: Sign-in was interrupted because of a password reset or password registration entry.

Fix: Have the user start an interactive sign-in and complete the password reset or registration prompt. If they cannot, reset the password as an admin or point them to self-service password reset if it is enabled.

AADSTS50126InvalidUserNameOrPasswordFull write-upInvalid username or password

What it means: Invalid username or password. Some of these are normal typos.

Likely cause: The user typed the wrong username or password. Microsoft notes that some number of these errors in the logs is expected.

Fix: A few failures are expected. A burst across many accounts or from unfamiliar IPs suggests password spray: block legacy authentication and require MFA.

AADSTS50132SsoArtifactInvalidOrExpiredThe existing session is no longer valid.

What it means: The existing session is no longer valid.

Likely cause: The password expired or was changed recently, which ends existing sessions.

Fix: Have the user sign in again with the current password.

AADSTS50133SsoArtifactRevokedFull write-upSession invalid after a password change

What it means: The session is no longer valid because the password expired or was recently changed.

Likely cause: The user recently changed or reset their password, which invalidates the existing session.

Fix: Have the user sign in again with the new password. Expected after a password reset.

AADSTS50135PasswordChangeCompromisedPasswordThe user must change their password because the account is considered at risk.

What it means: The user must change their password because the account is considered at risk.

Likely cause: Microsoft Entra ID Protection flagged the account (for example a leaked or risky credential) and policy requires a password change.

Fix: Have the user complete the secure password change. Then review the risk details in ID Protection before dismissing anything.

AADSTS50137Password change required (security policy)A security policy rule requires the user to change their password.

What it means: A security policy rule requires the user to change their password.

Likely cause: A tenant policy is forcing a password change for this user.

Fix: Have the user change their password when prompted, then sign in again.

AADSTS50142Password change required (Conditional Access)A Conditional Access policy requires a password change before access is granted.

What it means: A Conditional Access policy requires a password change before access is granted.

Likely cause: A risk-based Conditional Access policy with the “require password change” grant applied to this sign-in.

Fix: Have the user complete the password change. Check the Conditional Access tab of the sign-in log to see which policy applied.

AADSTS50144InvalidPasswordExpiredOnPremPasswordThe user’s on-premises Active Directory password has expired.

What it means: The user’s on-premises Active Directory password has expired.

Likely cause: A synced account whose AD password reached its maximum age.

Fix: Reset the password in Active Directory, or let the user reset it with self-service password reset if password writeback is set up.

AADSTS50173The provided grant has expired due to it being revokedFull write-upGrant expired or revoked

What it means: The provided grant has expired because it was revoked, so a fresh token is needed. The user might have changed or reset their password. The grant was issued on a time that is earlier than the user's TokensValidFrom date.

Likely cause: The refresh token used for authentication was revoked.

Fix: Have the user sign out and sign in again, or use the app's option to reauthenticate and clear a cached token. If an admin revoked sessions, that is expected until the user signs in again.

AADSTS120000PasswordChangeIncorrectCurrentPasswordA password change failed because the current password entered was wrong.

What it means: A password change failed because the current password entered was wrong.

Likely cause: The user mistyped or no longer knows their current password.

Fix: Have the user retry with the correct current password, or use self-service password reset instead.

AADSTS120002PasswordChangeInvalidNewPasswordWeakA password change failed because the new password is too weak.

What it means: A password change failed because the new password is too weak.

Likely cause: The new password doesn’t meet the password rules.

Fix: Have the user choose a longer, stronger password that meets your policy.

AADSTS120003PasswordChangeInvalidNewPasswordContainsMemberNameA password change failed because the new password contains the user’s name.

What it means: A password change failed because the new password contains the user’s name.

Likely cause: The new password includes part of the username or display name.

Fix: Have the user pick a password that doesn’t contain their name.

AADSTS120004PasswordChangeOnPremComplexityA password change failed the on-premises Active Directory complexity rules.

What it means: A password change failed the on-premises Active Directory complexity rules.

Likely cause: Password writeback sent the new password to AD, and the AD password policy rejected it.

Fix: Have the user choose a password that meets the on-premises AD password policy (length, complexity, history).

AADSTS120005PasswordChangeOnPremSuccessCloudFailThe password changed on-premises, but the cloud side of the change failed.

What it means: The password changed on-premises, but the cloud side of the change failed.

Likely cause: A partial failure during a password change with password writeback.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS120012PasswordChangeNeedsToHappenOnPremThis user’s password has to be changed on-premises.

What it means: This user’s password has to be changed on-premises.

Likely cause: A synced user whose password can’t be changed in the cloud, usually because password writeback isn’t enabled for them.

Fix: Change the password in on-premises AD, or enable password writeback so users can change it from the cloud.

AADSTS120013PasswordChangeOnPremisesConnectivityFailureA password change couldn’t reach the on-premises directory.

What it means: A password change couldn’t reach the on-premises directory.

Likely cause: Password writeback couldn’t connect to on-premises AD (sync server or agent unreachable).

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS120014PasswordChangeOnPremUserAccountLockedOutOrDisabledA password change failed because the on-premises account is locked out or disabled.

What it means: A password change failed because the on-premises account is locked out or disabled.

Likely cause: The user’s AD account is locked or disabled.

Fix: Unlock or enable the account in Active Directory, then retry the change.

AADSTS120015PasswordChangeADAdminActionRequiredA password change needs an administrator to act in Active Directory.

What it means: A password change needs an administrator to act in Active Directory.

Likely cause: Something on the AD account blocks the change and needs admin attention.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS120016PasswordChangeUserNotFoundBySsprSelf-service password reset couldn’t find the user.

What it means: Self-service password reset couldn’t find the user.

Likely cause: The account entered isn’t found by SSPR (wrong username, or the user isn’t in scope).

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS120018PasswordChangePasswordDoesnotComplyFuzzyPolicyA password change failed because the new password is too close to a banned password.

What it means: A password change failed because the new password is too close to a banned password.

Likely cause: Microsoft Entra Password Protection matched the new password against banned password lists.

Fix: Have the user choose a less predictable password (avoid common words, the company name, and simple variations).

AADSTS120020PasswordChangeFailureA password change failed for a general reason.

What it means: A password change failed for a general reason.

Likely cause: Not specific; check the details in the audit and sign-in logs.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

Also related to this category