Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

The lookup reference could not be resolved

Posted on by 565

Hi,

I want to import records (appointments), the entity has lookup fields (contact, account and lead).

I have sommes records have the same name e.g (Lead=Exemple1 account=Exemple1), when i try to import the CSV file, i got this error message:
The lookup reference could not be resolved.

*This post is locked for comments

  • Philj Profile Picture
    Philj 89 on at
    RE: The lookup reference could not be resolved

    Hi,

    I am having the same issue and I understand what you are saying however if you can't tell what the source field is that's giving the error how do you know what to import into Dynamics?

    Sorry I may just be missing something here but getting very confused

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: The lookup reference could not be resolved

    Hi,

    When you are trying to import related record and if you are not maintain order of the reference data import  then its obvious that reference will not found when its dependent on other lookup or records.

    For example if you are trying import a contact with country United Sates and the country United Sates  does not  exists in the CRM then Dynamics CRM will not create country first and then the contact. So in that case you have to import country data first and then contact with respective country. Exactly same thing happening here in your scenario.

    So ideally when you are importing any related data , need to make sure the related lookup is exists in the database.

    Hope this helps.

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: The lookup reference could not be resolved

    What field are you using to the lookup? Regarding Object Id?

    If that is the case, the values must be unique or the system will not recognize it during import.

    If you have separate lookup fields for account, contact and lead (which I don't think is the case), you should not have a problem.

    Hope this helps.

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: The lookup reference could not be resolved

    Just to clarify, do you have custom lookup fields on the appointment for each entity type, or a custom customer field, or are you just using the system fields ?

    With the data import, a lookup field can only be resolved if there is a unique record to match it to

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

Featured topics

Product updates

Dynamics 365 release plans