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 Upgrade actio...
Power Apps
Answered

Solution Upgrade action failed after import as holding: Updated a security role and getting this error

(0) ShareShare
ReportReport
Posted on by 54

Getting the following error when trying to use pipeline to move solution from dev to test environment.

 

Solution Upgrade action failed after import as holding. InnerException is: Solution dependencies exist, cannot uninstall. DependencyCount : 1 RequiredComponentObject details: Type: Role, ObjectName: Marketing Team, Id: aa8a1477-5c98-ee11-be36-001dd803e9d4, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000, DependentComponentObject details: Type: AppModuleRoles, ObjectName: , Id: ee0232f9-5076-44b5-9f38-c802bf0a7413, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000 .

 

I updated a security role and ran pipeline tool and got this error. But it moved the updated solution to test but the old solution on test is still there. Now in the test environment we have two solutions, with the same name and cannot delete the older solution. 

 

 

 

 

errorpipeline.png
  • Verified answer
    SteRe Profile Picture
    254 on at

    Hi  @knparksnyc ,

    your error message says there is something dependent to role "Marketing Team". If I need to do a guess I would say a JS or Plugin might referring this role. But according to the message the role would be deleted during solution upgrade so the dependency issue occurs. 

    You won't be able to remove the older version without resolving this conflict, but at least you could remove the newer if this helps. 

    To solve the issue there are basically two options. 

    1. check your solution in dev and ensure the role Marketing Team is still present. If not fix it. Deploy a newer version (as holding) to your test environment, then you shall be able to apply the upgrade with the newest version (which will delete the old version). 

    2. Deploy the missing role as a dedicated solution from dev to test and then run apply upgrade again. 

     

    To check what dependency causes the issue, go to your test system, look for the role and check dependencies there. 

  • knparksnyc Profile Picture
    54 on at

    Thanks SteRe, this helped me to the path of resolving the dependency issue.

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard