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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Power Automate - Send HTTP Request to create new SharePoint site

(0) ShareShare
ReportReport
Posted on by 22

Hi Microsoft Community,

I have a 'Send an HTTP Request' action with to automatically create a new site. I would like to know the following:

(1) How do I set the site to be externally sharable?
(2) Is it possible to set multiple site owners?
(3) Is it possible to apply a Site Template?
(4) Where can I find all possible settings which I can enable/disable in this action?

{
"request": {
"Title": "@{body('Get_response_details')?['r705da65678e641c0a493e25657fbcfb8']}",
"Url": "https://site.sharepoint.com/@{variables('Site Type')}/@{body('Get_response_details')?['r94a5f81970704a628d888beba07a5e24']}",
"Description": "@{body('Get_response_details')?['rb7bf9c9c672642979f240fe845753268']}",
"Owner": "@{body('Get_response_details')?['r8052762237fe4eb0b998a9b3b48258fc']}",
"Lcid": 1033,
"WebTemplate": "@{variables('WebTemplate')}",
"SiteDesignId": "6142d2a0-63a5-4ba0-aede-d9fefca2c767",
"ShareByEmailEnabled": false,
"SharingCapability": @{variables('External Sharing')}
}
}

Categories:
  • Verified answer
    Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @Frashe,

     

    1. You can set the SharingCapability to either 1 (New and existing guests), 2 (Anyone) or 3 (Existing guests only). When the value is 0 it is Only people in your organization.
    2. You should be able to add more people to the owners group after the site has been created.

    3. Use the SiteDesignId property for that. Alternatively, you can use AddSiteDesignTasktoCurrentWeb method as well:

    https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-rest-api#addsitedesigntasktocurrentweb

    4. The docs for the method you are using can be found over here: https://learn.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest

     

     

  • Frashe Profile Picture
    22 on at

    Thanks @Expiscornovus , you are really awesome!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard