{
  "schemaVersion": "1.0",
  "code": "70043",
  "name": "BadTokenDueToSignInFrequency",
  "title": "AADSTS70043: Refresh token expired due to sign-in frequency checks",
  "url": "https://brambrinkmeier.com/entra/aadsts/70043/",
  "alternates": {
    "markdown": "https://brambrinkmeier.com/entra/aadsts/70043.md",
    "json": "https://brambrinkmeier.com/api/aadsts/70043.json",
    "html": "https://brambrinkmeier.com/entra/aadsts/70043/"
  },
  "description": "AADSTS70043: a refresh token was refused by a sign-in frequency policy. Session control working as configured, low attack value. KQL included.",
  "summary": "AADSTS70043 means a refresh token was refused because a Conditional Access sign-in frequency policy says the user must authenticate again. It is the session control working as configured, so it is expected and has low attack value. Volume tracks how strict your policy is. Hunt it in AADNonInteractiveUserSignInLogs with ResultType == \"70043\".",
  "inMicrosoftReference": true,
  "unlistedChecked": null,
  "meaningText": "Microsoft's description:\n\n> **BadTokenDueToSignInFrequency**: The refresh token has expired or is invalid due to sign-in frequency checks by Conditional Access. The token was issued on {issueDate} and the maximum allowed lifetime for this request is {time}.\n\nAn app tried to use a refresh token silently. A Conditional Access policy with a sign-in frequency session control says the user's last authentication is too old for this request. The app has to send the user to an interactive sign-in.",
  "sections": [
    {
      "heading": "What does AADSTS70043 mean?",
      "text": "Microsoft's description:\n\n> **BadTokenDueToSignInFrequency**: The refresh token has expired or is invalid due to sign-in frequency checks by Conditional Access. The token was issued on {issueDate} and the maximum allowed lifetime for this request is {time}.\n\nAn app tried to use a refresh token silently. A Conditional Access policy with a sign-in frequency session control says the user's last authentication is too old for this request. The app has to send the user to an interactive sign-in."
    },
    {
      "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\nNo. 70043 is a control you configured doing its job. Expect it wherever you have a sign-in frequency policy, and expect more of it the shorter the interval.\n\n| Pattern | Likely meaning |\n|---|---|\n| 70043 for a user, followed by an interactive success in `SigninLogs` from the same IP and device | Normal re-authentication. Benign. |\n| A jump in 70043 volume on a specific day | Someone created or tightened a sign-in frequency policy. Check your Conditional Access change history. |\n| 70043 for a user from an IP or device they don't use, with no interactive sign-in following | An old refresh token being presented from somewhere unexpected. This is reasoning, not a documented detection: the control stopped it, but the token existed somewhere it shouldn't. Investigate as a possible stolen token. |\n\nThe message includes the token's issue date and the maximum allowed lifetime, so it tells you how old the token was when it was refused.\n\n**IP caveat for confidential clients.** Microsoft's [non-interactive sign-ins page](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-noninteractive-sign-ins) says: *\"The IP address of non-interactive sign-ins performed by confidential clients doesn't match the actual source IP of where the refresh token request is coming from. Instead, it shows the original IP used for the original token issuance.\"* So an unfamiliar IP is a weaker stolen-token signal for confidential clients: it may only show where the token was first issued. The second query below inherits that limit."
    },
    {
      "heading": "How do I find it in my logs (KQL)?",
      "text": "Which apps and policies generate the volume:\n\n```kusto\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(7d)\n| where ResultType == \"70043\"\n| summarize Rows = count(),\n            Users = dcount(UserPrincipalName),\n            IPs = dcount(IPAddress)\n          by AppDisplayName, ResourceDisplayName\n| sort by Rows desc\n```\n\nThe rare case worth a look: 70043 from an IP where the same user had no successful sign-in in the previous 30 days.\n\n```kusto\nlet lookback = 30d;\nlet knownUserIPs =\n    union\n        (SigninLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType),\n        (AADNonInteractiveUserSignInLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType)\n    | where TimeGenerated > ago(lookback)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"70043\"\n| join kind=leftanti knownUserIPs on UserPrincipalName, IPAddress\n| extend Location = parse_json(LocationDetails)\n| project TimeGenerated, UserPrincipalName, IPAddress,\n          Country = tostring(Location.countryOrRegion),\n          AppDisplayName, UserAgent, ResultDescription\n| sort by TimeGenerated desc\n```\n\n`ResultType` is a **string** column, so compare it with `\"70043\"`, not `70043`. `LocationDetails` is a string in this table, hence `parse_json`. Non-interactive rows are aggregated when application, user, IP address, status and resource match, so row counts are not request counts."
    },
    {
      "heading": "How does Conditional Access affect it?",
      "text": "- The cause is a Conditional Access **session control**: sign-in frequency. Microsoft's default, with no such policy, is *\"a rolling window of 90 days.\"*\n- A shorter interval means more 70043 rows and more prompts. Microsoft warns: *\"Triggering reauthentication too frequently can increase security friction to a point that it causes users to experience MFA fatigue and open the door to phishing.\"*\n- The re-authentication after a 70043 is a normal sign-in. It goes through MFA and the rest of your Conditional Access policies."
    },
    {
      "heading": "Why do users keep getting prompted again?",
      "text": "Sign-in frequency applies to most Microsoft native apps, Microsoft web apps (Office.com, Exchange Online, SharePoint and OneDrive, the Teams web client, the Azure portal) and to non-Microsoft SAML and OAuth2/OIDC apps that redirect back to Entra ID regularly. Two device details explain most \"I just signed in\" complaints:\n\n- On **Microsoft Entra joined and hybrid joined** devices, unlocking the device or signing in interactively refreshes the Primary Refresh Token (PRT) every four hours, and the PRT must fall inside the sign-in frequency window.\n- On **Microsoft Entra registered** devices, unlocking the device does not satisfy the policy. The Entra WAM plugin can refresh the PRT while a native app authenticates.\n\nMicrosoft also warns that persistent browser cookies (\"Stay signed in?\") can keep Entra artifacts usable until the token expires, regardless of Conditional Access. Review that setting if you rely on short intervals as a security control."
    },
    {
      "heading": "How is 70043 different from 700082 and 50076?",
      "text": "All three can show up when a user is asked to sign in again, but they have different causes.\n\n| Code | Cause | Attack value |\n|---|---|---|\n| **70043** | A Conditional Access sign-in frequency policy refused the refresh token | Low |\n| [700082](https://brambrinkmeier.com/entra/aadsts/700082/) | The refresh token sat unused until it expired from inactivity | Low |\n| [50076](https://brambrinkmeier.com/entra/aadsts/50076/) | Microsoft's description: a configuration change by the admin, such as a Conditional Access policy, per-user enforcement, or a new location, means the user must use multifactor authentication | Check the pattern |\n\nThe text \"Strong Authentication is required\" is Microsoft's description for [50074](https://brambrinkmeier.com/entra/aadsts/50074/), and 50076 has its own wording about a configuration change that requires MFA. The refresh-token text with \"sign-in frequency\" belongs to 70043. If you searched on either message, match the code in your sign-in log first."
    },
    {
      "heading": "How do I fix AADSTS70043?",
      "text": "**For the user:** sign in again when the app asks. This is expected behavior, not an error on your side.\n\n**For admins:**\n1. Nothing is broken. If users complain about too many prompts, check which policy sets the interval with the first query and the policy list on the matching interactive sign-in.\n2. To change the interval, open the policy in the Microsoft Entra admin center under Conditional Access > Policies, then Session > Sign-in frequency. Microsoft's default with no policy is a rolling 90 days.\n3. Reserve short sign-in frequency intervals for high-risk apps, users or unmanaged devices, rather than everyone.\n4. If the second query returns a row you can't explain, treat the user's tokens as exposed: revoke the sessions and check the user's recent sign-ins. Microsoft documents `Revoke-MgUserSignInSession` for explicit revocation."
    }
  ],
  "microsoftWording": {
    "text": "**BadTokenDueToSignInFrequency**: The refresh token has expired or is invalid due to sign-in frequency checks by Conditional Access. The token was issued on {issueDate} and the maximum allowed lifetime for this request is {time}.",
    "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": "token",
      "label": "Tokens and sessions"
    },
    "kind": {
      "id": "failure",
      "label": "Failure"
    },
    "attackSignal": {
      "level": "low",
      "label": "Low: usually configuration or user error"
    },
    "mitre": [],
    "tables": [
      "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\nNo. 70043 is a control you configured doing its job. Expect it wherever you have a sign-in frequency policy, and expect more of it the shorter the interval.\n\n| Pattern | Likely meaning |\n|---|---|\n| 70043 for a user, followed by an interactive success in `SigninLogs` from the same IP and device | Normal re-authentication. Benign. |\n| A jump in 70043 volume on a specific day | Someone created or tightened a sign-in frequency policy. Check your Conditional Access change history. |\n| 70043 for a user from an IP or device they don't use, with no interactive sign-in following | An old refresh token being presented from somewhere unexpected. This is reasoning, not a documented detection: the control stopped it, but the token existed somewhere it shouldn't. Investigate as a possible stolen token. |\n\nThe message includes the token's issue date and the maximum allowed lifetime, so it tells you how old the token was when it was refused.\n\n**IP caveat for confidential clients.** Microsoft's [non-interactive sign-ins page](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-noninteractive-sign-ins) says: *\"The IP address of non-interactive sign-ins performed by confidential clients doesn't match the actual source IP of where the refresh token request is coming from. Instead, it shows the original IP used for the original token issuance.\"* So an unfamiliar IP is a weaker stolen-token signal for confidential clients: it may only show where the token was first issued. The second query below inherits that limit.",
    "conditionalAccess": {
      "heading": "How does Conditional Access affect it?",
      "text": "- The cause is a Conditional Access **session control**: sign-in frequency. Microsoft's default, with no such policy, is *\"a rolling window of 90 days.\"*\n- A shorter interval means more 70043 rows and more prompts. Microsoft warns: *\"Triggering reauthentication too frequently can increase security friction to a point that it causes users to experience MFA fatigue and open the door to phishing.\"*\n- The re-authentication after a 70043 is a normal sign-in. It goes through MFA and the rest of your Conditional Access policies."
    }
  },
  "kql": [
    {
      "title": null,
      "leadIn": "Which apps and policies generate the volume:",
      "query": "AADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(7d)\n| where ResultType == \"70043\"\n| summarize Rows = count(),\n            Users = dcount(UserPrincipalName),\n            IPs = dcount(IPAddress)\n          by AppDisplayName, ResourceDisplayName\n| sort by Rows desc"
    },
    {
      "title": null,
      "leadIn": "The rare case worth a look: 70043 from an IP where the same user had no successful sign-in in the previous 30 days.",
      "query": "let lookback = 30d;\nlet knownUserIPs =\n    union\n        (SigninLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType),\n        (AADNonInteractiveUserSignInLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType)\n    | where TimeGenerated > ago(lookback)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"70043\"\n| join kind=leftanti knownUserIPs on UserPrincipalName, IPAddress\n| extend Location = parse_json(LocationDetails)\n| project TimeGenerated, UserPrincipalName, IPAddress,\n          Country = tostring(Location.countryOrRegion),\n          AppDisplayName, UserAgent, ResultDescription\n| sort by TimeGenerated desc"
    }
  ],
  "kqlSectionText": "Which apps and policies generate the volume:\n\n```kusto\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(7d)\n| where ResultType == \"70043\"\n| summarize Rows = count(),\n            Users = dcount(UserPrincipalName),\n            IPs = dcount(IPAddress)\n          by AppDisplayName, ResourceDisplayName\n| sort by Rows desc\n```\n\nThe rare case worth a look: 70043 from an IP where the same user had no successful sign-in in the previous 30 days.\n\n```kusto\nlet lookback = 30d;\nlet knownUserIPs =\n    union\n        (SigninLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType),\n        (AADNonInteractiveUserSignInLogs | project TimeGenerated, UserPrincipalName, IPAddress, ResultType)\n    | where TimeGenerated > ago(lookback)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nAADNonInteractiveUserSignInLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"70043\"\n| join kind=leftanti knownUserIPs on UserPrincipalName, IPAddress\n| extend Location = parse_json(LocationDetails)\n| project TimeGenerated, UserPrincipalName, IPAddress,\n          Country = tostring(Location.countryOrRegion),\n          AppDisplayName, UserAgent, ResultDescription\n| sort by TimeGenerated desc\n```\n\n`ResultType` is a **string** column, so compare it with `\"70043\"`, not `70043`. `LocationDetails` is a string in this table, hence `parse_json`. Non-interactive rows are aggregated when application, user, IP address, status and resource match, so row counts are not request counts.",
  "fix": {
    "short": "Nothing to fix: a Conditional Access sign-in frequency policy is working as configured. User: sign in again when the app asks. Admin: if users get too many prompts, change the interval in the policy (Conditional Access > Policies > Session > Sign-in frequency).",
    "steps": "**For the user:** sign in again when the app asks. This is expected behavior, not an error on your side.\n\n**For admins:**\n1. Nothing is broken. If users complain about too many prompts, check which policy sets the interval with the first query and the policy list on the matching interactive sign-in.\n2. To change the interval, open the policy in the Microsoft Entra admin center under Conditional Access > Policies, then Session > Sign-in frequency. Microsoft's default with no policy is a rolling 90 days.\n3. Reserve short sign-in frequency intervals for high-risk apps, users or unmanaged devices, rather than everyone.\n4. If the second query returns a row you can't explain, treat the user's tokens as exposed: revoke the sessions and check the user's recent sign-ins. Microsoft documents `Revoke-MgUserSignInSession` for explicit revocation."
  },
  "labReproduced": null,
  "labSectionText": null,
  "labRuns": [],
  "verification": "documentation",
  "related": [
    "700082",
    "50173",
    "50133",
    "50076",
    "53003",
    "50058",
    "50089",
    "50196",
    "70008",
    "70044"
  ],
  "coveredBy": [
    {
      "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": "Conditional Access: session lifetime",
      "url": "https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-session-lifetime"
    },
    {
      "title": "Non-interactive user sign-ins",
      "url": "https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-noninteractive-sign-ins"
    },
    {
      "title": "AADNonInteractiveUserSignInLogs table reference (Azure Monitor)",
      "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/aadnoninteractiveusersigninlogs"
    }
  ],
  "published": null,
  "lastUpdated": "2026-10-25",
  "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, \"AADSTS70043: Refresh token expired due to sign-in frequency checks\", https://brambrinkmeier.com/entra/aadsts/70043/ (CC BY 4.0)",
  "microsoftErrorLookup": "https://login.microsoftonline.com/error?code=70043"
}
