FIM ScriptBox Item
Summary
This script replaces the MA ID references in portal sync rules. If you run into the errors described in this post and get the "sync-rule-validation-parsing-error; referenced MA has been deleted" you can't open the sync rules in the portal to correct the issue. This powershell script will replace the reference ID's on all affected sync rules.
Script Code