Applying site designs failing to apply the site design to SharePoint
Today I tried to apply a site design to a SharePoint site using Power Automate, however this would just not work without any failure being reported.
ApplySiteDesign
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.
So how do we make this work? Site Designs easily go past that 30 actions limit.
Site Design tasks
The answer is luckily very simple.
We just need to create a Site Design Task. This task will then be processed. There is a specific endpoint for creating site design tasks, AddSiteDesignTaskToCurrentWeb. This end point will create a task and then update your sites quite quickly. In my case within minutes my sites were updated.
Continue Reading Pieter Veenstra’s Article on their blog
Applying site designs failing to apply the site design to SharePoint
Today I tried to apply a site design to a SharePoint site using Power Automate, however this would just not work without any failure being reported. This is going to be a quick post. But hopefully this will help someone else spend too much time on this issue.
Blog Syndicated with Pieter Veenstra’s Permission
More About This Author
Array
- Modern Workplace26 March 2024Receive the available storage within your SharePoint Online tenant
- Modern Workplace20 March 2024Options for Documenting Your Power Apps: Comments, Code, and Controls
- Modern Workplace18 March 20242 ways to duplicate SharePoint Lists to support your Power Apps
- Modern Workplace14 March 2024Update a Hyperlink Column in SharePoint with Power Automate