Using PowerShell to generate a well formatted User Mappings XML for the ShareGate thingy
Using a simple csv file vs. querying a domain controller
Posted on March 9, 2017
I’m working on a project to migrate a customer’s Office 365 tenant to another Office 365 Tenant (yeah this one is weird). One of the workloads we are handling is SharePoint Online of course. I wanted to run some test migrations but before I could do that, I needed to ensure the permissions for any site objects are properly set.
Enter that thingy called ShareGate and the User Mappings feature, which is available through the GUI and allows you to import your mappings.
The Output
The script outputs an XML file that you can then import into your migration job on the ShareGate tool. The XML looks similar to this.