
There are times when you want to save a SharePoint (SP) site as a template but the option doesn’t appear in the Site Settings page.
To overcome this there are a few different things you can try.
First, and easiest is just to try accessing the save template page directly:
https://your-site-url/_layouts/15/savetmpl.aspx
Code language: plaintext (plaintext)
If this fails, it could be that saving as a site template is disabled on the site. You can try re-enabling it via the SP management shell:
# Get a reference to the target site
$web = Get-SPWeb https://your-site
# Update the property bag value and set it to the string value "true"
$web.AllProperties["SaveSiteAsTemplateEnabled"] = "true"
$web.Update()
Code language: PowerShell (powershell)
With the ‘save as template’ function re-enabled you should now be able to access the save template option in the web browser via Site Settings or the direct link to the save template page quoted above.