Commands › SharePoint Online

Invoke-SPOSiteDesign

SharePoint Online Microsoft.Online.SharePoint.PowerShell Invoke-*

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)

ParameterTypeRequiredWhat it controls
-Identity SPOSiteDesignPipeBind yes The ID of the site design to apply.
-WebUrl String yes ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction,...

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