I need to delete a custom entity. However, it has Dependencies on system-created relationships. Examples are 1:N relationships like new_xxxx_ASyncOperations new_xxxx_Process Session, N:1 relationships like CreatedBy User (lk_new_xxxx_createdby), ModifiedBy User, Owning Team, Owning Business Unit. CRM will not let me delete these relationships, saying "Only custom relationships can be updated or deleted." How can I delete the system dependencies so I can delete the custom entity?
*This post is locked for comments
There was one custom relationship on the entity. I had deleted that earlier but hadn't published customizations. After I published customizations, I was able to successfully delete the entity without deleting the out of the box relation dependencies. Thanks!
Hi Allie,
If you delete custom entity, those relationships will be automatically deleted, you don't have to delete those manually and those system generated relationships you cannot delete.
In case you are getting some dependency error while deleting this entity, then you need to find those dependencies.
Generally dependencies are like entity relationship or lookup of custom entity is used any entities form, or in view or site map navigation.. you need to remove those dependencies first then you can able to delete this entity.
hope this will help..
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156