Forum Discussion
Tonje Waasjø
Jun 04, 2019Copper Contributor
Create site from flow
Hi,
Is there a way to create a site from flow? Say that a form is filled out and triggers a flow that creates the site based on the information in the form?
- If it is a modern group connected site you want to create, you could use the Flow Azure AD connector action 'Create group', to create a Unified group - that will provision the modern site collection for you.
7 Replies
Sort By
- jonathan huysmansCopper Contributor
Tonje Waasjø
Yes there is.
Make sure you capture your Forms Data using the forms Connector.
Then you can either use an HTTP Request towards SharePoint as shown in the link below:
https://www.sharepointeurope.com/microsoft-flow-create-new-sub-site-using-microsoft-flow/
Or you can work with Azure Functions etc.
More examples can be found here:
https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-provisioning-sites- Tonje WaasjøCopper Contributor
Thanks so much jonathan huysmans. Can I use this first method even though it is a modern site (site collection) and not a subsite?
- jonathan huysmansCopper Contributor
Tonje Waasjø no you cannot using the first method, but you can use something similar if you're working with the Graph API and using the HTTP Trigger Connector in Flow.
https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-provisioning-sites