I am attempting to grab the Id from a site script generated from Get-PnPSiteScriptFromWeb but am somehow unable to (?) I want to use it in Add-PnPSiteDesign on the following line.
$SPTemplateSite = "https://TEST.sharepoint.com/teams/TeamTemplate"
$SiteScript = Get-PnPSiteScriptFromWeb -Url $SPTemplateSite -IncludeAll | Select Id
$SiteScript.Id
$SiteDesign = Add-PnPSiteDesign -Title "NH Project Site" -SiteScriptIds $SiteScript.Id -WebTemplate TeamSite
Getting an error "Cannot bind argument to parameter 'SiteScriptIds' because it is null."