Views:

Applies to Product - Microsoft Dataverse

What’s happening?
Customers are unable to uninstall or upgrade managed solutions due to dependency errors. Common error messages include indications that other components depend on the solution being uninstalled or upgraded, preventing the operation from completing.
 

Reason:
The underlying cause of these issues typically involves existing dependencies from other components in the system that prevent the solution from being uninstalled or upgraded. This can occur when the solution being modified is below the layer of another publisher or when there are unmanaged components that are still linked to the solution.
 

Resolution:
For cases where a solution cannot be upgraded or uninstalled due to dependencies:

  • Identify the components that are causing the dependency issues. This can be done by checking the solution layers of the component from the error message.
  • If the solution is below the layer of another publisher, remove the layers from the other publishers that are above your solution.
  • If the solution is managed and you want to keep the component, consider adding it to your upgrade solution.
  • If the dependencies are from unmanaged components, ensure that these components are removed or modified as necessary.
If the uninstall operation fails due to managed layers:
  • Check the customization.xml file and remove any app settings that may be causing the conflict.
  • Attempt the upgrade or uninstall operation again after making the necessary adjustments.