web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flows in Solutions - m...
Power Automate
Unanswered

Flows in Solutions - moving between environments, best practice

(1) ShareShare
ReportReport
Posted on by

Hi, I have been trying to use Solutions for better management of Flows. For instance, packing 5 different Flows built for an application, into a Solution. Let's say I now want to deploy the solution from dev to test environment. Everything works fine the first time, when target environment doesn't have this solution yet (simple export -> import).

 

Problems start when I edit 1 of the Flows in Dev and then would like to apply that update to Test env. I changed content of a 'compose' action and tried 2 approaches:
1) Publish customizations -> export solution from dev -> import solution in test

The whole process seems to go fine, my existing solution in Test gets a new version number. But the 'compose' action has not changed at all. It's still the old version. 

2) Instead of exporting the whole solution: export just the Flow I had edited from the Solution in Dev. 

- There is no option to import the new version of existing Flow into the solution from a .zip file

- If I try to import it as a normal Flow and select 'Update' - it doesn't see Flows in Solutions, so I can't select the one I want

- If I import it as a normal 'new' flow, I can then add it to the solution, but it doesn't replace the one that is already there, but creates a new one. So this doesn't seem to be the correct process at all.

 

What is the best practice in such case? Is there no way to update an existing solution with changes from different environment so it applies all changes inside a Flow?

 

Thanks!

Categories:
I have the same question (0)
  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @Anonymous 

     

    I have run into the same thing. This seems to be a limitation on the way solutions are handled at this time.

     

    I do believe the product team (or someone) is working on a process to automate the deployments using DevOps CICD pipelines. This will require the Flows to be in the solution.

     

    As of right now. Me and my organization stay away from putting flows into a solution unless we have to: (Common data service current environment). Even in that case we can create the flow in the solution, than export out so it is not in one.

     

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

     

  • Community Power Platform Member Profile Picture
    on at

    Thanks Josh, if that's the case, using Solutions would make no sense. But managing tens (or more) various Flows for different purposes in one long list, without even grouping those, is not good either. I'm still curious of experiences of other community members.

  • Reigningfear Profile Picture
    139 on at

    I am running into this exact issue right now. I make changes in my DEV environment and upon importing, nothing is changed despite the modified column indicating it is new. I hope you've found a solution to this since your last post or if not, hopefully someone has a solution that I am unaware of. 

  • bob_cobra Profile Picture
    6 on at

    Are there any updates on this as it seems counterintuitive to using a managed solution. 

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @

    Hello @bob_cobra 


    Could you please test this again. Save the Flow in the Dev environment to get the new runtime.

     

    and try to export and import. Make sure to publish the changes.

  • bob_cobra Profile Picture
    6 on at

    When the flow is in a managed solution it doesn't work. I tried yesterday before posting here. I deleted a send email v2 action and replaced it with a send from shared mailbox action. I saved the flow published the managed solution and imported it to production. The changes were not reflected in the production managed solution flow. I tired both options of update and overwrite. I had to delete the solution in production and reimport to see the changes.

  • jimr1 Profile Picture
    15 on at

    I was only able to address a similar issue after following the step mentioned here:
    Solved: Re: App is not updated after I move the solution t... - Power Platform Community (microsoft.com)

    to remove the 'unmanaged' layer in a child flow. My solution more than a couple of child flows and connections, but it appears that only one had the problematic 'active' layer listed.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard