Power Community

Power Community

Applying site designs failing to apply the site design to SharePoint

Applying site designs failing to apply the site design to SharePoint Microsoft Office 365, Microsoft SharePoint, Microsoft SharePoint Online image 1

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.

AddSiteDesignTaskToCurrentWeb example

This post was originally published on this site

- Advertisement -spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

Locking down SharePoint so only Integrated App can be used

This is an issue that has been the subject of many questions and below is the series of processes...

More Articles Like This

- Advertisement -spot_img