Hello,
I've created and distributed a solution (v1) with custom entities. I did remove all the default auto generated SavedQueries (Active ENTITY_NAME, Inactive ENTITY_NAME...) from my solution, which in hindsight proved to be a big mistake.
Now that I have a new update for my solution (v1.1), I've got 100% of upgrade failures when trying to update it through appsource or using the Package Deployer:
======================================================================================================================
Inner Exception Level 1 :
==OrganizationServiceFault Info=======================================================================================
Error : SavedQuery Active ENTITY_NAME for otc 10217 cannot be deleted.
Time : 25/04/2018 09:00:08
ErrorCode : -2147220945
Date : 25/04/2018
Time : 10:00:08
Trace : Not Provided
======================================================================================================================
What I realised was that Dynamics automatically added the default saved queries to my v1 solution, and even if I try to add those SavedQueries to my v1.1 solution, the same error occurs.
Any suggestions on how I can fix this for everyone that has my v1 solution installed?
Notes:
I can manually import my managed solution when using the solution importer under Settings -> Solutions -> Import Solution as long as I don't mark "Stage for upgrade".
Thanks in advance,
Rodrigo
*This post is locked for comments