Changing your SharePoint online root site to a communication site

In this article we will look at how to change the root site of your SharePoint online tenant.


By default your SharePoint Online default site is unlikely to be the site you want users to go to.


Using the Invoke-SPOSiteSwap command inside of the SharePoint Online Management Shell we are able ot change the root site.

Download and install the management shell

And then use your version of the following script to change your tenant root site. You will have to have admin access to the tenant to be able to do this

$targetSite = “”
$soureSite = “”
$archiveSite = “”
Connect-SPOService -Url
Invoke-SPOSiteSwap -SourceUrl $soureSite -TargetUrl $targetSite -ArchiveUrl $archiveSite


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s