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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

Cannot find Entity to Delete

(0) ShareShare
ReportReport
Posted on by 1,848

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

  • Nya Profile Picture
    29,064 on at

    Hi MN,

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

  • Ersin Alan Profile Picture
    100 on at

    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.

  • Amit Katariya007 Profile Picture
    10,409 Moderator on at

    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

  • MNarmeen Profile Picture
    1,848 on at

    Hi Nya,

    I'm using Dynamics Customer Service Hub app.

  • MNarmeen Profile Picture
    1,848 on at

    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

  • Ersin Alan Profile Picture
    100 on at

    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
    1,848 on at

    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
    100 on at

    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, 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 54

#2
11manish Profile Picture

11manish 37 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 33

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans