Commands › SharePoint Online
Invoke-SPOSiteDesign
Applies a published site design to a specified site collection target. This allows a site design to be applied to an existing site collection. The supported site templates you can apply a site design to include: "modern" team site (with O365 group), "modern" team site (without an O365 group); communication site; classic team site; and classic publishing site.
Quick start script
# Invoke-SPOSiteDesign — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com
# 2. Run and inspect
Invoke-SPOSiteDesign -Identity <SPOSiteDesignPipeBind> -WebUrl <String> | Format-List
# 3. Export for evidence / drift tracking
Invoke-SPOSiteDesign | Export-Clixml .\SPOSiteDesign-$(Get-Date -Format yyyyMMdd).xml
Syntax
Invoke-SPOSiteDesign -Identity <SPOSiteDesignPipeBind> -WebUrl <String> [<CommonParameters>]
Parameters (2)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.