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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Importing data to Dynamics 365 online

(0) ShareShare
ReportReport
Posted on by

Hi,

I want to import data from excel sheets to Contract entity and Contact entity. The issue is when I tried to import data first to Contact entity its fails because its looking for existing name from Contact entity. Then when i m tried to import data to Contact entity first its also fails because its looking for existing Contract Name from the Contract entity.

I have a N:1 relationship between Contact and Contract entity.

Can someone please tell me how can I resolved this issue.

Thanks. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Dineth,

    proceed as follows:

    1) add an integer attribute to Contact entity, we say "Sequence"

    2) make a copy of your contact excel (we say "Contacts - Original.xls", "Contact - Copies.xls")

    3) in "Contact - Copies.xls" delete contract column values

    4) in "Contact - Copies.xls" set "Sequence" column equal to excel row less one, like excel row = 2 sequence value = 1, excel row = 3 sequence value = 2, and so on

    5) import "Contact - Copies.xls" 

    6) now you have all contacts imported, so you have all the needed contact names

    7) import "Contracts.xls"

    8) create a contact view, with a filter "Sequence contains data", sorted by Sequnce

    9) now you have the imported contact list sorted by the right sequence ...

    10) paste in "Contract" column all the contract name values

    11) re-import Contacts with right contract values

    12) you are done!

    Please let me know if you solve

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    I understand this failing on the Contract Entity, but not sure why it is failing in the Contact entity.

    What are you trying to import except the Contact information (in your second case)? Contact import should be straight forward.

    Also, you can always use SSIS (with Kingwaysoft CRM Connector) in order to split the import, so that it does Contact first, and then does Contract.

    As much as we would want the Data Migration Wizard in CRM to perform like a Wizard, it is still following certain rules that might cause some of the issues that you are experiencing.

    Hope this helps.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Dineth,

    if you solved the problem thanks to an answer, please mark it as verified to encourage the community to provide more and more a better support. Thank you. Francesco

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans