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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to uninstall ma...
Power Apps
Answered

Unable to uninstall managed solutions due to circular holding solution dependency

(1) ShareShare
ReportReport
Posted on by 170

Hi all,

We’re running into an issue in our production environment where two managed solutions are interdependent due to the holding solutions. Both solutions contain components that reference the other solution as their holding solution, which prevents us from removing either the solutions or the individual components.

We’ve tried deleting the components from both solutions, but the upgrade fails—even when using stage for upgrade.

Example:

  • Solution A: Business Rule X (with holding solution = Solution B)
  • Solution B: Business Rule Y (with holding solution = Solution A)

This circular dependency seems to block any cleanup or removal.

Has anyone encountered this before, and is there a way to untangle these dependencies?

Thanks in advance,
Elowy

I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,556 Most Valuable Professional on at
    Double check that the solutions don't have an unmanaged layer sitting on top of them.  I suspect that for one of them that is where the dependency lies. Otherwise you wouldn't have been able to install the solutions because of a dependency issue.  One of them must have been imported first. Then a dependency was established in an unmanaged layer when something was edited. I don't see any other way to get the circular dependency that you have now.  If there is an unmanaged layer try deleting the unmanaged layer from one or both solutions and then try to delete them.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    Your issue is caused by:
    • Circular holding solution dependency created during upgrade
    Fix requires:
    • Deploying new managed versions to remove dependencies
    • Or introducing a neutral/core solution
  • Elowy GrootCRM Profile Picture
    170 on at
    Thanks, Paul and 11manish.
     
    I just tried to remove all unmanaged changes. Unfortunately, I'm still unable to remove anything from the solutions (with an upgrade) or remove one of the solutions.
     
    What happened in the past:
     
    - Deployed solution A with business rule X
    - Deployed solution B with business rule Y
    - Updated solution A with both business rule X and Y
    - Updated solution B with both business rule X and Y
     
    Now these solutions are stitched together :-(.
    - Can't remove business rules
    - Can't remove one of the solutions
     
    Or am I missing something?
     
    Thanks,
    Elowy.
     
  • Verified answer
    Elowy GrootCRM Profile Picture
    170 on at

    Checked with Microsoft, but there doesn’t seem to be a way to resolve this issue—the solutions remain circularly dependent.
    To fix it, you would need to start over in a clean environment :(.

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard