Skip to main content

How to Remove an Object from a Solution Without Deleting It in Power Apps

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

An object can belong to more than one solution, and sometimes it ends up in one it shouldn't. Remove from this solution takes it out of that solution and leaves the object itself, and every other solution it's in, alone. The command next to it deletes the object everywhere, so it's worth knowing which is which.

When You Need It​

The example comes from Part 11 of the Career Development Plan series. A new flow was added both to the solution I created it in and to my preferred solution (Fixed: A New Cloud Flow Shows Up in Two Solutions tells the story). It belonged only in the first, so I removed it from the second.

Prerequisites​

Step 1: Find the Object​

In Power Apps, go to Solutions and open the solution the object should leave, here Career Development Plan. Its Objects page lists everything in it. The flow is the fifth object:

The Career Development Plan solution's All objects list with the canvas app, three environment variables, and the cloud flow Create Career Development Plan Lists outlined in red

Step 2: Choose Remove from This Solution​

Select the object's row, then its More actions (⋮) → Remove → Remove from this solution:

The flow's row selected, with its menu open on Remove and the submenu showing Remove from this solution outlined in red, above Delete from this environment

The two commands do very different things:

CommandWhat it does
Remove from this solutionTakes the object out of this solution only. The object stays in the environment and in any other solution
Delete from this environmentDeletes the object itself, from every solution

Step 3: Confirm​

Power Apps asks Are you sure you would like to remove this object? and explains that the object won't be deleted and stays in any other solution that uses it. Select Remove:

The question Are you sure you would like to remove this object? explaining that the object will not be deleted and will remain part of any other solution it is being used in, with the Remove and Cancel buttons

Step 4: Check the Result​

Removed objects successfully. The solution is back to its four objects, and Cloud flows reads 0:

The Career Development Plan solution with the message Removed objects successfully, All (4), Cloud flows (0), and the canvas app and three environment variables

The flow itself was untouched. It kept running, from the other solution.

Common Mistakes​

MistakeWhat happensDo this instead
Choosing Delete from this environmentThe object is gone from everywhereChoose Remove from this solution
Removing the object's only solution membershipIt ends up only in the environment's default solutionAdd it to the right solution first
Removing an object something in the solution still needsThe solution exports without itCheck what depends on it first

Troubleshooting​

SymptomLikely causeFix
Remove isn't offeredThe solution is managedChange it in the unmanaged solution it came from
The object is still listedThe list hasn't refreshedReopen the solution

FAQ​

Can I add it back later?​

Yes. Add existing in the solution's command bar adds objects that are already in the environment.

Does removing it change the object?​

No. It only changes which solutions list it.

Conclusion​

To take an object out of a solution, select it, then ⋮ → Remove → Remove from this solution, and confirm. Nothing is deleted. Delete from this environment, right below it, is the command that deletes.

Additional Resources​

Stay Updated

Subscribe to our newsletter for the latest tutorials, tech insights, and developer news.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.