NewImmutable backups are live on Business

Guide · Updated 2026-11-10

How to back up conditional access policies in Microsoft 365

Conditional access policies decide who can sign in, from where, and with what checks. If one is deleted or weakened, you may not notice until something goes wrong. Here is how to keep a copy you can rebuild from.

Why policies need their own copy

Users and groups go to a recycle bin when deleted. As far as we know, conditional access policies do not: a deleted policy is gone, and an edited one keeps no earlier version you can roll back to.

Audit logs record that a policy changed, but they are not a working copy of the policy, and how long Microsoft keeps them depends on your licence. Check your own retention before relying on them.

Export a policy by hand

  • In the Entra admin center, go to Protection, then Conditional Access, then Policies.
  • Open a policy and use the option to view its JSON. Copy it into a file named after the policy, with the date.
  • Or read them all with Microsoft Graph: GET /identity/conditionalAccess/policies. This needs a permission such as Policy.Read.All.
  • Store the files somewhere other than the tenant they describe, and repeat after every change.

What storiv does

  • Takes snapshots of your Entra ID policies on a schedule, with history.
  • Keeps a change log that shows what changed in a policy and when.
  • Flags risky changes, such as a policy being switched off, and emails an alert.
  • Keeps the saved version so you can see exactly what the policy looked like before.

What is not automated yet

storiv restores users and groups only. Conditional access policies are recorded and alerted on, but you recreate or correct them by hand in Entra, using the saved snapshot as the reference. When you do, consider setting a rebuilt policy to report-only first and checking its effect before you turn it on, and make sure your emergency access accounts are excluded as you intended.

Common questions

Can I restore a deleted conditional access policy?
Not with an undo in Microsoft's portal, as far as we know. You recreate it from a saved copy. storiv keeps the policy in its snapshots, but the rebuild is manual today.
How often should I export my policies?
After every change at the least. With storiv the snapshots run on a schedule and the change log shows when a policy differs from the last one.
Does storiv restore conditional access policies?
No. It restores users and groups. Policies, roles and apps are recorded and alerted on, and you fix them by hand using the saved snapshot.

Want this covered for your tenant?

storiv is onboarding a waitlist first. Free for up to 5 users.

Join the waitlist