Commands › SharePoint Online

Enable-SPOCommSite

SharePoint Online Microsoft.Online.SharePoint.PowerShell Enable-*

Enables the communication site experience on an existing classic team site. Please read instructions in modernize classic team site before attempting to execute this cmdlet.

Quick start script

# Enable-SPOCommSite — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOCommSite
$before | Format-List

# 3. Make the change
Enable-SPOCommSite -SiteUrl <String>

# 4. Verify and diff
$after = Get-SPOCommSite
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Enable-SPOCommSite -SiteUrl <String> [-DesignPackageId <Guid>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-DesignPackageId Guid GUID identifying the [communication site design](https://support.office.com/article/what-is-a-sharepoint-communication-site-94a33429-e580-45c3-a090-5512a8070732). **This is not a required input.** If no input is...
-SiteUrl String yes URL of the site for enabling the modern communication site experience. **This is a required parameter**

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.