# AADSTS50076: MFA required to access the resource

Canonical: https://brambrinkmeier.com/entra/aadsts/50076/
By Bram Brinkmeier. JSON: https://brambrinkmeier.com/api/aadsts/50076.json

**Short answer:** AADSTS50076 means the password was accepted but the sign-in now needs multifactor authentication, usually because of a Conditional Access policy, per-user MFA, or a new location. It is an expected interrupt. The signal is who reached it: a 50076 from an IP that was just failing passwords means an attacker has a working password.

**Fix:** User: complete the MFA prompt. If the app keeps failing silently, sign out and sign in again. Admin: if the 50076 came from a spray IP, reset the password and revoke sessions. Developer: a background token refresh can't satisfy MFA, so request the token interactively.

| Field | Value |
|---|---|
| Code | AADSTS50076 |
| Microsoft name | UserStrongAuthClientAuthNRequired |
| Category | Multifactor authentication |
| Type | Interrupt (an expected extra step, not a failure) |
| Attack signal | Medium: worth a look in context |
| MITRE ATT&CK | [T1078.004](https://attack.mitre.org/techniques/T1078/004/) Valid Accounts: Cloud Accounts, [T1110.003](https://attack.mitre.org/techniques/T1110/003/) Brute Force: Password Spraying |
| Where to look | `SigninLogs`, `AADNonInteractiveUserSignInLogs` |
| In Microsoft's error reference | Yes |
| Verification | documentation |
| Last updated | 2026-10-11 |

## What does AADSTS50076 mean?

Microsoft's description:

> **UserStrongAuthClientAuthNRequired**: Due to a configuration change made by the admin such as a Conditional Access policy, per-user enforcement, or because you moved to a new location, the user must use multifactor authentication to access the resource. Retry with a new authorize request for the resource.

The first factor passed. Entra ID stopped the sign-in to ask for a second factor. In an interactive browser sign-in the user normally sees the MFA prompt and a follow-up request completes. That is why most 50076 rows are not failures in any practical sense.

## Is it an attack?

See the [comparison of the codes behind "asked to sign in again"](https://brambrinkmeier.com/guides/why-user-asked-to-sign-in-again-entra-id/) (70043, 700082, 50173, 50133, 50076).

Usually not. Every MFA prompt in your tenant can produce one. **The value of 50076 is that it shows the first factor (usually the password) succeeded.**

| Pattern | Likely meaning |
|---|---|
| 50076, then `0` (success) from the same IP and device within minutes | The user completed MFA. Benign. |
| 50076 from an IP that produced many **50126** failures | **The spray found a working password.** MFA is now the only barrier. |
| 50076 followed by repeated **50074** or **500121** for the same user | Someone with the password is pushing MFA prompts the user is not approving. See [50074](https://brambrinkmeier.com/entra/aadsts/50074/). |
| 50076 in `AADNonInteractiveUserSignInLogs` from an IP the user never signed in from | A refresh token being used where a new MFA requirement applies. Could be a user on a new network, could be a replayed token. This reading is reasoning from the mechanism, not a Microsoft statement. |

Microsoft's password spray playbook tells responders to *"record successful passwords but failed MFA responses, as this activity indicates that the attacker is getting the password but not passing MFA."* A 50076 from an attacker IP is that record.

On these rows `AuthenticationRequirement` is `multiFactorAuthentication`. Microsoft documents that a sign-in where primary authentication succeeds and MFA is required carries that value.

## How do I find it in my logs (KQL)?

Users who hit the MFA step from an IP that was failing passwords for them earlier the same day:

```kusto
let failedPw =
    SigninLogs
    | where TimeGenerated > ago(1d)
    | where ResultType == "50126"
    | summarize Failures = count(), FirstFail = min(TimeGenerated)
              by UserPrincipalName, IPAddress;
SigninLogs
| where TimeGenerated > ago(1d)
| where ResultType == "50076"
| join kind=inner failedPw on UserPrincipalName, IPAddress
| where TimeGenerated > FirstFail
| project TimeGenerated, UserPrincipalName, IPAddress, Failures,
          AppDisplayName, ClientAppUsed, AuthenticationRequirement, UserAgent
| sort by TimeGenerated asc
```

Non-interactive 50076 from IPs the user has had no successful sign-in from, in either table, in the last 14 days. Mobile devices change IPs often, so expect benign rows and check the country and user agent before escalating:

```kusto
let knownIPs =
    union
        (SigninLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType),
        (AADNonInteractiveUserSignInLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType)
    | where TimeGenerated > ago(14d)
    | where ResultType == "0"
    | distinct UserPrincipalName, IPAddress;
AADNonInteractiveUserSignInLogs
| where TimeGenerated > ago(1d)
| where ResultType == "50076"
| join kind=leftanti knownIPs on UserPrincipalName, IPAddress
| summarize Events = count(), Apps = make_set(AppDisplayName, 5),
            FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
          by UserPrincipalName, IPAddress
| sort by Events desc
```

`ResultType` is a **string** column, so compare it with `"50076"`. Non-interactive rows are aggregated by Microsoft when application, user, IP, status and resource match, so `Events` counts log rows, not individual token requests.

## How do Conditional Access and MFA affect it?

- 50076 is what a Conditional Access MFA grant, per-user MFA or a location change looks like at the moment it fires. The control is working.
- Microsoft's interactive sign-ins documentation says an interrupted sign-in *"appears on the logs but shows **Not applied** for Conditional Access."* Don't read `notApplied` on a 50076 row as proof that no policy targets the user. Look at the follow-up sign-in.
- If MFA is satisfied by push approval, the password alone gets an attacker to the point where they can generate prompts. Number matching (enforced for Microsoft Authenticator since 2023) and phishing-resistant methods reduce what they can do from there. See the [MFA fatigue guide](https://brambrinkmeier.com/guides/detect-mfa-fatigue-entra-id/).

## How do I fix AADSTS50076?

**For the user:** complete the MFA prompt. If the app keeps failing silently, sign out and sign in again so it makes a new interactive request, which is what Microsoft's text asks for ("Retry with a new authorize request").

**For admins:**
1. If the 50076 came from an IP you associate with a spray, treat the password as compromised. Reset it and revoke sessions (`Revoke-MgUserSignInSession`, or **Revoke sessions** on the user in the admin center).
2. Check whether the same IP later produced a `0` for that user. If it did, this is a compromised account, not an attempt.
3. For developers: a daemon or background token refresh can't satisfy MFA. Request the token interactively.

## Evidence

Not reproduced in the lab yet; the page is based on Microsoft's documentation.

Lab-run rows naming this code (12; full list at https://brambrinkmeier.com/lab-runs.json):

| Date | Scenario | Expected | Got | Message (first line) |
|---|---|---|---|---|
| 2026-10-25 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | 65001 | AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a |
| 2026-10-30 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | 65001 | AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a |
| 2026-10-30 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | success |  |
| 2026-10-30 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | success |  |
| 2026-10-30 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | success |  |
| 2026-10-30 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | success |  |
| 2026-10-30 | Refresh token after the admin revoked sessions | 50173 / 700082 / 50076 | 50173 | AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The gran |
| 2026-10-30 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | 65001 | AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a |
| 2026-10-31 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | success |  |
| 2026-10-31 | Refresh token after the admin revoked sessions | 50173 / 700082 / 50076 | 50173 | AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The gran |
| 2026-10-31 | Correct password (security defaults / MFA / consent decide) | success / 50076 / 50079 / 65001 / 50072 | success |  |
| 2026-10-31 | Refresh token after the admin revoked sessions | 50173 / 700082 / 50076 | 50173 | AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The gran |

## Sources

1. [Microsoft Entra authentication and authorization error codes](https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes)
2. [Password spray investigation (Microsoft incident response playbook)](https://learn.microsoft.com/en-us/security/operations/incident-response-playbook-password-spray)
3. [Sign-in log activity details](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-sign-in-log-activity-details)
4. [Interactive user sign-ins](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-interactive-sign-ins)
5. [Non-interactive user sign-ins](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-noninteractive-sign-ins)
6. [Revoke user access in Microsoft Entra ID](https://learn.microsoft.com/en-us/entra/identity/users/users-revoke-access)
7. [SigninLogs table reference (Azure Monitor)](https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/signinlogs)

## Related codes

[AADSTS50126](https://brambrinkmeier.com/entra/aadsts/50126/), [AADSTS50074](https://brambrinkmeier.com/entra/aadsts/50074/), [AADSTS500121](https://brambrinkmeier.com/entra/aadsts/500121/), [AADSTS50079](https://brambrinkmeier.com/entra/aadsts/50079/), [AADSTS53003](https://brambrinkmeier.com/entra/aadsts/53003/), [AADSTS50158](https://brambrinkmeier.com/entra/aadsts/50158/), [AADSTS50055](https://brambrinkmeier.com/entra/aadsts/50055/), [AADSTS50072](https://brambrinkmeier.com/entra/aadsts/50072/), [AADSTS50125](https://brambrinkmeier.com/entra/aadsts/50125/), [AADSTS50140](https://brambrinkmeier.com/entra/aadsts/50140/), [AADSTS70043](https://brambrinkmeier.com/entra/aadsts/70043/), [AADSTS75011](https://brambrinkmeier.com/entra/aadsts/75011/), [AADSTS90072](https://brambrinkmeier.com/entra/aadsts/90072/), [AADSTS530032](https://brambrinkmeier.com/entra/aadsts/530032/)

## License and citation

CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). CC BY 4.0 covers the author's own text and classification fields. Quoted Microsoft error wording belongs to Microsoft, is quoted with its source and can change.

Cite as: Bram Brinkmeier, "AADSTS50076: MFA required to access the resource", https://brambrinkmeier.com/entra/aadsts/50076/ (CC BY 4.0), last updated 2026-10-11.
