The [x]([GUID]) component cannot be deleted because it is referenced by [y] other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.


When you get this message, then you can find the dependencies through a webservice call. If you don't have a programming environment available, then it can be hard to find out what causes the delete to be cancelled. For instance, when the component isn't easily accessible through the CRM UI. For on-premise solutions where you can access the database, it's pretty easy to find out what is the dependent component. Just run the stored procedure:

exec p_RetrieveDependenciesForDelete '[GUID]' [ComponentType]

for example:

exec p_RetrieveDependenciesForDelete '37BB549F-8D9A-E511-80D3-005056BB2FDF', 52

The Guid is mentioned in the error message, just copy this into the query. The Component type can be found here:

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/solutioncomponent?view=dynamics-ce-odata-9

Cheers!

4 comments:

Packers and Movers Bangalore said...

Packers and Movers Bangalore Near me - Get Verified and Expert Shifting Service Providers, Who can Help you With 24x7 and Safe, Affordable Services for National Household Relocation. Compare Charges and Time, Save Money.

Packers And Movers Jaipur said...

Get Packers and Movers Jaipur List of Top Reliable, 100% Affordable, Verified and Secured Service Provider. Get Free ###Packers and Movers Jaipur Price Quotation instantly and Save Cost and Time. Packers and Movers Jaipur ??? Reviews and Compare Charges for household Shifting, Home/Office Relocation, ***Car Transportation, Pet Relocation, Bike SHifting @ Packers And Movers Jaipur

Nex Accounting said...

Great post! Dial Quickbooks Support Phone Number 800-901-6679 for the urgent solution. Our Proadvisor always available for you.
Visit on https://tinyurl.com/yxrap2cp

Quickbooks support said...

Quickbooks For Mac Support Phone Number

Quickbooks Pro Support Phone Number