Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

MS Flow Automated Deployment



I created several flows in dev tenant. i want to move the flows to UAT enivorment using scripts ( automated deployment.).

According to my design, one workflow calls another calls using http url ( modular pattern). 


  •  Need to get the url of imported workflow using scripts.
  •  Need to setup mail connection and SharePoint connection using scripts. 

Is that possible in MS Flow ( Office 365 Product) using scripts or any automated approach ?

Kindly clarify.






Community Support Team
Community Support Team

Re: MS Flow Automated Deployment

Hi @Derrick_Jeevan,


Do you want to deploy Microsoft Flow automatically with scripts?


I afraid that it is impossible to deploy flows automatically with scripts in Microsoft Flow currently. If you want to deploy Microsoft Flows to different environment, you could consider manually export the flow and import it into different environment.


More details about exporting and importing Microsoft Flows across environments, please check the following article:

Export and import your flows across environments


In addition, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Power Up

Re: MS Flow Automated Deployment

Hi @v-xida-msft 


We have to resolve the connections and enable the flow after every solution import, if the solution contains flow. This is adding configuration overhead. It would be better if atleast connections and status of the flow persists on the environment after it is deployed first time.

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 52 members 4,684 guests
Please welcome our newest community members: