
Hi all,
I’ve run into an issue with a managed solution in Dataverse and would appreciate some guidance or confirmation if this now requires Microsoft support.
What happened:
In a Staging environment, we have a managed solution.
I mistakenly deleted a web resource directly from the managed solution using XrmToolBox (Web Resource Manager).
tgm_/scripts/common/crop.js
The component was removed from the environment, but obviously the managed solution metadata still references it.
Current problem:
When trying to import or upgrade the solution (including applying or deleting a holding solution), the operation fails with an error similar to:
Entity ‘webresource’ with Id … does not exist
The holding solution (*_Upgrade) cannot be applied or deleted.
Any new import (even non-holding, managed upgrade) is blocked because Dataverse reports that a pending upgrade exists.
What I’ve tried:
Recreated the missing web resource in Dev (unmanaged) with the exact logical name (including GUID).
Exported a new managed version.
Attempted to import using Upgrade (not Stage).
However, Dataverse still blocks the operation due to the existing pending upgrade.
Question:
Is there any supported way for customers to recover from this state once a managed component has been deleted outside the solution lifecycle?
Or does this scenario always require Microsoft Support to manually clear the corrupted pending-upgrade metadata?
Thanks in advance.