Forum Discussion

isabasu's avatar
isabasu
Copper Contributor
Feb 27, 2019
Solved

Add new SPWeb with Sitescript?

Hey there   Is there a way to add a new SPWeb (Subsite) via PnPPowerShell (or any other way?) with a site script? I am aware of applying a site script AFTER the creation, but this will cause some u...
  • Beau Cameron's avatar
    Mar 07, 2019

    Be aware that Site Designs and Site Scripts do not work well with sub sites. Sub sites are kind of a "faux pas" in the modern world. If you try to create a subsite, there are many scenarios where the site script will not work (for example, site content types and columns are known to not deploy on subsites)

Resources