Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Use Flow Management Create Flow to copy a Flow to a different environment

(0) ShareShare
ReportReport
Posted on by 3

We are using standard SD lifecycle environments where the developers create their flows in dev and then they get promoted to higher environments. We have locked down the export/import feature to prevent users from exporting a flow and importing it into a private tenant and getting at firm data. My steps are as follows:

 

1) Get Flow as Admin

2) Create Flow (using output from above)

 

However, the output of Get Flow does not match the input to Create Flow. I managed to find a working simple example (found here) but it come nowhere close to the actual documentation found here. What am I missing? Or is there a better option?

  • SW-12052019-0 Profile Picture
    3 on at
    Re: Use Flow Management Create Flow to copy a Flow to a different environment

    thanks Deepak! i'm one step closer. i was able to create the flow in the other environment successfully using Get Flow instead of Get Flow as Admin. however, the trigger is broken. that particular flow was using an azure devops connection. how do i make sure to copy the connection properties to the new flow too?

  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at
    Re: Use Flow Management Create Flow to copy a Flow to a different environment

    Hi @wettsten 

     

    Are you getting any error? because flow setup like this should work :

    flowcopy.png

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492