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...
Suggested Answer

How can I delete the system dependencies so I can delete the custom entity?

(0) ShareShare
ReportReport
Posted on by

Hi All,

I want to delete a custom entity but CRM is detecting a dependency to a form in another entity that was removed and published all customization, But still showing same dependency error on that form.
Any ideas how i can remove this dependency so I can delete the custom entity?

pastedimage1609324005991v1.png


Many Thanks

I have the same question (0)
  • Community Member Profile Picture
    on at

    What does it show if you click on the 'details' link in the screenshot?

  • Community Member Profile Picture
    on at

    Its shows two dependency. Please refer to the screenshot.

     pastedimage1609332142551v2.png

    I can easily remove sitemap dependency. but There is another dependency on form, I deleted all the relation but still occurring same issue.

  • Suggested answer
    Community Member Profile Picture
    on at

    Based on your final sentence you have removed any/all lookup fields.

    How about on the left hand side of the form designer?  Where the related records show, navigation.  If the entity is listed there it will be dependent.  Ill grab a screen shot.

    Updated: here, does the entity show up on the left side?

    pastedimage1609332599377v1.png

  • Community Member Profile Picture
    on at

    I checked it. There is no dependent entity shows.

    pastedimage1609332965036v1.png

    pastedimage1609333045828v2.png

  • Community Member Profile Picture
    on at

    Wow, yea it looks like you already cleared everything.  Some small guesses:

    1 Any business rules?

    2. Try publishing all customizations from the solution? - im sure youve done this.

  • Community Member Profile Picture
    on at

    Yes... I already published all customization and whatever required for deleting dependency, all do that.

    Still facing same issue.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Saroj,

    From your screenshot, the parent entity is ‘Referral’ entity, so Referral entity and custom entity (worklist todo) is 1:N relationship.

    So you need check for sub-grids exists or not in the new form of the Referral entity, and check for lookup field exists or not in the custom entity form.

    If this custom entity still cannot be deleted, you can try to clear cache to test again.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    on at

    Hi Leah Ju,

    There was Worklist Todo(Custom Entity) parent entity and created relationship with Referral entity as 1:N

    but I was deleted that relationship. And there is no sub-grid exits any form.

    pastedimage1609769353214v2.png

    pastedimage1609769451861v3.png

    As per your suggestion, I cleared the cache but still facing same issue.

    Thanks and Regards,

    Saroj Kumari

  • Community Member Profile Picture
    on at

    You should open a support ticket, at this point it seems like youve done everything you can, we've seen this issue before, Microsoft had to run some query to remove ghost components from our system.

  • Community Member Profile Picture
    on at

    Hi Mike,

    YES

    I should do the same because I feel that way too.

    Thanks and Regards

    Saroj Kumari

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
FSRon Profile Picture

FSRon 75

#2
James White Profile Picture

James White 21

#3
AT-28040446-0 Profile Picture

AT-28040446-0 20

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans