SharePoint site template not applying

Brass Contributor

I think there are probably quite a few people in the same boat as me.

I have created a Modern SharePoint Communication site that I would like to save as a template to apply to future sites, to speed up creation time.
Unfortunately apply to template to a new default site does nothing. This is the process that I am going through:

Extract JSON script for site:


Connect-SPOService -Url $AdminCenterURL
$SiteSchema = Get-SPOSiteScriptFromWeb -WebURL $siteurl -IncludeBranding -IncludeTheme -IncludeRegionalSettings -IncludeSiteExternalSharingCapability -IncludedLists ("Lists/Events","Shared%20Documents")



The resulting JSON is saved locally.


Get-Content 'C:\Test\Extranet Template site - JSON.json' -Raw | Add-SPOSiteScript -Title "Extranet site template"

Add-SPOSiteDesign -title "Extranet Site Template" -WebTemplate "64" -SiteScripts "cbfaedfb-9403-4601-aeb1-3382c7592af1" -Description "Extranet Site Template"



I am then able to see the template in SharePoint Online, but when I apply this to a new site I am told that it has applied successfully but nothing has been changed. I have tried tis in both Edge and Chrome.



1 Reply