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)

Contact Delete

(0) ShareShare
ReportReport
Posted on by 195

I get an error "The record could not be deleted because of an association" when I try to delete an Contact. I'm not able to figure out where are the associations for the specific Contact. Any help?I checked with referential,restrict delete too.Still problem exists

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at
    RE: Contact Delete

    Hi Huxley,

    Please check below link, this is due to cascading relationship

    community.dynamics.com/.../record-could-not-be-deleted-because-of-an-association

    community.dynamics.com/.../205868

    https://community.dynamics.com/crm/f/117/t/222920

    Best Regards,

    Shahbaaz

  • EnriqueMdz Profile Picture
    1,067 on at
    RE: Contact Delete

    Hi Aldous,

    That error appears when you're trying to delete a record that is associated to another one. Hence, you need to delete first the child record and then the parent.

    Please refer to: community.dynamics.com/.../record-could-not-be-deleted-because-of-an-association

    Please mark this answer as verified if helpfull.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Contact Delete

    Hello ,

    This is because some related entity records for Contact is exists in your CRM instance .For example Contact associated with Address , so you can not delete contact until you delete all the address for particular contact.

    Same thing you need to do here try to find in what are the entities  having  association for contact in your CRM instance .

    Go to advance visit all related entities  and search one by one with condition selected contact  and delete them from advanced find first and then try to delete main contact .

    Hope this helps.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Contact Delete

    You can also simply deactivate the contact if you don't want to delete the associated records. Or you can create an orphan record and associate it with that instead. As others stated, for example if it's a duplicate, you can remove any associations and then delete it.

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: Contact Delete

    You can enable tracing on the CRM environment to get the details of why you are getting the error.

    support.microsoft.com/.../how-to-enable-tracing-in-microsoft-dynamics-crm

    Enable the tracing, execute the delete and check the log files. You can disable tracing then to limit resources used by the server.

    Hope this helps.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans