AADSTS50058UserInformationNotProvidedFull write-upNo session for single sign-on
What it means: There wasn't enough session information for single sign-on, meaning the user isn't signed in yet. Very common during silent sign-in attempts and usually harmless.
Likely cause: The user is not signed in yet. Microsoft describes this as a common, expected error when the user is unauthenticated.
Fix: Usually no action. If the user really can't sign in, have them sign in interactively, and check browser third-party cookie settings for SSO-heavy apps.
Full write-up for AADSTS50058 → · Official lookup (opens in a new tab)
AADSTS50089Flow token expiredThe sign-in took too long and its flow token expired.
What it means: The sign-in took too long and its flow token expired.
Likely cause: Codes, tokens and sessions expire over time or are revoked; this one ran out mid-sign-in.
Fix: Have the user start the sign-in again.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS50089 (opens in a new tab)
AADSTS50140KmsiInterruptFull write-upKeep me signed in
What it means: The 'Stay signed in?' (Keep me signed in) prompt interrupted the sign-in. Normal part of the flow.
Likely cause: The "Stay signed in?" or "Keep me signed in" prompt appeared during sign-in. Microsoft describes this as an expected part of the flow so the user can stay signed in on that browser.
Fix: No action needed. It appears as an interrupt in logs, not a real failure.
Full write-up for AADSTS50140 → · Official lookup (opens in a new tab)
AADSTS50199CmsiInterruptFull write-upUser confirmation required
What it means: For security reasons, user confirmation is required for this request. Officially this is often an interrupt, not a failure: the user is asked to confirm that this is the app they intended to sign into, which helps prevent spoofing. It is shown for scheme redirects in mobile browsers, and can appear when a system webview requests a token for a native application.
Likely cause: For security reasons, user confirmation is required for this request. Officially, the user was asked to confirm that this app is the application they intended to sign into.
Fix: Usually no action. Have the user confirm the app name and complete the prompt. If this repeats in a native or mobile app, the app developer should review the redirect URI against Microsoft's documented safe list.
Full write-up for AADSTS50199 → · Official lookup (opens in a new tab)
AADSTS70000InvalidGrantAuthentication failed because the refresh token isn’t valid.
What it means: Authentication failed because the refresh token isn’t valid.
Likely cause: The token was revoked, expired, or failed token binding checks.
Fix: Have the user sign in again.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS70000 (opens in a new tab)
AADSTS70008ExpiredOrRevokedGrantThe refresh token expired after a period of inactivity.
What it means: The refresh token expired after a period of inactivity.
Likely cause: The app wasn’t used for a long time, so its refresh token lapsed.
Fix: Have the user sign in again.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS70008 (opens in a new tab)
AADSTS70016AuthorizationPendingA device code sign-in is still waiting for the user to finish.
What it means: A device code sign-in is still waiting for the user to finish.
Likely cause: Normal polling while the user completes the device code flow.
Fix: Usually nothing to fix; the user finishes signing in on the second device.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS70016 (opens in a new tab)
AADSTS70018BadVerificationCodeThe device code entered was wrong.
What it means: The device code entered was wrong.
Likely cause: The user typed the wrong code in the device code flow.
Fix: Have the user re-enter the code exactly as shown.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS70018 (opens in a new tab)
AADSTS70019CodeExpiredThe device code expired before the user finished.
What it means: The device code expired before the user finished.
Likely cause: The user took too long to complete the device code sign-in.
Fix: Start the sign-in again to get a new code.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS70019 (opens in a new tab)
AADSTS700082ExpiredOrRevokedGrantInactiveTokenThe refresh token expired because it wasn’t used for too long.
What it means: The refresh token expired because it wasn’t used for too long.
Likely cause: Normal token lifecycle after a long period without using the app.
Fix: Have the user sign in again.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS700082 (opens in a new tab)
AADSTS700084SPA refresh token expiredA single-page app’s refresh token reached its fixed lifetime.
What it means: A single-page app’s refresh token reached its fixed lifetime.
Likely cause: Refresh tokens for single-page apps have a fixed lifetime that can’t be extended.
Fix: Have the user sign in again; the app must send a new sign-in request.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS700084 (opens in a new tab)
No codes on this page match. Try another category above, or the Sign-in Error Decoder.
Also related to this category
- AADSTS50133 (SsoArtifactRevoked), listed under Authentication & Password
- AADSTS50173 (The provided grant has expired due to it being revoked), listed under Authentication & Password
- AADSTS70043 (BadTokenDueToSignInFrequency), listed under Conditional Access
- AADSTS50132 (SsoArtifactInvalidOrExpired), listed under Authentication & Password