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
Suggested Answer

Unable to uninstall managed solutions due to circular holding solution dependency

(1) ShareShare
ReportReport
Posted on by 157

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,244 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
    1,169 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
    157 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.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard