Recently while moving a managed solution from Development to Test, UAT and Production Environment, we realized the if we increase the version number of the solution manually during export and try importing it, we get the option of Stage for Upgrade + Applying Solution Upgrade.
This is basically the same option we get when we clone the solution and use it for deleting the component or working with patch solution.
So basically wanted to check if we can remove components from solution by simply increasing the version number, instead of cloning the solution.
Created a solution in Dev, added a custom entity with a field named test field.
Exported it as managed and imported in the Test (version 22.214.171.124).
Then removed the field from dev.
And increased the version number to 126.96.36.199 before exporting it as managed.
While importing selected Stage for Upgrade and Overwrite Customizations. Maintain customizations should also work.
After successful import, selected Apply Solution Upgrade.
The solution upgrade was successful.
And it removed the field.
So basically, we do not need to clone a solution explicitly in our Dev, we can increase the version number while exporting and select Stage for Upgrade + Apply Solution Upgrade to remove\delete the components.
Hope it helps..
3 thoughts on “How to – Delete solution components from Managed Solution without “Clone Solution” in Dynamics 365”
Unfortunately this does not work for us, at least not for managed relationships.
LikeLiked by 1 person
Thanks for your comments. Could you please share more details ?