Library

Guides Quick Fixes Scripts Find a Guide

Tools

Error Decoder Assessment Baselines Free Tools Service status What's Changed

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment
7 of 7 codes
AADSTS50005DevicePolicyErrorThe sign-in came from a device platform that Conditional Access doesn’t support for this policy.

What it means: The sign-in came from a device platform that Conditional Access doesn’t support for this policy.

Likely cause: A policy condition on device platform doesn’t cover the platform the user is on.

Fix: Check the device platform condition on the policy shown in the sign-in log.

AADSTS50131ConditionalAccessFailedFull write-upConditional Access failed

What it means: Conditional Access failed. Microsoft lists this for various Conditional Access errors, such as a Windows device that is not in the required state, a request blocked due to suspicious activity, or an access or security policy decision. The official lookup message can include: device is not in required device state.

Likely cause: A Conditional Access evaluation failed. Microsoft says this can indicate various Conditional Access errors.

Fix: Open the failed sign-in, then read the Failure reason, Additional Details, Device info, and Conditional Access tabs to see which condition or policy applied. Fix the device state or policy result that the log shows.

AADSTS53002ApplicationUsedIsNotAnApprovedAppFull write-upApp isn't an approved client app

What it means: The app being used isn't on the approved client app list required by Conditional Access.

Likely cause: A Conditional Access policy requires an approved client app, and the app the user opened is not on that approved list.

Fix: Have the user use an approved Microsoft app (for example Outlook mobile instead of the built-in mail app).

AADSTS53003BlockedByConditionalAccessFull write-upBlocked by Conditional Access

What it means: A Conditional Access policy blocked token issuance.

Likely cause: A Conditional Access policy that applies to this user, app, or condition (location, client app, device, or risk) does not allow the token to be issued.

Fix: Open the sign-in log entry → Conditional Access tab to see which policy applied and why. Adjust the policy or the user's situation (location, client app, device).

AADSTS70043BadTokenDueToSignInFrequencyFull write-upSign-in frequency ended the session

What it means: The refresh token expired or became invalid because of a Conditional Access sign-in frequency setting.

Likely cause: A Conditional Access sign-in frequency setting ended the lifetime of the refresh token, so the app required a new sign-in.

Fix: Expected behavior: the user needs to sign in again. If it's happening too often, review the policy's sign-in frequency.

AADSTS530032BlockedByConditionalAccessOnSecurityPolicyA tenant-level security policy blocked the request.

What it means: A tenant-level security policy blocked the request.

Likely cause: A security policy set by the tenant admin doesn’t allow this request.

Fix: Check the tenant’s security policies and the sign-in log details to see which requirement wasn’t met.

AADSTS530035BlockedBySecurityDefaultsSecurity defaults blocked the sign-in.

What it means: Security defaults blocked the sign-in.

Likely cause: The request used legacy authentication, or security defaults judged it unsafe.

Fix: Move the client to modern authentication. If you need finer control, replace security defaults with Conditional Access policies.

Also related to this category