web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Managed solution missing web resource deleted via XrmToolBox holding solution

(0) ShareShare
ReportReport
Posted on by 11

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.


  •  
2025-12-22T16:43:06.3361676Z [
2025-12-22T16:43:06.3362163Z   'The reason given was: Solution manifest import: FAILURE: Holding solution TGMCustomisations_Upgrade already exists.'
2025-12-22T16:43:06.3362681Z ]
 
2025-12-22T16:43:06.7130411Z ##[error]error: 1
2025-12-22T16:43:06.7143974Z ##[error]failed: Connected as ***
Connected to...  
 

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?





  •  
  •  
  •  
  • I understand deleting components from managed solutions is unsupported — looking to confirm the correct recovery path from here.
 

Thanks in advance.

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans