Forum Discussion
C Edwards
May 08, 2018Brass Contributor
How to set a blank SharePoint site template using PowerShell
Hi All,
I have a SharePoint online site that uses a blank template. How do I update the site so it uses the new modern Team Site (STS#3) using PowerShell? The template doesn’t show up when I go to the site from an internet browser and it asks, “Select a Template”.
I have tried:
$spWeb = Get-SPOSite -Identity "https://company.sharepoint.com/"
$spWeb.Template = "STS#3"
but the Get-SPOSite PowerShell command doesn't have an update property.
For other reasons I can not delete the SharePoint blank site and use the New-SPOSite.
I hope you can help.
Colin
1 Reply
- You cannot update the site template of an existing site...this feature has never provided by Microsoft and won't be provided in the future...might I ask what you need? You can activate features in your site that will extend it or you can also create a PnP template that can extend your site too