Share via


Convert MA XML export of errors to CSV format

To save the error list from a sync, import, or export operation, open the FIM synch console, click on the operations button, right click the operation that contains errors, and select save to file.  The resulting file will be in XML format. 

To convert that XML to CSV format, run this PowerShell script.  The FIM modules are not needed, it uses only system modules which should be available on any PowerShell installation.

The syntax to run the script is:

.\processXMLerror.ps1 <path to xml file including file name>

For example:

.\processXMLerror.ps1 "c:\scripts\AD Synch errors.xml"

The csv file will be saved to the same directory as the XML and will have the same name but with a CSV extension.

Download Code