Tried to promote an Unmanaged solution from Dev to Prod using Pipelines and received this error message:
Tried to delete the solution on the Production and got continued issues.
Cannot immediate resolve, need help with steps to get this 100%
Also tried to Export and Import with the same issue.
Per this link: https://powerusers.microsoft.com/t5/Using-Flows/Solution-failed-to-import-Solution-Upgrade-action-failed-after/td-p/1350023
It was recommended to:
After working with Microsoft Support, they had us delete the existing solution, go into the solution called "Default Solution" within that environment, delete all of the connection references and custom connector connections we had and then re-import. It worked for us after that. Not sure if this would help you.
Unfortunately, we have other apps and don't want to impact the production of the other apps. Need a more tactical solution to help complete our needs.
Oh, wow, somehow I didn't see your additional clarifying post at the bottom here when I wrote my first message 😂
Yeah, that error message right there is everything you need. It is a bit tough to read, but that's your answer.
Let's break it down piece-by-piece:
"Failed to upgrade solution. Solution dependencies exist, cannot uninstall."
"Dependency count: 10"
"RequiredComponentObject details; Type: Entity, ObjectName: Company, Id: b66b..."
"DependentComponentObject details: Type: EntityMap..."
So what appears to have happened is that someone removed Company from your managed solution, then somehow got it past the solution validation steps (maybe by manually editing the solution.xml?). But the Target env still needs Company, so you can't do that. This is why the import works as an Update and not Upgrade because Update does not try to delete components.
1. Try to apply the upgrade and wait for it to fail
2. Click See History for the solution:
3. find the row that failed, and Dataverse will give you an error report.
Thanks for the thorough explanation:
Question (which I am struggling to find), you said: "If not, then it should give you a log for why it failed and that will tell you what you need to do to get it to correctly Upgrade."
How do I get to the log files to view it?
A solution conflict issue like this can be extremely complex, and it has nothing to do with pipelines: it is about the solution being unable to import or unable to install because of conflicts, and it would be exactly the same if you did it manually.
Solving this can be very difficult and will take a lot of close examination of your solution contents and source/target environments' solution layers. But I will try to start you off with a couple areas to investigate, based on those error messages.
I know these are a bit broad, but solution dependency problems are very complex and require a lot of knowledge about your environment and solution. It's going to be a long bughunt, I'm afraid, but hopefully these bits of advice are helpful!
Further information:
Looks like the Upgrade from a previous Pipeline promotion didn't apply. We have the App Managed Solution and the Upgrade Managed Solution in our Production Environment. Which is the problem.
When clicking on the "Apply Upgrade" from the App Solution, it gets the following error:
The PROBLEM resides in the UPGRADE not adhering to the App Solution. We cannot delete either and we cannot modify either. We are stuck.
WarrenBelz
55
Most Valuable Professional
mmbr1606
42
Super User 2025 Season 1
Michael E. Gernaey
31
Super User 2025 Season 1