I removed a table from an environment and wanted to push that to the TEST environment, but after a successful installation in the TEST environment, the apply upgrade failed with a blank dependency list. I contacted Microsoft support about it, and they said that it fails to remove the previous solution because of a reference in the Model Based App that we use. However, the table is not a part of the Model Based App and the Model Based App is a part of the new installed solution which should be clean of references to the removed table. All our customizations are in this one solution (except for Service Endpoints and Entity images).
It has been escalated to second tier Microsoft support, but I haven't heard anything since last Thursday.
This seems like a bug, because the only way (?) to get around this issue, seems to be to uninstall the solution. This will cause data loss if there are newly added fields and entities in the upgraded solution. This is the first project that I have used managed solutions and up until this incident it has been working great, but this makes me pause a bit. I am posting here to hear about others who have had this experience.
Is the best practice to make sure to patch all additive customizations before removing any table in an upgrade, i.e., any removed relations or tables should be in controlled small upgrade?
Empty dependency list