Skip to content

AADSTS53003: sign-in blocked by Conditional Access

A user, app or script fails to sign in with:

AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance.

In the sign-in logs the error string is BlockedByConditionalAccess. The user did pass first-factor sign-in. Conditional Access runs after that, and one or more policies refused to hand out a token.

On a browser sign-in, the error page has a More details link. It shows the request ID, correlation ID and time. Ask the user for these — they make the event easy to find.

At least one Conditional Access policy applied to the sign-in, and its requirements weren’t met. All policies that apply must be satisfied. If any applying policy uses Block access, evaluation stops and the sign-in fails.

Cause Typical example
A block policy matched A policy blocks a named location (country or IP range) and the user is travelling or on a new network
Device platform condition A policy blocks platforms other than Windows, macOS, iOS and Android, and the user is on an unsupported OS. Platform is read from the user agent, so a changed browser string can also trigger it
Legacy authentication A “block legacy auth” policy targets Exchange ActiveSync clients and Other clients (IMAP, POP, SMTP, older Office apps). Legacy clients can’t do MFA or send device state
Guest or external user policy A policy targets guest or external user types (B2B guests, service provider users) and blocks everyone not in an allowed group
Service dependency The user opens one app, but it calls another resource that a policy blocks (for example, Azure portal calling Azure Resource Manager)
Service principal (app-only) A workload identity policy blocks a single-tenant service principal calling from outside allowed IP ranges or at a risk level you set
Policy scoped too wide A block policy targets All users + All resources with no emergency access exclusion

Note: policies scoped to users don’t block service principals. Only a policy that targets the service principal directly as a workload identity does. Managed identities aren’t covered by Conditional Access at all.

  1. Find the exact sign-in. In the Entra admin center go to Entra ID > Monitoring & health > Sign-in logs. Filter by Username, Date, and Conditional Access (failures only). Use Correlation ID if the user gave you one. For app-only calls, use the Service principal sign-ins tab.

    [SCREENSHOT: Entra admin center > Entra ID > Monitoring & health > Sign-in logs, filtered to Conditional Access: Failure]
  2. Open the Conditional Access tab on the event. Look for the policy with result Failure. Select the ellipsis on that policy to see which sign-in details matched each condition. Select the policy name to open its settings.

  3. Read the rest of the event. Check Basic info (client app, resource), Location (IP and country), Device info (platform, compliance) and Authentication details. Under the policy, check Audience — it lists every resource the sign-in asked for, which explains service dependency blocks.

  4. Check the Report-only tab too. Report-only policies never block, but they show what a planned policy would do. If you see the same policy there with Failure, don’t switch it to On yet.

  5. Decide: is the block correct?

    • Yes, by design (blocked country, legacy protocol, unsupported device): tell the user the supported way in. For example, use a modern client such as current Outlook or a browser instead of IMAP/POP, or use a supported device platform.
    • No, the policy is wrong: fix the scope, not the person. Make a copy of the policy in Report-only with the corrected conditions. Compare its results with the live policy in the sign-in logs. When it behaves as expected, update the live policy and delete the copy.
  6. Test with What If before and after the change. Go to Entra ID > Conditional Access > Policies > What If. Enter the user (or service principal), the target app by App ID, the device platform and client app, plus the location if a location policy is involved. The tool lists which policies apply and, for those that don’t, the first condition that didn’t match. It doesn’t test service dependencies, so check the sign-in log for those.

    [SCREENSHOT: Entra admin center > Entra ID > Conditional Access > Policies > What If results]
  7. Service principals: if the event is under service principal sign-ins, check the workload identity policy’s allowed locations. Add a named location only if that IP range is genuinely yours.

  8. Still stuck? Use Basic info > Troubleshoot Event to run the sign-in diagnostic. If you open a Microsoft support case, include the request ID, date and time from the event.

Locked out yourself? Ask another admin who isn’t blocked to turn off the faulty policy. If no admin can sign in, open a support request with Microsoft.

Read-only. Find recent 53003 failures and the policies they hit (Microsoft Graph PowerShell). You need AuditLog.Read.All to read sign-ins and Policy.Read.All to see the applied Conditional Access policies. Without the policy permission, the AppliedConditionalAccessPolicies field is left out of the results.

Terminal window
Connect-MgGraph -Scopes 'AuditLog.Read.All','Policy.Read.All' -NoWelcome
Get-MgAuditLogSignIn -Filter "status/errorCode eq 53003" -Top 50 |
Select-Object CreatedDateTime, UserPrincipalName, AppDisplayName, ClientAppUsed, IPAddress,
@{ n = 'Policies'; e = { ($_.AppliedConditionalAccessPolicies |
ForEach-Object { "$($_.DisplayName) [$($_.Result)]" }) -join '; ' } } |
Format-Table -AutoSize

List your policies and their state (enabled, disabled, or enabledForReportingButNotEnforced for report-only):

Terminal window
Get-MgIdentityConditionalAccessPolicy -All |
Select-Object DisplayName, State, ModifiedDateTime |
Sort-Object ModifiedDateTime -Descending

A policy changed shortly before the failures started is usually your first suspect.

  • AADSTS50076: MFA is required but the client didn’t complete it.
  • AADSTS53000: the policy requires a compliant device and this device isn’t compliant.
  • AADSTS53001: the policy requires a domain-joined device.
  • AADSTS53002: the app used isn’t an approved client app.
  • AADSTS530035: blocked by security defaults, not by a Conditional Access policy.
  • To stop this happening after policy changes, run the Conditional Access baseline review and keep your emergency access accounts excluded from block policies.
  • Don’t exclude a user or turn off the policy “to see if it helps”. Find the matching condition first.
  • Don’t add a user’s current IP to a trusted named location unless it’s really your network.
  • Don’t create a block policy for All users + All resources without excluding emergency access accounts and testing in report-only.
  • Don’t move a policy from Report-only to On while its report-only results still show unexpected failures.
  • Don’t fix a script’s 53003 by moving it to a legacy protocol. Legacy clients can’t do MFA or pass device state, so they fail more policies, not fewer.

Weekly · 5-minute read

The Identity Brief

Identity & Microsoft 365 changes that need action, one SOP, one script — every week. Verified against official Microsoft sources.

No spam. Unsubscribe anytime. Privacy