Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

MS Flow Automated Deployment

(3) ShareShare
ReportReport
Posted on by 6

Hi,

 

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.

 

Thanks

Derrick

 

 

  • Pavan Deepala Profile Picture
    32 on at
    Re: MS Flow Automated Deployment

    I think now we have a solution for your issues now. But please note that the connections will be in the context of the user. Use deployment user as a service account , Please refer https://docs.microsoft.com/en-us/power-platform/alm/conn-ref-env-variables-build-tools 

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Hi : MS Flow Automated Deployment

    Hi @Anonymous

    https://docs.microsoft.com/en-us/connectors/microsoftflowforadmins/

     

    Have you had a look at this new connector? 

  • Community Power Platform Member Profile Picture
    on at
    Re: MS Flow Automated Deployment

    Hi @MattWeston365 thanks for your reply. I know lots of PowerShell commandlets are available in the PowerShell gallery. But I didn't find any of commands related to deployment of flow. If you give any example for automated deployment for flow that will be great for me thanks!. 

  • MattWeston365 Profile Picture
    1,701 on at
    Re: MS Flow Automated Deployment

    Hi @Anonymous you can do a lot of things with the PowerShell commandlets which are available in the PowerShell gallery. The module you need to install is Microsoft.PowerApps.Administration.PowerShell, however just be aware that you will need a Per User (premium) license applied to be able to use these commandlets.

     

    https://www.powershellgallery.com/packages/Microsoft.PowerApps.Administration.PowerShell/2.0.21

  • Community Power Platform Member Profile Picture
    on at
    Re: MS Flow Automated Deployment

    I also want to deploy my flow to dev environment to UAT  environment using any Automated Deployment process (like script or Dev ops CI CD etc.).   

  • Svsaran Profile Picture
    8 on at
    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.

  • v-xida-msft Profile Picture
    on at
    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:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Kris

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow