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 :
Customer experience | Sales, Customer Insights,...
Answered

Duplicate contacts while email processing

(0) ShareShare
ReportReport
Posted on by 5

Hi, 

I am new in Dynamics, but I do like how the system is built. The issue is with automatic mailing processing. Flow:

- Email cames in

- We are creating a LEAD from the email automatically

- The system creates Contact automatically.

Issues - Every time I sent the email from the same mailbox, it ends up with a new lead, which is okay, but the system automatically creates a duplicated contact. I do need a contact, but don't need duplicates. How can I configure to have contact to be created only once?

Please advise.

I have the same question (0)
  • Rdobryanskyy1 Profile Picture
    5 on at
    RE: Duplicate contacts while email processing

    You are a genius. Thank you. Now I need to retest this, and at the first point of view, IT WORKS!!!! Thanks a lot!

  • Verified answer
    LuHao Profile Picture
    40,888 on at
    RE: Duplicate contacts while email processing

    Hi partner,

    Alternate key is created only if there are no duplicates in this field.

    Therefore, delete the pending alternate key first, then run the Duplicate Detection job to clean up duplicates so that the Email field for all contacts are not duplicated, and finally create the alternate key.

  • Rdobryanskyy1 Profile Picture
    5 on at
    RE: Duplicate contacts while email processing

    Hi partner,

    I have added a key, but the key is still pending

    pastedimage1582550583267v1.png

    And on the clicking at Create index..... I have this error

    pastedimage1582550657537v2.png

    An the duplicates are not gone. :(

    Thanks for helping me.

  • Verified answer
    LuHao Profile Picture
    40,888 on at
    RE: Duplicate contacts while email processing

    Hi partner,

    If you define an alternate key for the Email field of the Contact entity, it will restrict the creating contacts with the same email.

    pastedimage1582250669586v1.png

    If you want to restrict which field cannot be duplicated, define an alternate key for this field.

  • Rdobryanskyy1 Profile Picture
    5 on at
    RE: Duplicate contacts while email processing

    Hi Hao,

    Unfortunately, it didn't help. Because the Duplicate detection is not working on automated stuff, I can't disallow duplicate contacts creation. It works when I am trying to create it manually, but not automatically. As for the unique key, it will not restrict creating contact with the same email, it only restricts creating contact with the same key. I thought about the JOB which can run every day and clean them up, but what if someone adds something to one contact and another person to its duplicate, which should I delete?

    Thanks

  • LuHao Profile Picture
    40,888 on at

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 > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 150

#2
DAnny3211 Profile Picture

DAnny3211 73

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans