I want to execute Add-PnPSiteTemplate command but am not sure with property 'SiteTemplate' and 'TenantTemplate'. Which values are to be passed as parameters.

Please assist how to execute this command successfully.

My requirement is: add Site Template to template 'from your Organization' section of SharePoint site.

Appreciate for help and guidance in advance. Thanks!

  • You need to create site design script JSON & then add it using Add-SPOSiteDesign command. Check this & this. let me know if it helps. Oct 1, 2021 at 5:18
  • Thanks @GaneshSanap for your assitance! Actually I used Add-SPOSiteDesign and it worked but using this how to get replicate of existing SitePages. Because our original requirement is create replica(template) of SitePages of existing site. Site Page has OOTB webpart like QuickLinks, Document Lib, Weather webpart only.
    – Parth Shah
    Oct 1, 2021 at 8:34
  • Hi @Ganesh, please assist here if you have a solution for this.
    – Parth Shah
    Oct 3, 2021 at 16:29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.