We can call the SharePoint Online REST API from Power Automate and execute the ApplySiteDesign method, which will apply a given design to the target site.
In Power Automate, add the SharePoint Action called "Send an HTTP request to SharePoint".
Property | Value |
---|---|
Site Address | Set it to the root site |
Method | Post |
Uri | /_api/Microsoft.SharePoint.Utilities.WebTemplateExtensions.SiteScriptUtility.ApplySiteDesign |
Headers | accept: application/json;odata.metadata=minimal |
Body | {"siteDesignId": "<>", "webUrl":"<>"} |
In the end, it should look similar to this.
