Skip to content

[CoE Starter Kit - Feature]: Clean up tasks - Empty Solutions #10778

@RandomDepartmentofThings

Description

Is your feature request related to a problem? Please describe.

I haven't been able to find any mapping to specific solutions from an app or flow, only IsSolutionFlow.

Looking for a way to clean up empty solutions...

Background:

External Microsoft applications that trigger the creation of any items in the Power Platform do not monitor or perform any clean-up for said items in Dataverse.

Example
Ie, A SharePoint Work Tracker created via a SharePoint List, creates a Flow in Power Automate and a Solution in the Default environment.

What is happening:
If the List is deleted in the same SharePoint GUI, the Solution and Flow are not removed or marked as orphaned / disconnected. The Flow simply fails as it cannot find the list.
The solution has no changes applied to it.

While the CoE eventually flags the disabled Flow for cleanup, the Solution remains empty.

Describe the solution you'd like

Cleanup Flow that looks for empty solutions and removes them.

Describe alternatives you've considered

References to Solution and parent environment in the Apps / Flows tables

Additional context?

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions