{
  "schemaVersion": "1.0",
  "code": "50076",
  "name": "UserStrongAuthClientAuthNRequired",
  "title": "AADSTS50076: MFA required to access the resource",
  "url": "https://brambrinkmeier.com/entra/aadsts/50076/",
  "alternates": {
    "markdown": "https://brambrinkmeier.com/entra/aadsts/50076.md",
    "json": "https://brambrinkmeier.com/api/aadsts/50076.json",
    "html": "https://brambrinkmeier.com/entra/aadsts/50076/"
  },
  "description": "AADSTS50076: the password was accepted and MFA is now required. An expected interrupt, unless the IP was just failing passwords. KQL included.",
  "summary": "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.",
  "inMicrosoftReference": true,
  "unlistedChecked": null,
  "meaningText": "Microsoft's description:\n\n> **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.\n\nThe 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.",
  "sections": [
    {
      "heading": "What does AADSTS50076 mean?",
      "text": "Microsoft's description:\n\n> **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.\n\nThe 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."
    },
    {
      "heading": "Is it an attack?",
      "text": "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).\n\nUsually 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.**\n\n| Pattern | Likely meaning |\n|---|---|\n| 50076, then `0` (success) from the same IP and device within minutes | The user completed MFA. Benign. |\n| 50076 from an IP that produced many **50126** failures | **The spray found a working password.** MFA is now the only barrier. |\n| 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/). |\n| 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. |\n\nMicrosoft'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.\n\nOn these rows `AuthenticationRequirement` is `multiFactorAuthentication`. Microsoft documents that a sign-in where primary authentication succeeds and MFA is required carries that value."
    },
    {
      "heading": "How do I find it in my logs (KQL)?",
      "text": "Users who hit the MFA step from an IP that was failing passwords for them earlier the same day:\n\n```kusto\nlet failedPw =\n    SigninLogs\n    | where TimeGenerated > ago(1d)\n    | where ResultType == \"50126\"\n    | summarize Failures = count(), FirstFail = min(TimeGenerated)\n              by UserPrincipalName, IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50076\"\n| join kind=inner failedPw on UserPrincipalName, IPAddress\n| where TimeGenerated > FirstFail\n| project TimeGenerated, UserPrincipalName, IPAddress, Failures,\n          AppDisplayName, ClientAppUsed, AuthenticationRequirement, UserAgent\n| sort by TimeGenerated asc\n```\n\nNon-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:\n\n```kusto\nlet knownIPs =\n    union\n        (SigninLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType),\n        (AADNonInteractiveUserSignInLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType)\n    | where TimeGenerated > ago(14d)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50076\"\n| join kind=leftanti knownIPs on UserPrincipalName, IPAddress\n| summarize Events = count(), Apps = make_set(AppDisplayName, 5),\n            FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)\n          by UserPrincipalName, IPAddress\n| sort by Events desc\n```\n\n`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."
    },
    {
      "heading": "How do Conditional Access and MFA affect it?",
      "text": "- 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.\n- 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.\n- 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/)."
    },
    {
      "heading": "How do I fix AADSTS50076?",
      "text": "**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\").\n\n**For admins:**\n1. 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).\n2. Check whether the same IP later produced a `0` for that user. If it did, this is a compromised account, not an attempt.\n3. For developers: a daemon or background token refresh can't satisfy MFA. Request the token interactively."
    }
  ],
  "microsoftWording": {
    "text": "**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.",
    "source": "Microsoft's error code reference, as quoted on the page",
    "sourceUrl": "https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes"
  },
  "securityReading": {
    "category": {
      "id": "mfa",
      "label": "Multifactor authentication"
    },
    "kind": {
      "id": "interrupt",
      "label": "Interrupt (an expected extra step, not a failure)"
    },
    "attackSignal": {
      "level": "medium",
      "label": "Medium: worth a look in context"
    },
    "mitre": [
      {
        "id": "T1078.004",
        "name": "Valid Accounts: Cloud Accounts",
        "url": "https://attack.mitre.org/techniques/T1078/004/"
      },
      {
        "id": "T1110.003",
        "name": "Brute Force: Password Spraying",
        "url": "https://attack.mitre.org/techniques/T1110/003/"
      }
    ],
    "tables": [
      "SigninLogs",
      "AADNonInteractiveUserSignInLogs"
    ],
    "isItAnAttack": "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).\n\nUsually 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.**\n\n| Pattern | Likely meaning |\n|---|---|\n| 50076, then `0` (success) from the same IP and device within minutes | The user completed MFA. Benign. |\n| 50076 from an IP that produced many **50126** failures | **The spray found a working password.** MFA is now the only barrier. |\n| 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/). |\n| 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. |\n\nMicrosoft'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.\n\nOn these rows `AuthenticationRequirement` is `multiFactorAuthentication`. Microsoft documents that a sign-in where primary authentication succeeds and MFA is required carries that value.",
    "conditionalAccess": {
      "heading": "How do Conditional Access and MFA affect it?",
      "text": "- 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.\n- 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.\n- 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/)."
    }
  },
  "kql": [
    {
      "title": null,
      "leadIn": "Users who hit the MFA step from an IP that was failing passwords for them earlier the same day:",
      "query": "let failedPw =\n    SigninLogs\n    | where TimeGenerated > ago(1d)\n    | where ResultType == \"50126\"\n    | summarize Failures = count(), FirstFail = min(TimeGenerated)\n              by UserPrincipalName, IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50076\"\n| join kind=inner failedPw on UserPrincipalName, IPAddress\n| where TimeGenerated > FirstFail\n| project TimeGenerated, UserPrincipalName, IPAddress, Failures,\n          AppDisplayName, ClientAppUsed, AuthenticationRequirement, UserAgent\n| sort by TimeGenerated asc"
    },
    {
      "title": null,
      "leadIn": "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:",
      "query": "let knownIPs =\n    union\n        (SigninLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType),\n        (AADNonInteractiveUserSignInLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType)\n    | where TimeGenerated > ago(14d)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50076\"\n| join kind=leftanti knownIPs on UserPrincipalName, IPAddress\n| summarize Events = count(), Apps = make_set(AppDisplayName, 5),\n            FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)\n          by UserPrincipalName, IPAddress\n| sort by Events desc"
    }
  ],
  "kqlSectionText": "Users who hit the MFA step from an IP that was failing passwords for them earlier the same day:\n\n```kusto\nlet failedPw =\n    SigninLogs\n    | where TimeGenerated > ago(1d)\n    | where ResultType == \"50126\"\n    | summarize Failures = count(), FirstFail = min(TimeGenerated)\n              by UserPrincipalName, IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50076\"\n| join kind=inner failedPw on UserPrincipalName, IPAddress\n| where TimeGenerated > FirstFail\n| project TimeGenerated, UserPrincipalName, IPAddress, Failures,\n          AppDisplayName, ClientAppUsed, AuthenticationRequirement, UserAgent\n| sort by TimeGenerated asc\n```\n\nNon-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:\n\n```kusto\nlet knownIPs =\n    union\n        (SigninLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType),\n        (AADNonInteractiveUserSignInLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType)\n    | where TimeGenerated > ago(14d)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50076\"\n| join kind=leftanti knownIPs on UserPrincipalName, IPAddress\n| summarize Events = count(), Apps = make_set(AppDisplayName, 5),\n            FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)\n          by UserPrincipalName, IPAddress\n| sort by Events desc\n```\n\n`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.",
  "fix": {
    "short": "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.",
    "steps": "**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\").\n\n**For admins:**\n1. 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).\n2. Check whether the same IP later produced a `0` for that user. If it did, this is a compromised account, not an attempt.\n3. For developers: a daemon or background token refresh can't satisfy MFA. Request the token interactively."
  },
  "labReproduced": null,
  "labSectionText": null,
  "labRuns": [
    {
      "date": "2026-10-25",
      "run": null,
      "method": "ROPC token request against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/38",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "65001",
      "matchedExpectation": true,
      "message": "AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a"
    },
    {
      "date": "2026-10-30",
      "run": "round 4",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/67",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "65001",
      "matchedExpectation": true,
      "message": "AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a"
    },
    {
      "date": "2026-10-30",
      "run": "round 5",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/69",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "success",
      "matchedExpectation": true,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 5 (first attempt)",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/68",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "success",
      "matchedExpectation": true,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 6",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/70",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "success",
      "matchedExpectation": true,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 7",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/71",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "success",
      "matchedExpectation": true,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 7",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/71",
      "scenario": "Refresh token after the admin revoked sessions",
      "expected": "50173 / 700082 / 50076",
      "got": "50173",
      "matchedExpectation": true,
      "message": "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"
    },
    {
      "date": "2026-10-30",
      "run": null,
      "method": "ROPC and other token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/66",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "65001",
      "matchedExpectation": true,
      "message": "AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a"
    },
    {
      "date": "2026-10-31",
      "run": "round 8",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/72",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "success",
      "matchedExpectation": true,
      "message": ""
    },
    {
      "date": "2026-10-31",
      "run": "round 8",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/72",
      "scenario": "Refresh token after the admin revoked sessions",
      "expected": "50173 / 700082 / 50076",
      "got": "50173",
      "matchedExpectation": true,
      "message": "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"
    },
    {
      "date": "2026-10-31",
      "run": "round 9",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/73",
      "scenario": "Correct password (security defaults / MFA / consent decide)",
      "expected": "success / 50076 / 50079 / 65001 / 50072",
      "got": "success",
      "matchedExpectation": true,
      "message": ""
    },
    {
      "date": "2026-10-31",
      "run": "round 9",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/73",
      "scenario": "Refresh token after the admin revoked sessions",
      "expected": "50173 / 700082 / 50076",
      "got": "50173",
      "matchedExpectation": true,
      "message": "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"
    }
  ],
  "verification": "documentation",
  "related": [
    "50126",
    "50074",
    "500121",
    "50079",
    "53003",
    "50158",
    "50055",
    "50072",
    "50125",
    "50140",
    "70043",
    "75011",
    "90072",
    "530032"
  ],
  "coveredBy": [
    {
      "title": "Azure CLI: \"Resource was disallowed by policy. Reasons: MFA is required\"",
      "url": "https://brambrinkmeier.com/guides/azure-cli-mfa-required-resource-disallowed-by-policy/"
    },
    {
      "title": "How to detect MFA fatigue (push bombing) in Microsoft Entra ID",
      "url": "https://brambrinkmeier.com/guides/detect-mfa-fatigue-entra-id/"
    },
    {
      "title": "How to detect password spraying in Microsoft Entra ID (with KQL)",
      "url": "https://brambrinkmeier.com/guides/detect-password-spray-entra-id/"
    },
    {
      "title": "Why is the user asked to sign in again? AADSTS70043, 700082, 50173, 50133, 50076",
      "url": "https://brambrinkmeier.com/guides/why-user-asked-to-sign-in-again-entra-id/"
    }
  ],
  "sources": [
    {
      "title": "Microsoft Entra authentication and authorization error codes",
      "url": "https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes"
    },
    {
      "title": "Password spray investigation (Microsoft incident response playbook)",
      "url": "https://learn.microsoft.com/en-us/security/operations/incident-response-playbook-password-spray"
    },
    {
      "title": "Sign-in log activity details",
      "url": "https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-sign-in-log-activity-details"
    },
    {
      "title": "Interactive user sign-ins",
      "url": "https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-interactive-sign-ins"
    },
    {
      "title": "Non-interactive user sign-ins",
      "url": "https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-noninteractive-sign-ins"
    },
    {
      "title": "Revoke user access in Microsoft Entra ID",
      "url": "https://learn.microsoft.com/en-us/entra/identity/users/users-revoke-access"
    },
    {
      "title": "SigninLogs table reference (Azure Monitor)",
      "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/signinlogs"
    }
  ],
  "published": null,
  "lastUpdated": "2026-10-11",
  "lastVerified": null,
  "license": "CC BY 4.0",
  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
  "licenseNote": "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.",
  "attribution": "Bram Brinkmeier, \"AADSTS50076: MFA required to access the resource\", https://brambrinkmeier.com/entra/aadsts/50076/ (CC BY 4.0)",
  "microsoftErrorLookup": "https://login.microsoftonline.com/error?code=50076"
}
