Common Sign-In Error Codes and What They Mean
When a user can’t sign in, the Entra sign-in logs usually contain an AADSTS error code that points you in the right direction. Here are the ones that show up most often.
Looking for a specific code? Search it in the Sign-in Error Decoder.
Most frequent codes
- 50058 — User is authenticated but not yet signed in. Usually the user closed the window or didn’t complete the flow. Have them try again.
- 500121 — User didn’t complete the MFA prompt. Check whether MFA is set up for the account and whether the prompt is reaching them.
- 53003 — Blocked by Conditional Access. Open the sign-in log entry and look at which policy and which grant control failed.
- 53000 — A Conditional Access policy requires a compliant device and this device isn’t compliant (or isn’t enrolled).
- 53001 — A Conditional Access policy requires a Microsoft Entra hybrid joined device and this device isn’t one.
- 50126 — Invalid username or password.
- 50057 — Account is disabled.
- 50076 — MFA is required (Conditional Access, per-user MFA, or a new location). Usually an interrupt before the MFA prompt rather than a real failure.
- 50079 — The user must register security info for MFA before continuing. Point them to aka.ms/mysecurityinfo or issue a Temporary Access Pass.
How to investigate
- Entra admin center → Entra ID → Monitoring & health → Sign-in logs.
- Filter by the user and the time of the failure.
- Open the entry and look at Failure reason, Additional details, and the Conditional Access tab.
- Look the code up in our Sign-in Error Decoder (28 common codes with fixes), or Microsoft’s lookup at login.microsoftonline.com/error.
Sign-in logs are retained for 7 days on Free / 30 days with P1/P2. Export or alert on the important ones if you need longer history.
← All Guides
Is this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.