Forum Discussion
SharePoint Online - save as a site template
ganeshsanap Thank you for responding. I did read that it is not supported so this could be the reason. How do I save the site as a template then? I have read through the documentation and it only states what not to do with a modern site.
laceyk Microsoft recommends doing it using PnP Provisioning engine.
Check this documentation: Introducing the PnP provisioning engine
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- SigmaDX_JHOct 31, 2024Copper ContributorI just wanted to add that although "Microsoft Recommends using the PnP Provisioning Engine" - The documentation also states:
"The PnP Provisioning Framework & PnP Provisioning Engine are open-source solutions with active community providing support for it. There is no SLA for the open-source tool support from Microsoft."
So - The Method Recommended By Microsoft is NOT Supported By Microsoft.
I have found several bugs and mis-labeled functions in the PnP Provisioning Suite - it does NOT necessarily work as the documentation states, and there is NO official support.
This item alone caused us to fail our ISO27001 audit.
Microsoft need to provide a method of exporting/importing site templates that they DO support. - laceykApr 27, 2023Brass ContributorI have successfully gotten PowerShell pnponline cmlet installed finally. I can take a back up of the site and push it to a new one, all works ok. However I cannot make it as a site template so users can select it when creating a new site.
This PowerShell process is all good for pushing a site template down to a new site but standard users won't be able to do that. So I think it is a case of document libraries with templates just do not copy across which is a huge pity. - laceykApr 20, 2023Brass Contributor
ganeshsanap I am trying to get PnP Powershell working on my machine. It states global admin is needed to connect it to the tenant first.
- laceykApr 27, 2023Brass ContributorI have successfully gotten PowerShell pnponline cmlet installed finally. I can take a back up of the site and push it to a new one, all works ok. However I cannot make it as a site template so users can select it when creating a new site.
This PowerShell process is all good for pushing a site template down to a new site but standard users won't be able to do that. So I think it is a case of document libraries with templates just do not copy across which is a huge pity.