2 results found
An error occurred while saving the comment
An error occurred while saving the commentWoody Windischman commented
This is, indeed an important ability, but I believe it would need a specific declaration of intent. It would be way to easy to accidentally create site collections in error if, for example, there was a typo in either the site collection name or the path. So, I would suggest enabling this with a switch on the connect-site command, such as "-CreateOK", which will create the site collection if it doesn't already exist at the path, but still connect to the site if it does.
Note to others with this suggestion: There is also a potential workaround - which is to ensure the SharePoint Online modules are loaded, and use the SPO powershell command New-SPOSite before executing the connect command.
Having the option in the ShareGate command would be simpler, though.
If you're doing your migration with a PowerShell script and a list of targets, you can simply add the -WaitForImportCompletion parameter to your command line, and your loop will wait for each job to finish before the next iteration starts.