Microsoft published an update MC294082, which says "Now you have the choice to use SharePoint PowerShell cmdlets to decide which Microsoft-provided site templates will be displayed or hidden when viewing the site template gallery" with Set-SPOBuiltInSiteTemplateSettings.

Is there a way to apply any of Microsoft-provided site templates (Built In Site Templates) to a site with PowerShell? Invoke-SPOSiteDesign with Built-In Site Template Id fails with Invoke-SPOSiteDesign : File Not Found. error message.

2 Answers 2


You could use Invoke-SPOSiteDesign to apply site design on existing site. Please make sure the ID you used is correct.

PowerShell commands:

#Set Parameters
$AdminCenterURL = "https://xxx-admin.sharepoint.com/"
$SiteURL = "https://xxx.sharepoint.com/sites/xxx"
$SiteDesignId = "xxxxxx"
#Connect to SharePoint Online
Connect-SPOService -Url $AdminCenterURL -Credential (Get-Credential)
#Apply Site Design
Invoke-SPOSiteDesign -Identity $SiteDesignId -WebUrl $SiteURL

For Reference: SharePoint Online: Create Site Design and Site Scripts using PowerShell

  • Hi Casey. There is no problem invoking custom site design. My question was a little different: how to invoke a built-in (Microsoft-provided) site design Nov 17, 2021 at 17:03

the existing PnP PowerShell and SPO Management shell don't allow you to apply OOTB Site Design template to a site collection. If you want to apply OOTB site design template to a site collection, you can use REST API with following syntax:

Property Value
Method POST
Url https://{{r_siteUrl}}/_api/Microsoft.SharePoint.Utilities.WebTemplateExtensions.SiteScriptUtility.ApplySiteDesign
Body {
"siteDesignId": "{{r_sitedesignId}}",
"webUrl": "{{r_targetSiteUrl}}",
Description r_siteUrl: the site collection you want to run REST API
r_sitedesignid: this is OOTB site design template id which can get from Set-SPOBuiltInSiteTemplateSettings
r_targetSiteUrl: the site collection Url you want to apply to. r_siteUrl and r_targetSiteUrl can be a same site collection

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.