I have to create the SharePoint modern site templates, that I can access from "From your organization templates. I have tried following PowerShell but it seems like pages are not getting applied
Connect-PnPOnline -UseWebLogin Get-PnPSiteScriptFromWeb -url https://test.sharepoint.com/sites/POC -IncludeAll $Json = Get-PnPSiteScriptFromWeb -url https://test.sharepoint.com/sites/POC -IncludeAll $sc=Add-PnPSiteScript -Title "Department template" -Description "Department template" - Add-PnPSiteDesign -Title "Department template" -WebTemplate "68" -SiteScripts $sc,ID -Description "<Description displayed in Step 5>"enter code here Article or script to create Site Template