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

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
11manish Profile Picture

11manish 44 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 41

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans