Custom API is a great feature added to Dataverse. It gives you many flexibilities and can create complex JSON requests or response messages. In order to learn how you can make complex JSON messages; check out this post.
Now the issue at hand is we created a Custom API in our Dev instance and associated a plugin to it. Since then we had deployed the components to higher environments as a managed solution.
Later, we identified that we do not need this Custom API and we want to delete it. So we did the following which did not work:
After doing all of the above steps in Dev we initiated the deployment to the higher environment using a regular update solution method. This failed with the following error:
Existing plug-in types have been removed. Please update major or minor verion of plug-in assembly.
I tried several things to see if I can fix the higher environment itself but I ran into managed solution issues. But when we did the following steps that worked for us:
For more content subscribe to my blogs and follow me on:
Original Post https://powermaverick.dev/2022/07/25/resolved-issue-with-deployment-when-custom-api-was-removed/