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 365 | Integration, Dataverse...
Suggested answer

Data Import - A Duplicate Reference Was Found

(0) ShareShare
ReportReport
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?

I have the same question (0)
  • Community Member Profile Picture
    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
    28,981 Moderator 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
    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

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 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 262

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 85 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans