Error CA20001 occurs when Microsoft Entra ID (formerly Azure AD) blocks an authentication attempt because the user session fails to satisfy active Conditional Access policies. The error halts sign-in across Microsoft 365 applications like Outlook, Teams, and OneDrive during identity token evaluation. It indicates that while your username and password are correct, context signals, such as device health, network IP location, or app compliance, violated tenant security rules.
Fast-Fix: The 45-Second Solution
Microsoft 365 error CA20001 occurs when Entra ID Conditional Access policies block sign-in due to non-compliant devices, untrusted IP locations, or unapproved apps. Risk Tier: High. To fix it, connect to an approved corporate network, sync your device compliance status in Company Portal, complete pending MFA prompts, or request a policy exemption from your IT administrator.
Diagnostic Snapshot
- Severity Tier: High (Blocks cloud authentication and access to all protected M365 desktop and web applications).
- Data Safety Risk: Low (Local files and cloud data are intact; access is held at the identity gate).
- Common Cause: Non-compliant device state in Microsoft Intune, unauthorized public or VPN IP address, or missing MFA registration.
- Admin Requirement: Requires Global or Conditional Access Administrator access in Entra ID if policy adjustments or device compliance overrides are needed.
Condition: Low Risk vs. High Risk
- Low Risk: The error occurs on a single personal device attempting to access corporate resources over a home network, while corporate-managed devices connect without issue.
- High Risk: The failure affects multiple managed corporate devices simultaneously, locks out administrative accounts, or blocks entire regional offices due to an updated location policy.
The System Break (What This Means)
Conditional Access acts as a digital gatekeeper for Microsoft 365. When you enter your password, Entra ID verifies your identity credentials first. However, before issuing an OAuth access token to Outlook or Teams, the identity provider checks real-time context signals against policy rules set by your organization.
Think of it like passing a passport check at customs: presenting a valid passport proves who you are, but if your health clearance form or visa stamp is missing, the border agent denies entry. Error CA20001 means the authentication engine verified your password, but the gatekeeper rejected your connection request because your device status, location IP, or client app failed the secondary policy check.
Common Misdiagnoses
- Misdiagnosed as an Incorrect Password: Users often attempt to change their password repeatedly. However, because CA20001 is a policy evaluation failure rather than an identity mismatch, resetting your password will not bypass the block.
- Misdiagnosed as Credential Vault Corruption: Clearing cached credentials in Windows Credential Manager does not resolve CA20001 because the block is enforced on Microsoft servers. For local token clearing procedures, see How to Clear Office Credential Cache on Windows 11 (The Modern Way).
- Misdiagnosed as a General WAM / Broker Crash: Unlike local authentication broker crashes, CA20001 returns an explicit server response indicating policy rejection. For local broker troubleshooting, review How to Resolve Modern Authentication (ADAL/MSAL) Failures in 2025.
- Misdiagnosed as a Disabled Device: CA20001 means policy criteria were not met, whereas error 135011 means the device object was manually revoked in Entra ID. Compare steps in “Your Organization Has Disabled This Device” (Error Code 135011).
Immediate Action Steps
Step 1: Force a Manual Intune Device Compliance Sync
If your device is managed by your organization, manually trigger a compliance check to send updated security telemetry to Entra ID.
- Open the Start Menu, search for Company Portal, and launch the app.
- Click on Settings (gear icon) in the bottom-left corner.
- Under Sync status, click the Sync button.
- Alternatively, open Windows Settings > Accounts > Access work or school.
- Select your corporate account, click Info, and click Sync.
- Wait 5 minutes for Intune to process compliance status, then retry signing in.
Step 2: Verify Network Connection and Disable Personal VPNs
- Disconnect any personal or third-party VPN clients running on your device.
- If working remotely, connect to your organization’s official corporate VPN to route traffic through a trusted IP range.
- Open a web browser, navigate to an IP verification site, and verify that your public IP aligns with your company’s allowed network locations.
Step 3: Verify Workplace Join and Identity Registration
If the device registration token is out of sync with Entra ID:
- Open Command Prompt and type: DOS
dsregcmd /status - Verify that AzureAdJoined and WorkplaceJoined show YES.
- If device registration is broken or out of sync, re-establish your workplace registration by following Resolving Workplace Join (WPJ) Errors during Account Addition.
Step 4: Reset Local Office Activation Flags
If stale authentication tokens maintain an invalid policy state on your PC, reset the activation layer using How to Reset the Microsoft 365 Activation State (Using SaRA Tool).
Hard-Stop Red Flags
- “Access Blocked by Policy Name”: If the error details explicitly reference a strict corporate policy (e.g., “Block Foreign Locations” or “Require Managed Device”), end user troubleshooting cannot bypass the block. Contact your IT service desk.
- Account Marked as High Risk: If Entra ID Protection flags your user account as compromised, Conditional Access will enforce an immediate global block until an administrator resets the risk score.
What the IT Admin Will Check
- Entra ID Sign-in Logs: Filter sign-in logs by User Principal Name (UPN) and locate the failed event. Select the Conditional Access tab to view which specific policy returned a Failure result.
- Grant Controls Evaluation: Inspect whether the failure occurred due to Require device to be marked as compliant, Require Hybrid Azure AD joined device, or Require approved client app.
- Named Locations: Verify if the user’s current outbound public IP address is included in the trusted network named locations list.
- Intune Compliance State: Check the device record in Microsoft Intune admin center to confirm whether missing antivirus definitions, unapplied OS patches, or BitLocker encryption requirements marked the device non-compliant.
Resolution Complexity
- Major: If the policy requires corporate network access or Intune device enrollment, end users cannot fix CA20001 independently. IT administrator action is required to grant policy exemptions or adjust Conditional Access rules.
Related Error Escalators
- If signing in fails due to multi-factor authentication prompt loops, review How to Break a Microsoft Authenticator MFA Loop (2025 Update).
- If signing in returns identity provider tenant mismatch errors, see How to Fix “AADSTS50020” User Account from Identity Provider Error.
- If sign-in fails due to personal and work account identity conflicts, consult Microsoft 365 Home vs Business Account Sign-in Conflicts.
Ticket Closed
Error CA20001 is a server-enforced security block rather than a corrupted software installation or local system crash. Restoring access requires fulfilling the missing Conditional Access policy requirement, typically by connecting to a corporate network, completing Intune device compliance syncs, or contacting your IT administrator to review the specific policy failure in Entra ID sign-in logs.