1

Can anyone advise me if it's possible to add a site template to the available Site Templates on SharePoint Online? I've run the Get-SPOWebTemplate and returned the following set.

SPO Tenancy Templates

I've created a site based on one of these and customised it to the point that I'd like to use it as the root site for future site collections, so I've taken a template/WSP of it. Thus, my question is either: -

  • How can I add my Site Template to those available to the Tenant? OR
  • What other ways can I consider to successfully use my Site Template as the root site for a new site collection?

Thanks in advance

  • You won't be able to, templates to provision collections would be at the farm level and we don't have access to that. There are a lot of provisioning examples on the PnP Github repo, github.com/OfficeDev/PnP/tree/master/Samples – Eric Alexander Sep 23 '15 at 14:24
  • This is what I was suspecting but wanted to confirm. I suppose it's not possible to point the New-SPOSite cmdlet to a URL of a sub-site and have it replicate that? And thanks for the link, I'll get a look. – Steven D Andrews Sep 23 '15 at 14:26
  • No, you have to use CSOM for that, they do have a way for you to templatize a site and use their provisioning engine to create instances off that, I thought it was for webs only though and not sites (I haven't tried it). We are templatizing the provisioning aspect by having business rules wrapping new-sposite but not doing any customization or branding in SPO. – Eric Alexander Sep 23 '15 at 14:29
  • Right, it's the CSOM / Powershell trick you mention that I'm looking for. Any links that you can refer me too? – Steven D Andrews Sep 23 '15 at 14:37
  • From the github repo, this is probably the closest github.com/OfficeDev/PnP/tree/master/Samples/…. Vesa has a great overview but it is a little dated, blogs.msdn.com/b/vesku/archive/2013/08/23/… – Eric Alexander Sep 23 '15 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.