Table of Contents
This is going to be a quick post. But hopefully this will help someone else spend too much time on this issue.
Normally the ApplySiteDesign endpoint will apply a site design to a SharePoint site however I found that when you have larger site scripts assigned to your site design then this might just silently fail. The limit is 30 actions in your site script, so this must be quite an easy problem to find.
Applying site designs failing to apply the site design to SharePoint
Applying site designs failing to apply the site design to SharePoint can be caused by a number of different issues. Depending on what is causing the issue, there are several ways of resolving it. Common causes include incorrect permissions, syntax errors in JSON code, or invalid property values. If you have identified that your site design is failing due to an incorrect permission setting, then you will need to check and adjust any existing user permissions for the target web or list where applicable. If there are syntax errors in your JSON code then these must be corrected before attempting to re-apply the site design again. Finally if there are invalid property values set within your JSON code then these also must be corrected before attempting to reapply the site design again.
3 hours ago — Normally the ApplySiteDesign endpoint will apply a site design to a SharePoint site however I found that when you have larger site scripts ...
Sep 18, 2019 — Site designs are an amazing feature that allows you to apply a ... When a site design is applied to your site, some of the settings may fail ...
May 30, 2018 — A site script is a JSON string that contains the actions to be done on a site. A site design, on the other hand, is like a container for the ...