Skip to main content
Five Steps for Cloud Compliance Readiness·A practical playbook for security teamsDownload
Insight · Microsoft 365

Conditional Access policies not enforced

A Conditional Access policy that is switched off or left in report-only mode protects nobody, even though it exists in your tenant. A read-only Microsoft Graph query lists every policy with its state so you can see which ones are not enforced.

Why it matters

Conditional Access policies only affect sign-ins while they are enabled. Microsoft Graph defines three states for a policy: enabled, disabled and enabledForReportingButNotEnforced (conditionalAccessPolicy resource type). In report-only mode, Microsoft explains, the policy is evaluated and its result logged, but the grant or session controls are not applied (Conditional Access report-only mode).

Report-only is a sensible way to test a new policy. The risk is a policy that was meant to be temporary and stays that way, leaving a gap you believe is closed.

Find it yourself

This script is read-only: it only calls Get- cmdlets with the read-only Policy.Read.All scope and changes no policy. It needs the Microsoft Graph PowerShell SDK (install guide).

# Read-only: list Conditional Access policies that are not enforced
Connect-MgGraph -Scopes 'Policy.Read.All'
Get-MgIdentityConditionalAccessPolicy -All |
  Where-Object { $_.State -ne 'enabled' } |
  Select-Object DisplayName, State, CreatedDateTime, ModifiedDateTime |
  Sort-Object State, DisplayName

Cmdlet reference: Get-MgIdentityConditionalAccessPolicy. To see everything, remove the Where-Object line.

Read the result

Each row is a policy that is not blocking or challenging anyone. A State of disabled means the policy is off. A state of enabledForReportingButNotEnforced means report-only. Look at ModifiedDateTime: a report-only policy untouched for a long time is usually a forgotten test rather than a deliberate choice.

Read the policy name alongside its state. A disabled break-glass or legacy policy may be intentional, while a disabled policy that requires multifactor authentication for administrators almost never is.

What to do next

For each report-only policy, review its impact in the sign-in logs as Microsoft describes, then decide whether to enforce it or retire it (Conditional Access insights and reporting). Before you enable a policy, check which users and apps it would affect so you do not lock out people by surprise, and keep an emergency-access account excluded as Microsoft recommends (Manage emergency access accounts).

See it continuously

ConfigCobra's Inventory & Insights holds Conditional Access and other policies in one inventory, with a built-in Conditional Access policies not enforced risk view. The relation graph shows each policy's Conditional Access scope, findings link back to the inventory objects they concern, and the view can be exported as CSV. ConfigCobra stays read-only and never changes a policy. See Inventory and identity and access governance.

See it for your whole tenant, continuously

Inventory & Insights lists these risks with built-in views and CSV export, read-only.

Get in touch

Let's talk.

Whether you're evaluating ConfigCobra, running an audit, or managing a client fleet — we respond within one business day.

Free trial