Jul 28 2022 01:28 AM - edited Jul 28 2022 01:38 AM
Hi
I've got a Site which I need to duplicate, after a bit of research it looks like a Teams Site (based off office groups).
Is there any way I can get a site template from this?
Thanks
Jul 28 2022 01:48 AM
@Lee-Martin
You can use PnP.PowerShell module to export site and create new site from exported template.
Command for Exporting Tenant Template: https://pnp.github.io/powershell/cmdlets/Get-PnPTenantTemplate.html
Common for Creating new Site from your Template: https://pnp.github.io/powershell/cmdlets/Invoke-PnPTenantTemplate.html
Make sure that you can update Site URL and Title in exported file before using Invoke-PnPTenantTemplate.
Hope it will be helpfull to you.
Jul 29 2022 06:30 AM
Jul 29 2022 06:46 AM
Jul 29 2022 06:52 AM
Jul 29 2022 06:55 AM
Jul 29 2022 07:02 AM
Jul 29 2022 07:13 AM
Jul 29 2022 07:17 AM
Jul 29 2022 01:00 PM - edited Jul 29 2022 01:02 PM
Yes, you need to have admin access to SharePoint to be able to use PnP PowerShell.
Alternatively, you can use a migration tool to make a copy of the site. You can start exploring SharePoint migration tool by Microsoft which is free to use. SPMT Even to use migration tool, you need to have at least site collection admin access for a successful migration.
If you don't want to deal with all of this, you can create your site manually and create individual lists using 'create from existing lists' functionality'. It takes time but you will get there.
Aug 01 2022 05:51 AM