May 13 2018 12:17 AM - edited May 13 2018 06:53 PM
I implemented a custom site design for modern Team sites in my tenant, which I can create without issues using the Create Site button and select from a drop down. But I'd like to provision my team sites using the New-PnPSite cmdlet. This cmdlet contains params for -Type and -SiteDesign.
If I set Type="CommunicationSite" and SiteDesign to "Topic" or "Showcase" then New-PnPSite works as expected. But if Type="TeamSite" and SiteDesign="[My custom Team Site Design]", Powershell reports an error of "A parameter cannot be found that matches parameter name 'SiteDesign'.".
Anyone know if this is expected behavior and if so, why? I realiz that OOTB there is only a single default site design for Team sites, so it would make sense that you can't set a SiteDesign by default. But since its possible to create custom site designs for team sites it seems like the ability to specify the SiteDesign is just as important for team sites and comm sites.
Regards,
Tom Castiglia
Jul 31 2019 07:28 AM
@Tom Castiglia Did you ever find a solution for this? I am having the same issue.