Create a SharePoint online site using Power Automate flow
In this article, I will demonstrate how to provision a SharePoint online modern site using a Power automate flow. As there is no standard Power automate action for creating a SharePoint site (previously called “site collections”) using SharePoint connector, we will use the Send an HTTP Request to SharePoint action and SharePoint REST API in Power automate flow.
Follow below steps to create a SharePoint online modern communication site using Power Automate flow:
1. Go to make.powerautomate.com and create a new Instant cloud flow with Manually trigger a flow trigger.
2. Add Send an HTTP request to SharePoint action in Power automate flow.
3. Use configurations for Send an HTTP request to SharePoint action in below format:
Method: POST
Uri: _api/SPSiteManager/create
Headers:
{
"accept": "application/json;odata=verbose",
"content-type": "application/json;odata=verbose"
}
Body:
{
"request": {
"Title": "My Communication Site",
"Url": "https://contoso.sharepoint.com/sites/MyCommSite",
"Description": "My Communication Site created using Power Automate flow",
"Owner": "gsanap@contoso.com",
"Lcid": 1033,
"WebTemplate": "SITEPAGEPUBLISHING#0",
"SiteDesignId": "6142d2a0-63a5-4ba0-aede-d9fefca2c767",
"ShareByEmailEnabled": false
}
}
Where,
Url
URL for the new SharePoint online modern site (site collection)
LCID
Locale identifier (LCID) for the site language. 1033 is for English language, check LCID for other languages at: Language.Lcid property
WebTemplate
WebTemplate property is used to specify which type of SharePoint site to you want to create. You can use following values for this property:
- Communication Site:
SITEPAGEPUBLISHING#0 - Team Site (not connected to M365 group):
STS#3
SiteDesignId
SiteDesignId property is used to apply site template (previously called “site design”) to newly created SharePoint site.
If you want to apply an out-of-the-box available site template, use the following values:
- Topic:
96c933ac-3698-44c7-9f4a-5fd17d71af9e - Showcase:
6142d2a0-63a5-4ba0-aede-d9fefca2c767 - Blank:
f6cc5403-0d63-442e-96c0-285923709ffc
ShareByEmailEnabled
If this property is set to true, it will enable sharing SharePoint files via Email.
Your final Power automate flow should look like this:

4. Save your flow and Run it using Test > Manually options at the top right corner. After flow run completes successfully, navigate to the site URL mentioned in Send an HTTP request to SharePoint action in Power automate flow and you will see a newly created SharePoint online modern communication site like:
