Entra IDTroubleshooting

Users keep being asked to sign in again: Entra sign-in frequency and AADSTS70043

Why Microsoft Entra ID keeps prompting users: sign-in frequency, persistent browser sessions, Stay signed in, Remember MFA and token lifetimes, plus how to find the cause and fix it.

When users say Outlook, Teams or the browser keeps asking them to sign in, the cause is rarely a bug. Usually two or three reauthentication settings are stacked on top of each other, and the strictest one wins. In this post I'll show how to find the setting behind each prompt in the sign-in logs, how to consolidate your session settings into one clean design, and how to prove the prompts have stopped.

Errors this guide fixes

  • AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by Conditional Access.Microsoft Entra sign-in log
  • AADSTS50140: This error occurred due to "Keep me signed in" interrupt when the user was signing-in.Microsoft Entra sign-in log (Interrupted)
  • AADSTS50078: Presented multifactor authentication has expired due to policies configured by your administrator.Microsoft Entra sign-in log
  • AADSTS700082: The refresh token has expired due to inactivity.App sign-in / Microsoft Entra sign-in log
  • AADSTS50133: The session isn't valid due to password expiration or recent password change.Sign-in page / Microsoft Entra sign-in log
  • AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed.App sign-in / Microsoft Entra sign-in log
How this guide is organized: 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 (6 steps: Read the prompt in the sign-in logs; Inventory every reauthentication setting; Consolidate on one mechanism; Scope sign-in frequency instead of applying it to everyone; Fix the device side; Separate revocations from policy). 4. Verify the fix. 5. Prevent it next time. Toolbox: AADSTS70043, dsregcmd /status, Revoke-MgUserSignInSession.1Symptoms2Why it happens3How to fix it4Verify the fix5Prevent it nexttime1Read theprompt in the…2Inventoryevery reauthe…3Consolidate onone mechanis…4Scope sign-infrequency ins…5Fix the deviceside6Separaterevocations f…TOOLBOXAADSTS70043dsregcmd /statusRevoke-MgUserSignInSessionHow this guide is organized: 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 (6 steps: Read the prompt in the sign-in logs; Inventory every reauthentication setting; Consolidate on one mechanism; Scope sign-in frequency instead of applying it to everyone; Fix the device side; Separate revocations from policy). 4. Verify the fix. 5. Prevent it next time. Toolbox: AADSTS70043, dsregcmd /status, Revoke-MgUserSignInSession.1Symptoms2Why it happens3How to fix it1Read the prompt in the sign-in logs2Inventory every reauthentication setting3Consolidate on one mechanism4Scope sign-in frequency instead of applying itto everyone5Fix the device side6Separate revocations from policy4Verify the fix5Prevent it next timeTOOLBOXAADSTS70043dsregcmd /statusRevoke-MgUserSignInSession
At a glance: how this guide is organized · 6 fix steps · 3 key tools

Symptoms#

  • Browser users see the sign-in page every time they reopen the browser, or answer Stay signed in? again and again.
  • Outlook, Teams or OneDrive on a managed Windows device asks for a password or MFA every few hours or days.
  • On a phone, each Microsoft app prompts for MFA separately.
  • The Microsoft Entra sign-in logs show interrupts or failures like these:
Text
AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by Conditional Access.
AADSTS50140: This error occurred due to "Keep me signed in" interrupt when the user was signing-in.
AADSTS50078: Presented multifactor authentication has expired due to policies configured by your administrator.
AADSTS700082: The refresh token has expired due to inactivity.
AADSTS50133: The session isn't valid due to password expiration or recent password change.
AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed.

Not all of these are problems: 50140 is just the Stay signed in? question, and 50133 or 50173 after a password change or revocation are expected.

Why it happens#

Finding the setting behind repeated sign-in promptsDo only some devices or apps keep prompting? if Yes: Check single sign-on on those devices (dsregcmd /status must show AzureAdPrt : YES.); if No, everywhere: Which code do the sign-in logs show? if 50133 or 50173: Expected after a password change or revocation (One fresh sign-in clears them.); if 50140: Only the Stay signed in? question (Keep the option on, or let a persistent browser session policy answer it.); if 70043 or 50078: Is Remember MFA on alongside sign-in frequency? if Yes: Turn off Remember MFA (With P1 or P2, rely on Conditional Access sign-in frequency only.); if No: Scope sign-in frequency instead (Use it for unmanaged devices, risky sign-ins and admin portals.)Do only some devices or appskeep prompting?FIXCheck singlesign-on on thosedevicesdsregcmd /statusmust showAzureAdPrt : YES.YesWhich code do the sign-in logsshow?OKExpected after apassword changeor revocationOne fresh sign-inclears them.50133 or 50173NOTEOnly the Staysigned in?questionKeep the option on,or let a persistentbrowser sessionpolicy answer it.50140Is Remember MFA on alongsidesign-in frequency?FIXTurn offRemember MFAWith P1 or P2, rely onConditional Accesssign-in frequencyonly.YesFIXScope sign-infrequencyinsteadUse it forunmanaged devices,risky sign-ins andadmin portals.No70043 or 50078No, everywhereFinding the setting behind repeated sign-in promptsDo only some devices or apps keep prompting? if Yes: Check single sign-on on those devices (dsregcmd /status must show AzureAdPrt : YES.); if No, everywhere: Which code do the sign-in logs show? if 50133 or 50173: Expected after a password change or revocation (One fresh sign-in clears them.); if 50140: Only the Stay signed in? question (Keep the option on, or let a persistent browser session policy answer it.); if 70043 or 50078: Is Remember MFA on alongside sign-in frequency? if Yes: Turn off Remember MFA (With P1 or P2, rely on Conditional Access sign-in frequency only.); if No: Scope sign-in frequency instead (Use it for unmanaged devices, risky sign-ins and admin portals.)Do only some devices or apps keep prompting?YesFIXCheck single sign-on on those devicesdsregcmd /status must show AzureAdPrt : YES.No, everywhereWhich code do the sign-in logs show?50133 or 50173OKExpected after a password change orrevocationOne fresh sign-in clears them.50140NOTEOnly the Stay signed in? questionKeep the option on, or let a persistent browsersession policy answer it.70043 or 50078Is Remember MFA on alongside sign-infrequency?YesFIXTurn off Remember MFAWith P1 or P2, rely on Conditional Accesssign-in frequency only.NoFIXScope sign-in frequency insteadUse it for unmanaged devices, risky sign-insand admin portals.
Figure 1 · Decision tree Finding the setting behind repeated sign-in prompts. Start with whether every device prompts, then use the code from the sign-in logs to find the setting to change. The most restrictive setting always wins.

Out of the box, Microsoft Entra ID uses a rolling 90-day window for user sign-in frequency and doesn't ask for credentials again unless the session's security posture changes, for example a password change, a noncompliant device or a disabled account. Prompts beyond that come from settings someone added:

  • Conditional Access sign-in frequency. A periodic value (hours or days) or Every time. It now covers MFA as well as the first factor, and a refresh token that outlives it fails with 70043.
  • Remember multifactor authentication (1 to 365 days) in the legacy MFA service settings. Below 90 days it shortens the default prompt cycle for Office clients, and combined with sign-in frequency it can prompt unexpectedly.
  • Show option to remain signed in in company branding. Without a persistent cookie, every browser restart means a new sign-in.
  • Token lifetime policies. Refresh and session token lifetimes were retired on January 30, 2021 in favor of Conditional Access, but old access token lifetime policies may still be assigned to apps.

The most restrictive setting always wins: Remember MFA at 14 days plus Stay signed in means a prompt every 14 days. The device matters too. On a device with no identity in Entra ID, each app holds its own refresh token, so each one prompts. On Microsoft Entra joined and hybrid joined devices, unlock or sign-in refreshes the Primary Refresh Token (PRT) only every four hours, and sign-in frequency is compared against that refresh time; on Entra registered devices, unlocking doesn't satisfy sign-in frequency at all.

How to fix it#

1. Read the prompt in the sign-in logs#

In the Microsoft Entra admin center, go to Entra ID › Monitoring & health › Sign-in logs, filter on the user and check both the interactive and the non-interactive user sign-ins (refresh token failures such as 70043 are usually non-interactive). Open an event and check:

  • Authentication Details › Session Lifetime Policies Applied: which session rule caused the reauthentication.
  • Conditional Access: the policies that applied and their session controls.

If you stream sign-in logs to Log Analytics, measure how widespread it is:

KQL
union SigninLogs, AADNonInteractiveUserSignInLogs
| where TimeGenerated > ago(7d)
| where ResultType in ("70043", "50078", "50140", "700082")
| summarize Events = count(), Users = dcount(UserPrincipalName) by ResultType, AppDisplayName, ClientAppUsed
| order by Events desc

2. Inventory every reauthentication setting#

SettingWhereWhat to look for
Sign-in frequency, persistent browser sessionEntra ID › Conditional Access, each policy's Session controlsOverlapping policies, short periods, Every time on Microsoft 365 apps
Remember multifactor authenticationEntra ID › Multifactor authentication › Additional cloud-based MFA settingsEnabled while sign-in frequency is also used
Show option to remain signed inEntra ID › Custom Branding, per localeTurned off without a persistent browser session policy
Token lifetime policiesMicrosoft Graph PowerShellLeftover policies assigned to apps
PowerShell
Connect-MgGraph -Scopes "Policy.Read.All"
Get-MgPolicyTokenLifetimePolicy | ForEach-Object {
    $_ | Select-Object Id, DisplayName, Definition
    Get-MgPolicyTokenLifetimePolicyApplyTo -TokenLifetimePolicyId $_.Id
}

In a federated tenant, also check the identity provider: with AD FS browser persistence configured, the Entra session follows it.

3. Consolidate on one mechanism#

With Microsoft Entra ID P1 or P2, Microsoft recommends using only Conditional Access sign-in frequency and persistent browser session, and turning off Remember multifactor authentication before you rely on sign-in frequency. Without P1 or P2, keep Show option to remain signed in enabled and teach users to accept it. A persistent browser session policy overrides the branding setting, so users don't have to answer the question.

4. Scope sign-in frequency instead of applying it to everyone#

  • Use periodic reauthentication for unmanaged devices, risky sign-ins and admin portals, not for every user on every app.
  • Reserve Every time for specific actions such as Intune enrollment, PIM activation or risky users, and pair it with MFA; without MFA it can cause sign-in loops. For Microsoft 365 apps, use time-based sign-in frequency instead.
  • Set Persistent browser session to Never persistent for unmanaged devices, so cookies don't outlive the browser there.

5. Fix the device side#

If only some devices prompt, check single sign-on rather than policy. On Windows, dsregcmd /status must show AzureAdPrt : YES with a recent update time (see my PRT deep dive). On phones, install Microsoft Authenticator as the broker for other apps. In the browser, sign in to the Edge profile; private windows get no SSO.

6. Separate revocations from policy#

50133 and 50173 follow a password change or a revocation with Revoke-MgUserSignInSession, and one fresh sign-in clears them. If prompts follow network changes, check continuous access evaluation and your named locations: see continuous access evaluation and named locations.

Verify the fix#

  1. Run the user's scenario through What If and confirm that only the intended policy applies its session controls.
  2. After the user's next sign-in, Session Lifetime Policies Applied lists only the rule you designed.
  3. Rerun the query a week later: 70043 and 50078 appear only where you intend to enforce a short session.
  4. The user closes and reopens the browser and Outlook on a managed device without being prompted.

Prevent it next time#

  • Keep session lifetime in one place, Conditional Access, and document every policy that uses session controls.
  • Tighten sessions by risk and device state, not for everyone: frequent prompts teach users to type credentials into anything.
  • Test changes in report-only mode first, and read the sign-in logs before and after.

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.

Written by

Omer Eltayeb

Intune Subject Matter Expert 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, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 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)