-
Notifications
You must be signed in to change notification settings - Fork 0
Reformat AADConnect Config Export for Easy Comparisons
David Loder edited this page Jan 28, 2022
·
3 revisions
The AADConnect Config Export makes it easy to export the current AADConnect rule set but the formatting of the export file makes it difficult to compare rules across different AADConnect servers. This script re-writes the export file into a separate file per rule with each filename based on the rule name. This format is ideal for performing a WinDiff directory comparison.
This script also provides several examples of JSON document sorting methods using PowerShell.
You can still obtain WinDiff from https://web.archive.org/web/20060215224549/http://www.computerperformance.co.uk/ScriptsGuy/windiff.zip
Download script from https://github.com/dloder0/AAD-Connect-MIM-FIM-Scripts/blob/master/Optimize-AADConnectExportJSONForCompare.ps1