Skip to content
Contact

AADSTS50055: Password expired

Short answer: AADSTS50055 means the user's password has expired, so Microsoft Entra ID ended the sign-in and offers a reset. For a real user it is routine. During a password spray it matters more: the wording implies the password entered was correct, just expired, so the attacker likely holds a valid credential.

Fix: User: change your password when prompted, or ask your admin to reset it. Tell your admin if you weren't signing in at that time. Admin: for routine expiry, let the user reset. From a spray IP or unfamiliar location, reset the password yourself, revoke sessions and make sure MFA is registered. Full steps

At a glance
CodeAADSTS50055
Microsoft nameInvalidPasswordExpiredPassword
CategoryCredentials and lockout
TypeFailure
Attack signalMedium: worth a look in context
MITRE ATT&CKT1110.003 Brute Force: Password Spraying, T1078.004 Valid Accounts: Cloud Accounts
Where to lookSigninLogs
Microsoft lookuplogin.microsoftonline.com/error?code=50055

Microsoft’s description:

InvalidPasswordExpiredPassword: The password is expired. The user’s password is expired, and therefore their login or session was ended. They will be offered the opportunity to reset it, or can ask an admin to reset it via Reset a user’s password using Microsoft Entra ID.

The user is sent to change the password before they can continue.

On 25 October 2026 an automated lab run sent a token request with the correct password for a test user who had to change the password at next sign-in. The run accepted 50055, 50144 or 50173 for this case; Entra returned AADSTS50055 with this first line:

AADSTS50055: The password is expired.

That confirms the code and its wording at the token endpoint.

The same attempt in the lab tenant’s sign-in log (Entra admin center, interactive user sign-ins), with identifiers left out:

Field Value in the lab row
Status Interrupted
Sign-in error code 50055
Additional details The user’s password is expired, and therefore their login or session was ended. They will be offered the opportunity to reset it, or may ask an admin to reset it.
Authentication requirement Single-factor authentication
Conditional Access Not Applied
User type Member

The test user had must change password at next sign-in set, not an expired password, yet the log row says the password is expired. In the logs the two look the same, so check the user’s password policy and lastPasswordChangeDateTime before assuming a real expiry. The KQL below was run on the lab rows (how). The first query found both lab rows. The spray follow-up returned nothing as written, as expected on a lab sample this small; with the spray threshold lowered to 1 it found both rows.

Microsoft’s password spray playbook lists “50055 - Password expired” among the sign-in events to review in a spray investigation. The playbook doesn’t say why. The likely reason is an inference from the description: Entra tells the user the password is expired, not wrong. In practice that means the password entered was the right one. Compare 50126, where it was wrong.

That changes how you read it:

Pattern Likely meaning
A user on their normal device and IP, followed by a password change and success Routine expiry. Benign.
A 50055 from an IP that also produced many 50126 across different users The spray found a correct password for this account. Treat it as a compromised credential.
A 50055 from an unfamiliar country or hosting provider for a user who wasn’t travelling Someone else has this user’s (old) password.
50055 followed by a success from the same unfamiliar IP The worst case. The attacker may have changed the password and signed in. Check the audit log for the password change.

Expect ConditionalAccessStatus = notApplied on 50055 rows. Conditional Access only runs after the first factor succeeds, and the sign-in stopped at the password stage.

All 50055 rows, with the source, so you can spot ones that don’t fit the user:

SigninLogs
| where TimeGenerated > ago(7d)
| where ResultType == "50055"
| project TimeGenerated, UserPrincipalName, IPAddress, LocationDetails, AppDisplayName,
ClientAppUsed, UserAgent
| sort by TimeGenerated desc

50055 from an IP that was also spraying. These are the rows that matter:

let sprayIPs =
SigninLogs
| where TimeGenerated > ago(1d)
| where ResultType == "50126"
| summarize FailedUsers = dcount(UserPrincipalName) by IPAddress
| where FailedUsers >= 10
| project IPAddress;
SigninLogs
| where TimeGenerated > ago(1d)
| where ResultType == "50055"
| where IPAddress in (sprayIPs)
| project TimeGenerated, UserPrincipalName, IPAddress, ResultDescription, AppDisplayName, ClientAppUsed
| sort by TimeGenerated asc

ResultType is a string column, so compare it with "50055".

How do Conditional Access and MFA affect it?

Section titled “How do Conditional Access and MFA affect it?”
  • Conditional Access never ran on the 50055 row itself. It can still matter on the next step: if the attacker completes a password change and signs in, CA and MFA apply to that new sign-in.
  • That makes MFA the barrier that matters here. In practice, an attacker holding this password still has to pass whatever CA and MFA require on the follow-up sign-in.
  • AuthenticationRequirement on the 50055 row says nothing about your MFA setup. MFA was never reached.

For the user: change your password when prompted, or ask your admin to reset it. If you weren’t trying to sign in at that time, tell your admin.

For admins:

  1. Routine expiry: let the user reset through the prompt or self-service password reset.
  2. 50055 from a spray IP or an unfamiliar location: treat the old password as known to an attacker. Reset it yourself, revoke sessions (Revoke-MgUserSignInSession), and check whether that IP later got a success or an MFA prompt for the user.
  3. Make sure the user has MFA registered, so a correct password alone isn’t enough.

More: 50054, 50125, 50133

Guides that cover this code

Sources

  1. Microsoft Entra authentication and authorization error codes
  2. Password spray investigation (Microsoft incident response playbook)
  3. Revoke user access in Microsoft Entra ID
  4. SigninLogs table reference (Azure Monitor)
Theme