Forum Discussion
Inkey_Solutions
Apr 18, 2022Copper Contributor
Need help regarding clone SharePoint Site based on existing one
Hi,
We need guidance in creating SharePoint Sites based on existing one. We have to create list of SharePoint Site based on existing one. Existing SharePoint Site have few Libraries and some custom Security Groups that we would like to be created in cloned Site.
We have tried the "Save as Template" action/feature of the SharePoint Site but this option is not available for us. Please note, we would like to clone Communication Site.
Any help will be appreciated.
Thank you
- PnP provisioning templates allow you to do this.
The easiest option is to get a site template with PnP.PowerShell:
https://pnp.github.io/powershell/cmdlets/Get-PnPSiteTemplate.html
Then review the template XML to clear anything not required and apply to new sites:
https://pnp.github.io/powershell/cmdlets/Invoke-PnPSiteTemplate.html
Have done this to multiple clients over the years and works great