Support exporting and importing conditional access policies using PowerShell
Support exporting and importing conditional access policies using PowerShell. This would be handy for backup purposes, but also for re-use of the same policy rules between test and production tenants.
The Microsoft Graph API currently do not have any REST APIs for accessing and creating conditional access policies: https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/intunegraphoverview
Graph now has export in beta. Not sure when import might be available.
While we wait for support for this in Graph API - https://modernworkplace.fremmegaard.no/2019/08/14/intune-backup-and-restore-of-conditional-access-policies/
Wil M commented
Yes we definitely need this! it would be very useful to be able to import/export conditional access policies
Very important! I have many customers i need to implement the same policies in.
It's a nuisence having to take so many screen images!
definitely need this feature