Problem: my Project Management team wants to roll out a series of 4 new lists to ~100 existing SharePoint sites (classic sites in Project Web App).
Approach:
1. use Get-SPOSiteScriptFromList to get the script to create and customize the list, then
2. use Add-SPOSiteScript to push the list(s) to SharePoint Online, then
3. use Add-SPOSiteDesign to collect the scripts into a Design <-- here is where the problem comes in
4. use Invoke-SPOSiteDesign to push the new Design to existing SP sites.
The problem with Add-SPOSiteDesign is that it requires a "-WebTemplate" parameter (64 for Team, 68 for Communication, 1 for Group w/o Teams... if my memory is correct). I don't want to corrupt my existing project sites by changing the site template.
is the Template value ignored during the Invoke command, since the site already exists and cannot be changed?
is the value "1" safe to use for classic sites that do not use the functionality of Teams, Groups, or Communication
Should I attempt to identify a Template value for the classic PWA sites and put that into the SiteDesign?
Is there a better option for deploying custom lists to a lot of sites other than through SiteDesign? There are 4 lists that have to be rolled out, each with specifically customized Fields and Views. For example, there is a command New-PnPList, however it only allows the OOTB list types, which means I would need to add a custom list and then add all of the customized Fields and Views anyway, so that doesn't seem better than using SiteDesign.