web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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)
  • Suggested answer
    Community Member Profile Picture
    on at

    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)

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    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/

  • Community Member Profile Picture
    on at

    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!:)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans