Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

Cannot find Entity to Delete

Posted on by 1,846

The entity "adx_account_territory" required by solution patch is not present under Entities list

Error_5F00_PartnerPipeline.PNG

System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: This solution cannot be uninstalled because the 'Entity' with id 'e712016b-2b84-e411-80d1-c4346bac692c'  is required by the 'msdyn_FieldService_patch_update' solution. Uninstall the msdyn_FieldService_patch_update solution and try again. (Fault Detail is equal to Exception details:
ErrorCode: 0x8004F020
Message: This solution cannot be uninstalled because the 'Entity' with id 'e712016b-2b84-e411-80d1-c4346bac692c'  is required by the 'msdyn_FieldService_patch_update' solution. Uninstall the msdyn_FieldService_patch_update solution and try again.
TimeStamp: 2022-04-23T21:15:04.9470252Z
--
).

SolutionLayer.PNG

  • Ersin Alan Profile Picture
    Ersin Alan 100 on at
    RE: Cannot find Entity to Delete

    Hi, due in second post entity named as adx_account_territory, I thought adx is your solution prefix and account_territory as a custom entity/table and I talked about adx_account_territory and may have relations with other entities.

    For delete this table, first delete all lookups and N:N custom relations from entity relations. then try to delete it. Otherwise, if there is no lookups and relations or if this a default table come with another solution/package then you shouldn't delete it before that solution removed from system. But delete a solution may lose data of system and no return.

    Best Wishes, 

  • MNarmeen Profile Picture
    MNarmeen 1,846 on at
    RE: Cannot find Entity to Delete

    Thanks Ersin,

    But as the topic of this question says "I can't find this entity in any solution". Which two entities are you talking about?

  • Ersin Alan Profile Picture
    Ersin Alan 100 on at
    RE: Cannot find Entity to Delete

    Hi, You are true about managed solution.

    In this case you should have an lookup field from that entity to this entity or vice versa. First check requirements, than relations (N:N too). If you have them, first remove from forms and views, then delete lookup fields and at last delete entity.

    if you dont have any lookup on this custom entity, relation or some dependencies than it should be deleted. If you cant delete it, only hide it.  Sometimes there will be errors can't fix. Easy solutions make it better. Take all roles from users. :)

  • MNarmeen Profile Picture
    MNarmeen 1,846 on at
    RE: Cannot find Entity to Delete

    Hi Ersin,

    Please correct me if I am wrong, but since it is a managed solution, I cannot download the solution file. Is there any other way I can do that ?

    This is the Error Log:

    System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: This solution cannot be uninstalled because the 'Entity' with id 'e712016b-2b84-e411-80d1-c4346bac692c' is required by the 'msdyn_FieldService_patch_update' solution. Uninstall the msdyn_FieldService_patch_update solution and try again. (Fault Detail is equal to Exception details:
    ErrorCode: 0x8004F020
    Message: This solution cannot be uninstalled because the 'Entity' with id 'e712016b-2b84-e411-80d1-c4346bac692c' is required by the 'msdyn_FieldService_patch_update' solution. Uninstall the msdyn_FieldService_patch_update solution and try again.
    TimeStamp: 2022-04-27T10:43:49.6948827Z
    --
    ).

    Thanks

  • MNarmeen Profile Picture
    MNarmeen 1,846 on at
    RE: Cannot find Entity to Delete

    Hi Nya,

    I'm using Dynamics Customer Service Hub app.

  • Amit Katariya007 Profile Picture
    Amit Katariya007 8,525 Super User 2024 Season 1 on at
    RE: Cannot find Entity to Delete

    Hello,

    I guess there are some components of the entity adx_account_territory which is present in the msdyn_FieldService_patch_update solution. that means there is a dependency between given entity and the msdyn_FieldService_patch_update solution.

    if you can resolve this dependency then you can delete your components.

    Also refer below articles which can help you to provide more insights.

    support.microsoft.com/.../-solution-cannot-be-deleted-due-to-dependencies-from-other-components-in-the-system-error-occurs-when-attempting-to-delete-a-solution-in-dynamics-365-afd20878-f911-bf88-74d7-0096b211c438

    www.inogic.com/.../

    support.microsoft.com/.../-cannot-uninstall-solution-error-occurs-in-dynamics-365-bbec3ee4-99fe-91cc-b4e1-b9c11c056611

    Thank you,

    Amit katariya

  • Ersin Alan Profile Picture
    Ersin Alan 100 on at
    RE: Cannot find Entity to Delete

    Hello, Could you please download solution file and open it with excel? When you open it with excel there should be second tab which has steps. When you investigate that there should be some errors.

    Here common errors,

    Sometimes different fields has same labels

    Some Views has deleted but still has logs,

    If something missed try to create that field or view in system with same attributes then try to delete it again, if it is not working, please share your log file without any organization details.

  • Nya Profile Picture
    Nya 29,056 on at
    RE: Cannot find Entity to Delete

    Hi MN,

    Would you please specify which application you are using in Dynamics?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans