3

SharePoint Site Design and Scripts are only available in Office 365 modern UI. It's not available in SharePoint 2019 on premise version. See note in this URL: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview In SharePoint 2019 on-premise changing and applying of themes are quite same as SharePoint 2013 on-...


3

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

The webtemplateId for Modern team site without O365 group is 1. So, you can set the value as below: $adminSiteUrl = "https:url.sharepoint.com" $siteScriptFile = $PSScriptRoot + "\customTeamSiteScript.json" $webTemplate = "1" Reference - Get a list of web templates and IDs in a SharePoint site While the reference link is quite old, one way to find out the ...


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 ...


2

PNP recently added capabilities for working with modern pages to their core javascript library and their powershell commands. For example, the Add-PnPClientSideWebPart powershell command allows you to add a web part to a modern page. So, all you'd have to do is create an azure function that uses the pnp powershell to add the desired web parts, and call the ...


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 ...


1

Creating folders inside document library using Site design script is not possible. However, you can trigger a flow using site design script which will create default folders inside document library. More information on triggering flow at: Trigger a flow Similar issue on GitHub: Is there JSON code to create Folders in a document library? Additional Reference: ...


1

Currently adding user/group as Site Collection Administrators is not possible using Site design JSON. addPrincipalToSPGroup action currently only supports the Visitors (permission level: read), Members (permission level: contribute or edit, depending on the site template), and Owners (permission level: full control) groups. Source: Add users (principals) ...


1

Per my research, there is no "add folder" subaction when we create a new SharePoint list using JSON schema. For more information,please refer to: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema


1

I don't think we can create permission level with Power Automate. You can achieve this by using Azure function or Azure Runbook to execute code (C# OR PowerShell). The Azure function & Runbook both can be triggered from Power Automate to execute the script (using Web hook for Azure function & Azure Automation connector for Runbook). The script if ...


1

SharePoint Site Template ID – Microsoft Office 365 for your reference: https://www.technologytobusiness.com/microsoft-sharepoint/sharepoint-online-site-template-id SharePoint Online Site Template ID list for PowerShell for your reference: https://vladtalkstech.com/2019/12/sharepoint-online-site-template-id-list-for-powershell.html


1

You need to use the ApplySiteDesign method of the Tenant class. In that method, you need to pass the site design's Id. For that you first need fetch the site Design id that you want to apply and then use the ApplySiteDesign method to execute the site design on the site collection. The code for that would be as below: var tenantUrl = "https://<tenant&...


1

If you are trying to add a choice column to your list then you need to pass the choices to field. Check below example: { "verb": "addSPFieldXml", "schemaXml": "<Field ID=\"{596cbd92-36e3-40cc-a910-0f53468ce5e4}\" Type=\"Choice\" DisplayName=\"Project Category\" Required=\"FALSE\&...


1

You can use PnP templates in Microsoft Flow to provision SharePoint entities. This article describes how to provision sites, lists, libraries, and Modern pages using PnP templates from Microsoft Flow. Note, this is provided as an action in the Plumsail SP connector, which is a part of Plumsail Actions product. It is a paid product.


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