web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate - custo...
Power Automate
Answered

Power Automate - custom site design doesn't get applied

(0) ShareShare
ReportReport
Posted on by 19

Hi all,

 

I try to apply a custom site design via power automation to a modern SharePoint site, which is created when a new Office 365 group had been created.

 

When I create the Sharepoint site programmatically with the Sharepoint Rest API (see below) OR apply the site template via the Sharepoint UI then the custom site design gets applied. So I know the site design works.

 

Christoph007_0-1676451392161.png

 

But I create the site via the Graph API to have an office 365 group. In the Graph API I couldn't find any way to apply a design so I thought I just create a child flow which solely applies the design. The HTTP post to the Sharepoint site via the Sharepoint API (see below) just doesn't do anything. I spend days now researching but there is no clue why this is not working.

 

Now I'm here and hope someone has an idea how to solve this issue.

 

Many thanks,

Christoph  

 

The HTTP post

Christoph007_2-1676451844990.png

 

The response I got

Christoph007_1-1676451800049.png

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @Christoph007,

     

    How many actions are included in your site scripts which are part of that site design you are trying to apply?

     

    The ApplySiteDesign method is limited to 30 actions, so you might want to try the AddSiteDesignTaskToCurrentWeb method instead:

    https://beaucameron.com/2019/01/10/invoking-a-site-design-task-using-rest/

     

  • Christoph007 Profile Picture
    19 on at

    Hi @Expiscornovus 

     

    Thank you for coming back to me.

    I wasn't aware of this limitation. Do subactions also contribute to the 30 actions limit?

    If yes, then I think I'm above. 

     

    So I tried your proposed method and it works.

    Thank you

  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @Christoph007,

     

    Can you remove that comma at the end? You don't need that because it is a single row in the json. This makes the json invalid.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard