kwizcom banner advertisement

SharePoint Online: Save Site as Template Option Missing?

Problem: "Save Site as Template" option missing in SharePoint Online!
sharepoint online save site as template missing


How to Enable Save Site as Template in SharePoint Online?
To fix this problem, we need to enable custom scripts. Here is how to fix the save site as template not available issue.
  • Login to SharePoint Online Admin Center
  • Click on Settings from the left navigation >> Scroll down to "Custom Script" section
  • Set "Allow users to run custom script on personal site" and "Allow users to run custom script on self-service created sites" options. 
    sharepoint online save site as template error
  • Click on "OK" to save your changes.
This enables save site as template link. However, this change may take up to 24 Hours to reflect. To enable scripting on a particular site collection immediately, use this PowerShell script in SharePoint Online Management Shell.

SharePoint Online save list as template URL: https://crescent.sharepoint.com/_layouts/15/savetmpl.aspx

PowerShell to Fix Save Site as Template Option Missing in SharePoint Online Issue:
Use this PowerShell script to immediately enable custom scripting.
#Config Parameters
$AdminSiteURL="https://crescent-admin.sharepoint.com"
$SiteURL="https://crescent.sharepoint.com"
 
#Get Credentials to connect
$Cred = Get-Credential
 
#Connect to SharePoint Online Tenant Admin
Connect-SPOService -URL $AdminSiteURL -Credential $Cred
 
#Disable DenyAddAndCustomizePages Flag
Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False

This brings it back save site as template option in SharePoint Online site collection.
save site as template not available in sharepoint online

Please note, the change by PowerShell script can be overridden in the next 24 hours, If the settings don't match in SharePoint Online Admin center! So make sure you have same settings (either disable or enable) both in PowerShell and in SharePoint Online Admin center "Custom Script" section.
Save as Template option is not supported for publishing sites and in sites with Publishing server infrastructure feature enabled!

SharePoint Online: Save Site as Template Option Missing? SharePoint Online: Save Site as Template Option Missing? Reviewed by Salaudeen Rajack on June 21, 2017 Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.