Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Data Import - A Duplicate Reference Was Found

Posted on by 5

Hi, trying to do an import into a custom entity which has a lookup to account, contact, and user entities. I keep getting the error "A duplicate reference was found" on the mapping to the contact entity. I turned off all duplicate detection as well. I'm basically trying to map records into a custom entity that may have references to the same company and contact multiple times. How can I have this associate the record in the spreadsheet to the same contact each time? Do I have to use the GUID of the contact or is there an easier way to do this?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Data Import - A Duplicate Reference Was Found

    Hi Partner,

    Can you click Yes under "Did this answer your question?" to close this thread if my answer is helpful.

     pastedimage1639729770157v1.png

    Thanks in advance!:)

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Data Import - A Duplicate Reference Was Found

    Hi,

    If you have duplicate records, system will not process those records as it is difficult to determine which record to pick and map.

    If you don't have unique column to be mapped, I would recommend you use GUID of the record so that system will map to a specific record.

    Other option is to use any other unique field to map your lookup as mentined above.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Data Import - A Duplicate Reference Was Found

    Hi JR81,

    Normally when we import records which has a related entity, import process will resolve the lookup reference if it finds single record in the parent entity otherwise, it will stop processing the record and ends in fail.

    CRM has two contacts with same name then Import process gives error.  

    So you need replace the column values(Contact) in your source file with something that is truly unique.

    You don't have to use the contact's GUID, other fields are fine as long as you make sure it's unique

    Duplicate Lookup Reference Was Found - {Quick Tip} (c-sharpcorner.com)

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans