Bring in your Conditional Access policies
Use a read-only export from Microsoft Graph or the Entra admin center. It is read in this browser tab only — nothing is uploaded, and the tool never connects to your tenant.
Paste JSON instead
Tenant review
What is covered, what is missing, and what to fix first.
Nothing to review yet. Import an export or try the sample tenant first.
Fix these first
Build your fix plan
Pick Microsoft templates (gaps from your review are marked), or build a custom policy. Everything is generated as Graph JSON in report-only mode unless you choose otherwise.
A Plan settings
Pre-filled with the object(s) your export excludes from most all-users policies. Check before exporting.
Names will look like CA001 - All users - Block legacy authentication
B Microsoft templates
C Custom policy
Graph JSON
Export and deploy
Download what you need. Review every policy and test with the What If tool before enforcing.
Your plan is empty. Add templates or a custom policy in step 3 to generate deployment files.
PowerShell deployment script
Creates every policy with Invoke-MgGraphRequest and skips names that already exist. Needs the Conditional Access Administrator role.
Preview script
Policy JSON files
Import one at a time with Upload policy file on the Entra Conditional Access policies page.
Before you switch anything on
- Confirm the break-glass exclusion is on every policy and the accounts can still sign in.
- Leave new policies in report-only for at least a week and check the Report-only results in sign-in logs.
- Test key users with the Conditional Access What If tool.
- Switch policies On one at a time, during working hours, with someone watching sign-ins.
Share the review
The tenant review from step 2, for a ticket, change record or audit file.
How it works and its limits
The analyzer normalises each conditionalAccessPolicy object (Graph v1.0 or beta, camelCase or PascalCase) and evaluates it in three passes. Baseline matches enabled and report-only policies against Microsoft’s Conditional Access templates — a control counts as met only when an enforced policy satisfies it, and policies that exclude trusted locations do not count as unconditional MFA. Findings lint each policy for lockout risk, missing or inconsistent emergency-access exclusions (inferred from objects excluded across most all-users policies), location and role bypasses, combined MFA/strength grants, the read-only Require approved client app grant, stale report-only policies and policies with no control. Fix generates Graph-ready JSON for each template using your naming prefix and break-glass exclusions, defaulting to report-only, and re-scores your tenant with the plan applied.
Limits: object IDs are not resolved to names (the tool never calls Graph), named-location and authentication-strength definitions are not in the policy export, and results are a review aid — confirm with sign-in logs and the What If tool before changing production policy.