I've developed a script for dowloading deployed Conditional Access policies into the repo to versionize them and track changes over time. Also thanks to that updating policies is enabled without need to manually add IDs of policies into policy templates.
Policy IDs cannot be added to policy templates in any policy set because in case of using rings there are multiple policies created by the same template.
Updating existing policies requires to download currently implemented ones first.
Object IDs in downloaded policies are replaced with respective object display names for improving readability.
I hope you find it useful. In my case it does the job properly.
As it's my very first public contribution any suggestions to improve code quality or whatever are very much appreciated. :)
I've developed a script for dowloading deployed Conditional Access policies into the repo to versionize them and track changes over time. Also thanks to that updating policies is enabled without need to manually add IDs of policies into policy templates.
Policy IDs cannot be added to policy templates in any policy set because in case of using rings there are multiple policies created by the same template.
Updating existing policies requires to download currently implemented ones first.
Object IDs in downloaded policies are replaced with respective object display names for improving readability.
I hope you find it useful. In my case it does the job properly.
As it's my very first public contribution any suggestions to improve code quality or whatever are very much appreciated. :)