Entra ID Sign-In Error Codes Cheat Sheet: 50126, 50074, 50076, 53003 & More
In Microsoft Entra ID Sign-In logs, errorCode 0 means authentication succeeded, 50126 means invalid username or password, 50074 and 50076 mean the password was VALID and Entra prompted for MFA (confirming password compromise if from an attacker IP!), 50053 means Smart Lockout, and 53003 means Conditional Access blocked the login.
Architecture & Telemetry Context
Every Microsoft Entra ID Sign-In log carries a numeric `status.errorCode` inside raw JSON (shown as ResultType in Sentinel). One of the deadliest misinterpretations in SOC triage is dismissing errors 50074, 50076, and 53003 as harmless "blocked logins" without resetting the targeted user’s password.
Why? Because Entra ID evaluates username + password FIRST. When an external attacker IP hits 50074, 50076, or 53003, it proves the adversary already possesses the employee’s correct password and only got stopped at the MFA or Conditional Access gate.
Understanding the exact sequence of Entra error codes lets an analyst reconstruct an attack frame by frame: a spray begins with waves of `50126` (bad password), flips to `50074` or `50076` on the exact account whose password was guessed or phished, triggers `50053` if Smart Lockout kicks in, or terminates at `53003` when a Conditional Access location or device policy blocks the session.
AuditVane automatically translates all major Entra `status.errorCode` values inline inside the Status column and highlights `50126`, `50074`, `50076`, and `53003` anomalies under rule `AV-006`.
Complete Entra ID Sign-In Error Code DFIR Reference Table
| Error Code | Official Meaning | Password Status & Required SOC Action |
|---|---|---|
| 0 | Success — Token issued | Password + MFA passed. Verify IP, UserAgent, and session activity immediately. |
| 50126 | Invalid username or password | Password failed. High volume across multiple users indicates password spraying. |
| 50074 | Strong Authentication (MFA) required | PASSWORD VALID! Reset password immediately if originating from unfamiliar IP. |
| 50076 | MFA required due to location/risk policy | PASSWORD VALID! Conditional Access demanded MFA step-up due to risk/location. |
| 50079 | User must register security info | PASSWORD VALID! Urgent risk of attacker completing onboarding & claiming MFA! |
| 50053 | Sign-in blocked by Smart Lockout | Brute force / repeated bad guesses locked account temporarily. |
| 53003 / 530032 | Blocked by Conditional Access | Password or valid cookie hit a CA block (geo/device). Reset password & audit session! |
| 70043 / 700082 | Token failed CA sign-in frequency / expired | Often indicates an attacker replaying an expired or revoked stolen token. |
Forensic Telemetry Fields & High-Signal Indicators
| Telemetry Field / Pattern | Meaning in M365 / Entra | High-Signal Threat Indicator |
|---|---|---|
status.errorCode | Numeric Entra authentication result code | 50074/50076/53003 from foreign IP = valid password! |
status.failureReason | Human-readable Entra error summary | Explains exact step where auth halted |
status.additionalDetails | Extra diagnostic context (e.g., MFA timeout) | Reveals MFA denial vs. abandoned prompt |
conditionalAccessStatus | Overall CA verdict (success/failure/notApplied) | Correlates directly with 53003 blocks |
authenticationDetails[] | Step-by-step auth methods tried | Shows exact moment Password succeeded before MFA failed |
ipAddress / riskLevel | Network origin and Identity Protection score | Separates legitimate employee typos from external attacks |
Entra 50074 MFA Challenge Event Proving Valid Password Compromise
{
"id": "signin-9002",
"createdDateTime": "2026-12-02T14:09:44Z",
"userPrincipalName": "hr.lead@contoso-demo.invalid",
"ipAddress": "194.26.135.210",
"userAgent": "python-requests/2.32.3",
"conditionalAccessStatus": "failure",
"riskLevelDuringSignIn": "high",
"status": {
"errorCode": 50074,
"failureReason": "Strong Authentication is required."
}
}
This single JSON event tells an entire story: python-requests/2.32.3 from Frankfurt supplied the correct password for hr.lead@contoso-demo.invalid, causing Entra to fail only at 50074 (MFA prompt)—followed two minutes later by errorCode 0 once the victim completed MFA on the phishing kit.
KQL & PowerShell Hunt for Password-Compromised Accounts Stopped at MFA/CA
// Sentinel KQL: catch valid-password hits stopped at MFA or CA:
SigninLogs
| where ResultType in ("50074", "50076", "50079", "53003")
| summarize Hits=count(), DistinctIPs=dcount(IPAddress), IPs=make_set(IPAddress) by UserPrincipalName, ResultType
| order by Hits desc
# PowerShell Graph check for 50074/53003:
Get-MgAuditLogSignIn -Filter "status/errorCode eq 50074 or status/errorCode eq 53003" -Top 200 |
Select-Object CreatedDateTime, UserPrincipalName, IpAddress, @{N="Err";E={$_.Status.ErrorCode}}
Sample KQL Password-Compromise Triage Table
UserPrincipalName ResultType Hits DistinctIPs IPs
----------------- ---------- ---- ----------- ---
controller@contoso.invalid 50074 4 2 ["194.26.135.210","45.155.205.19"]
ap.clerk@contoso.invalid 53003 7 1 ["185.220.101.45"]
Real-World Incident Walkthrough
During a Monday morning password-spray review, a SIEM dashboard lists 1,200 failed logins from a residential proxy subnet. Nearly 1,195 rows show `50126` (Invalid password)—yet three rows on `controller@company.com` show `50074` (MFA required) and one row shows `53003` (Blocked by Conditional Access).
Filtering Entra JSON in AuditVane isolates those `50074`/`53003` hits immediately under `AV-006`. Even though MFA and CA blocked token issuance (`errorCode != 0`), the responder resets the controller’s password immediately before the attacker tries credential-stuffing other SaaS apps or spamming MFA push fatigue.
Step-by-Step Triage, Containment & Verification
- Drop Entra Sign-In JSON exports into AuditVane and review AV-006 findings across all non-zero error codes.
- Separate `50126` (bad password noise) from `50074`, `50076`, `50079`, and `53003` (valid password or valid token hit MFA/CA!).
- Inspect `50079` hits immediately—an account without MFA enrolled yet lets an attacker hijack MFA onboarding completely.
- Reset passwords immediately for any employee whose account triggered `50074`/`50076`/`53003` from untrusted external IPs—even if `errorCode 0` never happened.
- Check whether `errorCode 0` followed within 1–5 minutes from the same IP or ASN (indicating MFA fatigue or AiTM bypass).
How to Verify Containment Completed Cleanly
- All accounts generating 50074, 50076, 50079, or 53003 from foreign IPs received mandatory password resets.
- Unenrolled accounts hitting 50079 protected by Temporary Access Pass / Conditional Access registration locks.
- Confirmed zero subsequent errorCode 0 logins from flagged spray IPs.
Analyst Blind Spots, Licensing Quirks & False Positives
Employees switching browsers, clearing cookies, or signing into a new app legitimately emit `50074` every day before tapping Approve on Microsoft Authenticator. Never auto-lock users on a single `50074` without evaluating IP/ASN, UserAgent, and whether `errorCode 0` came from the employee’s usual city.
Beware `50079`: if a new hire account was provisioned without pre-enrolling MFA or restricting security-info registration, an attacker holding their temporary password can register their own phone at the `50079` prompt!
Frequently Asked Questions
Does Error 50074 mean the attacker bypassed MFA?
No—50074 means Entra paused authentication and demanded MFA. However, reaching 50074 proves the supplied password was correct, so you must reset it if the IP is malicious.
What is the difference between 50074 and 50076?
50074 means MFA was required generally for that session, while 50076 specifically means a Conditional Access policy (e.g., location/risk change) demanded MFA.
Why is 50079 especially dangerous?
50079 means the account has NO MFA registered yet and is prompting the current visitor to register one—if that visitor is an attacker, they can claim MFA ownership.
Does AuditVane decode error codes automatically?
Yes! AuditVane translates Entra error codes inline inside the Status column and highlights 50126, 50074, 50076, and 53003 under rule AV-006.