A method for exporting source Conditional Access, rebuilding policies against new object IDs, restoring named locations and authentication strengths, and rolling out via report-only mode.
Conditional Access is the part of a tenant migration that quietly gets skipped — until the target tenant is wide open or, worse, locks everyone out the moment a policy goes live. The real problem is twofold: Conditional Access policies do not migrate between tenants in any form, and every object a policy references (users, groups, named locations, authentication contexts) has a new identity in the target. You are not moving policies; you are rebuilding a security posture from an export, against a directory full of new GUIDs.
This guide makes that rebuild safe and complete.
A Conditional Access policy is a tenant-local object that references other tenant-local objects by GUID: included/excluded users and groups, named locations, terms-of-use, authentication strengths, and app IDs. None of those GUIDs exist in the target. Even if you could copy the JSON verbatim, every assignment would point at nothing. So the migration is: export the intent, then re-create it against re-mapped targets.
Pull every policy in full. This is your specification — the auditable record of what the source enforced.
Get-MgIdentityConditionalAccessPolicy -All |
ForEach-Object {
$_ | ConvertTo-Json -Depth 10 |
Out-File ".\ca-export\$($_.Id).json"
}
Is it really free?
Yes — completely. No trial, no card, no catch. Enter your email and the full guide opens instantly.
Will you spam me?
No. We'll email your copy and, only if you opt in, the occasional genuinely useful migration tip. One click unsubscribes you for good.
Can I share it with my team?
Please do. Forward the PDF or send them the link — every teammate can grab their own copy.