Skip to main content

How to Edit a Cloud Flow in a Managed Solution in Power Automate

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

A flow that arrived in a managed solution can't be edited from that solution. Add it to an unmanaged solution of your own, turn it off, edit it, save it and turn it back on. Your change is kept as an unmanaged layer on top of the managed flow.

A managed solution is the installed, locked copy of someone's work (How to Export a Solution in Power Apps (Managed or Unmanaged)). Open one, and a bar above its objects says so: You cannot directly edit the objects within a managed solution. If the managed properties for solution objects are set to allow customization, you can edit them from another unmanaged solution. This guide does exactly that.

The example is a solution called How-to Examples, exported as managed from one environment and imported into another. Its flow, Say Hello, has Manually trigger a flow and one Compose action that outputs Hello. In the new environment, the Compose changes to Hello from this environment.

Step 1: Create an Unmanaged Solution​

In Power Apps, in the environment where the managed solution is installed, select Solutions → New solution (How to Create a Solution and Publisher in Power Apps). I named it How-to Local Changes, and Power Apps filled in Name as HowtoLocalChanges. For Publisher I chose CDS Default Publisher, one of the environment's own publishers:

The New solution panel with Display name How-to Local Changes, Name HowtoLocalChanges, Publisher CDS Default Publisher (Crc95c7), Version 1.0.0.0, Set as your preferred solution unticked, and More options

Select Create. The new solution opens, empty.

Step 2: Add the Managed Flow to It​

Select Add existing → Automation → Cloud flow. The panel explains itself: Select cloud flows from other solutions or cloud flows that aren't in solutions yet. Search for the flow, select it, and select Add:

The Add existing cloud flows panel on the From Dataverse tab, searched for Say Hello, with 1 cloud flow selected: Say Hello, Modified 4 min ago, Managed Yes, Customized No, Status On

The flow now appears in your solution with Managed Yes and Customized No. Adding it doesn't copy it: it's the same flow, now listed in two solutions.

Step 3: Turn the Flow Off​

Microsoft's article on editing solution flows says: "Stop your flow before you edit it so that you don't lose your changes." Select ⋮ next to the flow, then Turn off. The row still said On at first. After I reloaded the page, Status showed Off.

Step 4: Open the Flow in the Designer​

Select ⋮ → Edit. The flow opens in the designer, with a yellow bar that says what's about to happen: Editing this managed flow will create customizations stored in a new unmanaged layer. Select the step you want to change. Here, Compose still holds Hello:

The designer for Say Hello with the bar Editing this managed flow will create customizations stored in a new unmanaged layer, Learn more, and the Compose step open with Inputs Hello

Step 5: Make the Change and Save​

Change the step. I replaced Inputs with Hello from this environment:

The Compose step with Inputs Hello from this environment

Select Save. The title bar said Saved, and the yellow bar was gone.

Step 6: Turn It On and Check Customized​

Go back to your solution with the arrow at the top left, then select ⋮ → Turn on. The flow's row now says Customized Yes, and Status On:

The flow's row in How-to Local Changes: Say Hello, Cloud Flow, Managed Yes, Customized Yes, Owner Admin User, Status On

Microsoft's solutions overview defines it: Customized "indicates that the object is an unmanaged object, or a managed object with an unmanaged customization layer." Your change is that layer. How to See a Component's Solution Layers in Power Apps shows where to find it.

What the Layer Means for Updates​

The managed flow underneath hasn't changed. Your edit sits on top of it, and the top layer is the one that runs. Microsoft's warning in the same article: "Unmanaged customization layers can impact your ability to update these flows in the future." Its troubleshooting article Changes aren't effective after solution import shows why: when a newer version of the managed solution arrives, an unmanaged layer on top still decides what the flow does. The fixes it gives are to remove the layer (How to Remove the Unmanaged Layer from a Managed Component in Power Apps), or to import the update with Overwrite Customizations, which copies the new version into the unmanaged layer.

So keep such changes to what the environment really needs, such as a value that only makes sense there, and put everything else into the next version of the managed solution.

Common Mistakes​

MistakeWhat happensDo this instead
Looking for Edit inside the managed solutionThe objects are locked thereAdd the flow to an unmanaged solution and edit it from that one
Editing while the flow is onMicrosoft warns that you can lose your changesTurn it off first
Forgetting to turn it on againThe flow doesn't run⋮ → Turn on after saving
Changing things a later release should changeYour layer keeps them as they are after an updateMake only environment-specific changes this way

Troubleshooting​

SymptomLikely causeFix
Status still says On after Turn offThe list hadn't refreshedReload the page
The flow isn't in the Add existing listYou're on the wrong tab or in another environmentCheck From Dataverse and the environment name
A later solution update doesn't change the flowYour unmanaged layer is on topRemove the layer, or import the update with Overwrite Customizations

FAQ​

Is the flow copied into my solution?​

No. A solution only lists objects. Say Hello stayed in How-to Examples and was also listed in How-to Local Changes; there was still one flow.

Which publisher should the unmanaged solution use?​

One of the environment's. The list I got offered only the environment's own publishers, not the managed solution's.

Can I undo the change?​

Yes, by removing the unmanaged layer, which puts the flow back to the managed version: How to Remove the Unmanaged Layer from a Managed Component in Power Apps.

Conclusion​

Create an unmanaged solution, Add existing → Cloud flow, turn the flow off, edit and save it, and turn it on again. The flow stays Managed, becomes Customized, and your change lives in an unmanaged layer above the managed version.

Additional Resources​