Commands › SharePoint Online
Add-SPOSiteDesign
Creates a new site design available to users when they create a new site from the SharePoint home page.
Quick start script
# Add-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
Add-SPOSiteDesign -SiteScripts <SPOSiteScriptPipeBind[]> -Title <String> -WebTemplate <String> | Format-List
# 3. Export for evidence / drift tracking
Add-SPOSiteDesign | Export-Clixml .\SPOSiteDesign-$(Get-Date -Format yyyyMMdd).xml
Syntax
Add-SPOSiteDesign -Title <String> -WebTemplate <String> -SiteScripts <SPOSiteScriptPipeBind[]>
[-Description <String>] [-ThumbnailUrl <String>] [-PreviewImageUrl <String>] [-PreviewImageAltText <String>]
[-IsDefault] [-DesignPackageId <Guid>] [<CommonParameters>]
Parameters (9)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.