Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

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

(0) ShareShare
ReportReport
Posted on by 69 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

  • Allie_B Profile Picture
    Allie_B 69 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
    Mahadeo Matre 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
    Sreevalli 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans