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.
Common causes
- A Conditional Access evaluation failed. Microsoft says this can indicate various Conditional Access errors.
- The Windows device is not in the required device state. The official lookup message can include: Device is not in required device state.
- The request was blocked due to suspicious activity, an access policy, or a security policy decision.
Quick checks
- Open Entra admin center → Entra ID → Monitoring & health → Sign-in logs, find the failed event, and copy the Correlation ID, date, and time.
- Read the Failure reason and Additional Details first — they are what distinguish a bad device state from a block due to suspicious activity or a policy decision.
- Open the Conditional Access tab to see which policies applied or blocked the request, and the Device info tab for compliance and join state.
- Check the Authentication Details tab and, if risk is mentioned, any risk or Identity Protection information on the event.
How to fix it
If you are the user
- Contact your admin with the time of the failure and the app you were opening. This code can have more than one official cause, so the sign-in log has to be checked.
- If you were told to use a work-joined or compliant device, try again from that device.
If you are an admin
- Use Failure reason, Additional Details, Device info, and the Conditional Access tab together. Do not assume a single cause; Microsoft documents several.
- If the log says the device is not in the required state, confirm join and compliance, then fix the device or the grant control.
- If the log points to suspicious activity or a security policy decision, investigate the sign-in and any risk signals before adding exclusions.
- If the policy result is still unclear, use the sign-in diagnostic under Basic info → Troubleshoot event, or the What If tool.
Related Conditional Access / MFA notes
Treat AADSTS50131 as a Conditional Access failure whose exact reason is in the log, not as a generic block. AADSTS53003 is the usual "blocked by Conditional Access" code when a policy does not allow token issuance. Device-specific grants often appear as AADSTS53000, AADSTS53001, or AADSTS53002.
When to escalate
Escalate for unexpected tenant-wide blocks, suspected account compromise, or a policy you cannot safely change. Include the Failure reason, Additional Details, policy name, device state, and the Correlation ID.
Official references
- Microsoft's AADSTS error code reference (opens in a new tab)
- Official lookup for AADSTS50131 (opens in a new tab)
- Troubleshooting sign-in problems with Conditional Access (opens in a new tab)