Converting a Classic SharePoint site to a modern Communications site

1.7/5 - (12 votes)

Earlier today, I was working with a customer to begin enabling Viva Connections.

One of our prerequisites is ensuring the root site is the home site and that it is configured as a modern Communications site.  For customers that provisioned their SharePoint environments several years ago but never really invested time in it, it the default SharePoint site may still be a legacy classic team site.

Fortunately, we have a quick way around that:

In order to convert a classic site to a modern Communications site, follow these steps:

Ensure you have the latest SharePoint Online PowerShell module.  If you don’t have the SharePoint PowerShell module at all, launch an elevated PowerShell prompt and run:

Install-Module Microsoft.Online.SharePoint.PowerShell

If you have an older version and want to update it, launch an elevated PowerShell prompt and run:

Update-Module Microsoft.Online.SharePoint.PowerShell

Run the following commands, replacing <tenant> with your SharePoint Online tenant name.

$AdminCenterURL="https://<tenant>-admin.SharePoint.com"
$SiteURL = "https://<tenant>.sharepoint.com/"
Connect-SPOService -Url $AdminCenterURL
Enable-SPOCommSite -SiteUrl $SiteURL

Congratulations! Your default site has now been upgraded to a modern Communications site template! (Bonus: this trick works for any classic site you want to change).

Communicate away!