Entra IDTroubleshooting

AADSTS50076, AADSTS50079 and AADSTS50158: fixing MFA and authentication-strength sign-in errors

What the MFA-related AADSTS codes mean, how to read the Authentication details and Conditional Access tabs of a sign-in, and how to fix legacy clients, unregistered users and authentication strength mismatches.

The MFA family of AADSTS codes causes more helpdesk confusion than almost any other, because several of them are normal interrupts rather than failures. One tells a client to come back and do MFA, another says the user has nothing registered, and a third just means the user was sent to a terms-of-use page or a third-party provider. In this post I'll separate them, show where the answer sits in the sign-in log, and give a fix for each scenario.

How this guide is organised: Symptoms → Why it happens → How to fix it → Verify the fix → Prevent it next timeFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (5 steps: Find the sign-in and read the Basic info; Read the Authentication details tab; Read the Conditional Access tab; Apply the fix for your scenario; Turn on a registration campaign). 4. Verify the fix. 5. Prevent it next time. Toolbox: AADSTS50076, AADSTS50079, AADSTS50158, Get-MgDomainFederationConfiguration, Entra ID › Users.1Symptoms2Why it happens3How to fix it4Verify the fix5Prevent it nexttime1Find the sign-in andread the Basic info2Read theAuthentication de…3Read theConditional Acces…4Apply the fix foryour scenario5Turn on aregistration camp…TOOLBOXAADSTS50076AADSTS50079AADSTS50158Get-MgDomainFederationConfigurati…Entra ID › UsersHow this guide is organised: Symptoms → Why it happens → How to fix it → Verify the fix → Prevent it next timeFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (5 steps: Find the sign-in and read the Basic info; Read the Authentication details tab; Read the Conditional Access tab; Apply the fix for your scenario; Turn on a registration campaign). 4. Verify the fix. 5. Prevent it next time. Toolbox: AADSTS50076, AADSTS50079, AADSTS50158, Get-MgDomainFederationConfiguration, Entra ID › Users.1Symptoms2Why it happens3How to fix it1Find the sign-in and read the Basic info2Read the Authentication details tab3Read the Conditional Access tab4Apply the fix for your scenario5Turn on a registration campaign4Verify the fix5Prevent it next timeTOOLBOXAADSTS50076AADSTS50079AADSTS50158Get-MgDomainFederationConfigurationEntra ID › Users
At a glance: how this guide is organised · 5 fix steps · 5 key tools

Symptoms#

A user is interrupted or blocked after entering a correct password, an app keeps asking to sign in again, or a background client silently stops syncing. The sign-in logs show one of these codes. The descriptions below are Microsoft's documented meanings.

CodeNameWhat it means
AADSTS50076UserStrongAuthClientAuthNRequiredMFA is now required because of an admin change (a Conditional Access policy or per-user MFA enforcement) or because the user is in a new location. The client must start a new interactive request.
AADSTS50074UserStrongAuthClientAuthNRequiredInterruptStrong authentication was required and the user didn't pass the MFA challenge.
AADSTS50078UserStrongAuthExpiredThe MFA the user presented has expired under the administrator's policies; MFA must be refreshed.
AADSTS50079UserStrongAuthEnrollmentRequiredMFA is required, but a managed user hasn't registered security info, or a federated user needs to obtain the MFA claim from the federated identity provider.
AADSTS50072UserStrongAuthEnrollmentRequiredInterruptThe user needs to enroll for second-factor authentication (interactive).
AADSTS50158ExternalSecurityChallengeAn external security challenge wasn't satisfied yet; the user was redirected to another page or provider, such as terms of use or a third-party MFA provider. On its own this isn't a failure: the log shows whether the challenge later passed or failed.
AADSTS53004ProofUpBlockedDueToRiskThe user must complete MFA registration before access, but a risky sign-in prevented registration.

Why it happens#

  • A client that can't do MFA. Legacy protocols and old clients have no way to show an MFA prompt, so once a Conditional Access policy requires MFA they receive AADSTS50076 on every attempt. Modern apps holding an older token get it once, then send the user to complete MFA; that single event is expected.
  • The user has nothing registered. A policy demands MFA but the user never registered a method, or a Register security information policy blocks registration from their current location. The result is AADSTS50079 or AADSTS50072, or AADSTS53004 when a risk policy is involved.
  • An authentication strength the user can't meet. The strength requires methods the user hasn't registered or that aren't enabled for them in the Authentication methods policy. If one required method can be registered, the user is sent to combined registration; if none can, the sign-in is blocked. Certificate-based authentication, Windows Hello for Business and Authenticator phone sign-in can't be registered during that interrupt.
  • Session controls. A sign-in frequency control, or the Every time frequency that risk-based policies use, expires a previously accepted MFA (AADSTS50078) and triggers a fresh prompt.
  • External challenges. Terms of use, external authentication methods and custom controls hand the user to another page; the redirect itself is logged as AADSTS50158.
  • Federation settings. When a federated domain enforces MFA at the identity provider, Entra ID expects the MFA claim from AD FS or the third-party IdP, and a missing claim surfaces as AADSTS50079.

How to fix it#

1. Find the sign-in and read the Basic info#

In the Microsoft Entra admin center go to Entra ID › Monitoring & health › Sign-in logs (Reports Reader is enough). Filter by the user or the correlation ID from the error page, and check both the interactive and non-interactive tabs; background clients appear on the second one. Note the Sign-in error code, the Failure reason and the Client app. A legacy protocol in Client app already explains a 50076 loop.

2. Read the Authentication details tab#

Each authentication step is listed with the method used, its result and a Requirement column naming the authentication strength (or plain multifactor authentication) that had to be satisfied. If the MFA step is missing entirely, the client never reached the prompt.

3. Read the Conditional Access tab#

Every evaluated policy appears with its result. Select the one that applied and look at Grant controls to see which strength was enforced, and at the session controls for a sign-in frequency setting. Compare the required methods with the user's Authentication methods page under Entra ID › Users.

4. Apply the fix for your scenario#

  • Legacy or non-interactive client (50076 on every attempt): move the user to a modern-authentication client, replace Basic-auth protocols in apps and devices, and convert scripts to a managed identity or service principal. Then block legacy authentication with Conditional Access so the loop can't return.
  • Not registered (50079, 50072): have the user open Security info (aka.ms/mysecurityinfo) and register. For a new starter or someone with a lost phone, issue a Temporary Access Pass so they can register without an existing method. Check that your Register security information policy allows registration from where they are; if a risk policy caused 53004, remediate the risk first.
  • Authentication strength mismatch: open Entra ID › Authentication methods › Authentication strengths to see which combinations the strength accepts, confirm those methods are enabled for the user under Entra ID › Authentication methods › Policies, and check what they have registered. Pre-register passkeys, certificates or Windows Hello for Business before enforcing a phishing-resistant strength, or create a bootstrap strength that includes Temporary Access Pass and scope it to the Register security information user action.
  • External challenge (50158): follow the log to the next event. If the user never accepted the terms of use or the external provider failed, fix that side. If you combine an external authentication method with an authentication strength, switch the policy to the Require multifactor authentication grant; the two are currently incompatible.
  • Repeated prompts (50078): review sign-in frequency controls and remember that risk-based policies legitimately require reauthentication every time while the risk stands.
  • Federated users: run Get-MgDomainFederationConfiguration -DomainId contoso.com | Format-List and review FederatedIdpMfaBehavior. If it enforces MFA at the IdP, the IdP must issue the MFA claim.

5. Turn on a registration campaign#

To stop the unregistered-user case recurring, go to Entra ID › Authentication methods › Registration campaign. In the Microsoft managed state Microsoft picks the target method and snooze settings; in the Enabled state you choose Microsoft Authenticator or passkeys, a snooze period of 0 to 14 days, and whether users can skip only three times before registration becomes mandatory.

Verify the fix#

  • Ask the user to sign in again and open the new event. Authentication details should show the MFA step with Succeeded and the expected requirement, and the Conditional Access tab should show the policy as Success.
  • For a replaced legacy client, the Client app value should now be a browser or a mobile or desktop app rather than a legacy protocol.
  • For a newly registered user, the method appears on their Authentication methods page, and the Authentication methods activity report under Entra ID › Monitoring & health › Usage & insights reflects it.

Prevent it next time#

  • Register before you enforce: run a registration campaign and protect the registration page with a Conditional Access policy before turning on MFA or strength requirements.
  • Roll out authentication strengths in report-only mode and test with the What If tool, especially for phishing-resistant strengths whose methods can't be registered on the fly.
  • Keep a Temporary Access Pass process at the helpdesk for first registration and lost devices.
  • Block legacy authentication everywhere so AADSTS50076 can only ever be the one-off interrupt it was designed to be.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

OE
Written by

Omer Eltayeb

Independent Microsoft Intune consultant in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Microsoft Entra ID, Microsoft Defender and Exchange Online with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)