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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Deleting system-created dependencies like CreatedBy User, Owning Business Unit

(0) ShareShare
ReportReport
Posted on by 74 User Group Leader

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

I have the same question (0)
  • Allie_B Profile Picture
    74 User Group Leader on at
    RE: Deleting system-created dependencies like CreatedBy User, Owning Business Unit

    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!

  • Verified answer
    Mahadeo Matre Profile Picture
    17,021 on at
    RE: Deleting system-created dependencies like CreatedBy User, Owning Business Unit

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

  • Verified answer
    Sreevalli Profile Picture
    3,256 on at
    RE: Deleting system-created dependencies like CreatedBy User, Owning Business Unit
    Hi, You should be able to delete the your custom Entity without deleting out of box relation dependences. If you are still facing the issue that means there must be a custom depladency to it. Like, lookup with another Entity, process or plugin etc

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans