SOLVED

PowerShell to copy a SPO site (belonging to a Group)?

%3CLINGO-SUB%20id%3D%22lingo-sub-413765%22%20slang%3D%22en-US%22%3EPowerShell%20to%20copy%20a%20SPO%20site%20(belonging%20to%20a%20Group)%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-413765%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHello%20all%2C%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20looking%20for%20the%20best%20solution%20to%20copy%20a%20SPO%20site%20(belonging%20to%20a%20Group)%20between%20sites%2C%20and%20ideally%20create%20a%20template%20from%20it.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESince%20we%20unfortunately%20did%20not%20set%20this%20up%20as%20a%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3ES%3C%2FSPAN%3E%3CSPAN%3Etandalone%20Team%20Site%2C%20using%20the%20'%3C%2FSPAN%3E%3CSPAN%3ESave%20Site%20as%20Template'%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eoption%20is%20now%20not%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Bavailable%20for%20us%20in%20this%20instance.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%26nbsp%3Bthere%20a%20way%20for%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3EPowerShell%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3Eto%20do%20the%20job%3F%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-413765%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-415032%22%20slang%3D%22en-US%22%3ERe%3A%20PowerShell%20to%20copy%20a%20SPO%20site%20(belonging%20to%20a%20Group)%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-415032%22%20slang%3D%22en-US%22%3ETake%20a%20look%20at%20PnP%20Provisioning%20Stufff....It%20will%20allow%20you%20to%20extract%20the%20definition%20of%20your%20site%20and%20use%20as%20template%20to%20any%20new%20site%20you%20provision%20with%20PowerShell%20%2F%20Code%20%2F%20Flow%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hello all,  

 

I am looking for the best solution to copy a SPO site (belonging to a Group) between sites, and ideally create a template from it.  

 

Since we unfortunately did not set this up as a Standalone Team Site, using the 'Save Site as Template' option is now not available for us in this instance.  

 

Is there a way for PowerShell to do the job? 

1 Reply
Highlighted
Solution
Take a look at PnP Provisioning Stufff....It will allow you to extract the definition of your site and use as template to any new site you provision with PowerShell / Code / Flow