How to Remove the Unmanaged Layer from a Managed Component in Power Apps
To undo every change made to a managed flow, app or table in an environment, delete its unmanaged layer. Remove active customizations on the solution layers page does it in one step, and the component goes back to exactly what the managed solution installed.
Changes made in an environment to a component from a managed solution are kept in an unmanaged layer on top of it, and that layer wins. Microsoft's solution layers article: "In most situations you don't want unmanaged customizations determining the behavior of your components in your test and production environments." It also warns, before the steps: "Removing active unmanaged customizations can't be reversed or undone. All data associated with the unmanaged customization can be lost."
The example is a flow called Say Hello, installed with the managed solution How-to Examples. In its new environment, its Compose step was changed from Hello to Hello from this environment (How to Edit a Cloud Flow in a Managed Solution in Power Automate). Removing the layer takes it back to Hello.
Step 1: Open the Component's Solution Layers
Open a solution that lists the component, select ⋮ next to it, then Advanced → See solution layers (How to See a Component's Solution Layers in Power Apps). Say Hello had two layers: Unmanaged layer on top, Active, and HowtoExamples below it.
Step 2: Select the Unmanaged Layer and Remove It
Select the Unmanaged layer row. Its Properties pane opens, and the command bar shows Remove active customizations. Leave the pane open: closing it clears the selection, and the command with it.
Select Remove active customizations. A dialog names the component and says what will happen:

Check the name in the dialog, here Say Hello Workflow, and select Delete.
Step 3: Wait, Then Reload
No message appeared, and twelve seconds later the page still listed both layers. After waiting a little longer and reloading the page, only the managed layer was left:

Step 4: Check the Customized Column
Go back to the solution's list of objects. The flow says Customized No again, and it stayed On:

Step 5: Check the Component Itself
Open the flow with ⋮ → Edit. Compose holds Hello again, the managed version:

The designer's yellow bar was back to Editing this managed flow will create customizations stored in a new unmanaged layer, the same as before the first change. I left with the back arrow without saving, so nothing was changed.
Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
| Removing a layer you still need | Every change in it is gone, and it can't be undone | Note the values you want to keep before you remove it |
| Closing the Properties pane before selecting the command | The selection clears and the command disappears | Keep the pane open, or select the layer again |
| Expecting a message when it's done | Nothing appeared | Reload the layers page after a short wait |
| Saving the flow while checking it | A new unmanaged layer is made | Leave the designer without saving |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Both layers still listed after Delete | The page hadn't refreshed | Wait a little, then reload |
| No Remove active customizations | No layer is selected, or the component has only its unmanaged layer | Select the Unmanaged layer row; a component made in this environment is removed by deleting it instead |
| The component still behaves the old way | Another managed layer above the one you expected | Read the layers again from the top |
FAQ
What does the removal delete?
Only the unmanaged layer: every unmanaged change to this one component. The managed solution and its other components stay as they are.
Can I remove the layer from the designer instead?
When a flow already has an unmanaged layer, its designer's yellow bar says the changes go into the existing active unmanaged layer and shows a Remove unmanaged layer button. I used the solution layers page, which shows the result.
What if I want to keep one change?
Removal takes all the layer's changes at once. Make a note of the change, remove the layer, and make it again, which creates a new layer with only that change.
Conclusion
Open the component's solution layers, select Unmanaged layer, choose Remove active customizations and confirm Delete. After a reload, only the managed layers are left, Customized says No, and the component behaves as the managed solution installed it.
Additional Resources
- Solution layers: the steps, the warning, and the base-layer exception.
- Changes aren't effective after solution import: why an unmanaged layer hides an update.
