2

I solved it! Did it by adding -Encoding UTF-8 like this: Get-Content 'C:\PATH\Site Designs\poc_site_design.json' -Raw -Encoding UTF8 | Add-SPOSiteScript -Title "POC Site design"


2

It is not available yet. Check the image below from SPC 2019, in the right hand side under SetSiteBranding heading, you will find Footer Visibility action. I checked the latest schema and right now its not available, but other capabilities like Header layout, background and Navigation visibility are available. So, would expect the Footer visibility ...


1

Use &lt; instead of less than symbol. You can try below: "verb": "addSPFieldXml", "schemaXml": "<Field Type=\"Calculated\" ResultType=\"Text\" Name=\"CalcProbability\" DisplayName=\"Probability\" Required=\"FALSE\">. <Formula>=IF([Probability Value]&lt;0.5,\"Rare\",\"Likely\")</Formula></Field>"


1

You are passing the string incorrectly. Enclose it inside @' and '@ as mentioned below: $pnpTemplate = @' { "$schema": "schema.json", "actions": [ { "verb": "createSPList", "listName": "Customer Tracking", "templateType": 100, "subactions": [ { "verb": "SetDescription", "description": "List of ...


Only top voted, non community-wiki answers of a minimum length are eligible