AADSTS50055: the user's password is expired
AADSTS50055
Microsoft Entra ID ended the sign-in because the user's password has expired. The user must set a new password before a token is issued.
From Microsoft's documentation, checked 30 Nov 2026.
AADSTS50055: 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.Also searched as: InvalidPasswordExpiredPassword · The password is expired · Error code 50055 · AADSTS50055 password expired · Entra sign-in blocked password expired
What it means
Microsoft Entra ID can give passwords an expiry date. When the date has passed, the user can no longer sign in with the old password. The sign-in ends with AADSTS50055, and the user is offered the chance to reset the password. They can also ask an administrator to reset it. Whether passwords expire depends on the tenant's expiration setting and on the user's own password policy.
Common causes
- The tenant's maximum password age has passed since the user last changed their password. Tenants created before 2021 have a 90 day expiry by default. Newer tenants default to no expiration.
- The user's password policy does not include DisablePasswordExpiration, so the password has an expiration date.
- An administrator changed a user's policy back to None. Passwords still age from LastPasswordChangeDateTime, so every password older than the limit then needs changing at the next sign-in.
From Microsoft's documentation
How to fix it
Check when the user last changed their password
With Microsoft Graph PowerShell, read lastPasswordChangeDateTime. Graph returns it only when you ask for it. It is the time the user last changed the password, or the time it was created, whichever is later. Compare it with the tenant's maximum password age.
Get-MgUser -UserId <user-principal-name> -Property UserPrincipalName, LastPasswordChangeDateTime | Select-Object UserPrincipalName, LastPasswordChangeDateTime
Check the tenant's and the user's expiration settings
The password policy page says to check the tenant's current expiry policy with Get-MgDomain. Its PasswordValidityPeriodInDays property holds the domain's setting. Then read the user's PasswordPolicies. If it contains DisablePasswordExpiration, that user's password never expires. Otherwise it follows the tenant setting. Connect as at least a User Administrator.
Get-MgUser -UserId <user-principal-name> -Property UserPrincipalName, PasswordPolicies | Select-Object @{N="PasswordNeverExpires";E={$_.PasswordPolicies -contains "DisablePasswordExpiration"}}Reset the password
The user can reset it themselves when they are offered the chance at sign-in. An administrator can also do it in the Microsoft Entra admin center: sign in as at least a Password Administrator, go to Entra ID > Users, select the user, then select Reset password. Entra ID generates a temporary password. Give it to the user, who must change it at the next sign-in. You can't reset the password of a user whose home directory is another tenant, or of a synced user unless password writeback is on. For a federated domain, change the password in on-premises Active Directory.
Following along? Tap a step’s number to tick it off.
How to confirm it's fixed
- The user signs in with the new password and doesn't see AADSTS50055.
- Get-MgUser with -Property LastPasswordChangeDateTime shows a recent date for the user.
Related notes
Microsoft documents this code with one table row and no dedicated troubleshooting page. The causes and steps here come from the password policy and reset pages. Setting PasswordPolicies back to None makes all passwords older than the limit expire at once, so check the effect on other users first.
Related engineering templates
Continue the investigation
Found this useful? Follow KBY for more like it.
Recommended reading
More from KBY that goes with this error.
Follow Microsoft Entra ID failures and fixes
A short email about twice a week for IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up.