This is one of the most common scenarios where you want to import an entity’s data in Dynamics 365 that has reference to some other entity. And the Lookup’s data is not yet created resulting in the Lookup reference missing. Just like below –
And resulting into the below –
And similarly while importing Contacts, the Account might not be already imported. And you get the error ‘The lookup reference could not be resolved‘
Most common scenario in Dynamics 365 implementations is importing Accounts and Contacts. The Primary Contact tried to lookup an already existing Contact and hence, fails.
Approach
Now, in order to handle such scenario, best and the most simple way is to import this together!
- Select both files and add them to a zip file –
- Name it something appropriate
- And import this in the Import Wizard in Dynamics 365 CRM.
- You’ll see the files being included in the zip you selected.
- After you review your mappings, you can confirm and Submit for Import.
- There will be 2 jobs submitted and hence, 2 Imports will be created.
Result
Now, if you check, both the Lookup references will be maintained.
Account will have the created Contact filled in Primary Contact and Contact record will have Account mapped in the Company Name field (or as per your mappings.)
In case you might want to look at some more Dynamics 365 CRM posts, you can check below –
- Mailbox Alerts Hide/Show behavior in Dynamics 365 CRM
- Dynamics 365 PSA v2 to v3 Upgrade failed? Here’s what to do.
- Refresh button missing on Roll-Up fields in D365 UCI? Quick Tip.
- Store ‘Today’s Date’ in a field to use in workflow conditions in D365 CE
- Excel Importing Notes (Annotation) entity in Dynamics 365 CRM
- Kanban view in Dynamics 365 Sales | 2020 Wave 1 Early Access Feature
- Time/Expense Entry Rejection comments in D365 PSA v3
- Custom View Filter JS code not working in Dynamics 365 CE. Why? [Quick Tip]
- Show Loading Screen in Dynamics 365 using Client API reference
- Accessing multiple occurrences of a field in Business Process Flow using JS in D365 CRM
Hope this helps!
Unfortunately I cant upload a zip file in Unified interface..
Any Idea?
LikeLike
Hope it’s not a rar file. Also, are the Excel filed inside the zip in CSV format?
It should work then.
LikeLike