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 / Solution Components sh...
Power Apps
Unanswered

Solution Components show as dependencies of the solution. Cannot uninstall

(0) ShareShare
ReportReport
Posted on by 19

Hi

I now have two environments with a managed solutions that I need to uninstall.

 

When I try to uninstall the solution OR apply a solution upgrade.

I get the following error:

 

 

 

 

Solution dependencies exist, cannot uninstall. DependencyCount : 3 RequiredComponentObject details: Type: EnvironmentVariableDefinition, ObjectName: ppcoe_JiraUserEmail, Id: e56c6b14-dfc4-4cfe-bc1c-2a09c6ea0b1d, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000, DependentComponentObject details: Type: EnvironmentVariableValue, ObjectName: , Id: 701b50b2-b87f-ed11-81ad-000d3af4fa76, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000 RequiredComponentObject details: Type: EnvironmentVariableDefinition, ObjectName: ppcoe_JiraUserPassword, Id: dd19c40a-fe97-49f6-8204-4eb3e4cb2e7f, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000, DependentComponentObject details: Type: EnvironmentVariableValue, ObjectName: , Id: c493d1a3-b87f-ed11-81ad-000d3af4f630, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000 RequiredComponentObject details: Type: EnvironmentVariableDefinition, ObjectName: ppcoe_ClientID, Id: ce1ef56a-ada6-4244-a6f2-7ffc12f07171, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000, DependentComponentObject details: Type: EnvironmentVariableValue, ObjectName: , Id: 65966d72-9796-ed11-aad1-000d3af4f630, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000

 

 

 

 

It seems to complain about dependencies (environment variables); the problem is: those environment variables are part of the solution itself.

 

I went to the default solution, but when I selected the dependencies, the delete option was grayed out.

So I cant delete the solution because of the dependencies, but the dependencies are part of a managed solution and I can't delete them.

 

I also tried generating a new version of the solution without the environment variables, and imported the solution into the environment that I'm trying to debug. However, the environment variables still show inside the solution, and I still can't uninstall the solution.

 

Seems like there is a bug in the dependency calculations, 

 

I could definitely use some help. Thanks

 

 

 

  • velegandla Profile Picture
    204 Moderator on at

    @FelipeLujan 

    Did you try using the Legacy view of the platform and try deleting the dependencies?

     

  • FelipeLujan Profile Picture
    19 on at

    Turns out the dependencies were not the env variables but the current values.

    I removed the current values from the default solution and now when I try to delete the solution, I'm getting this error in both environments.

    Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 547

      @Velegandla How do environment variables show up in the classic view?

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard