In this video I demonstrate how to change / swap the root SharePoint site in an Office 365 SharePoint environment.
This process essentially swaps the root site with another site that you specify.
This is a nice process to use because you can create your new root site, then swap it with your current root site when you deem the time is right.
The original root site is archived, so you do not lose any data.
Here are a few reasons why you might want to do this:
1. Your root site is currently a Classic site (Team Site, Publishing Site, etc.) and you want to swap it with a Modern site (Hub Site, Communications Site).
2. Your root site is currently a Modern site and you want to swap it with a classic site.
3. You want to use this operation as a deployment mechanism as part of your ALM where you swap a ‘production’ site with a ‘development site’.
Learn more about the PowerShell command here: https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/invoke-spositeswap?view=sharepoint-ps