Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Custom DataMap And DataImport D365v8.2

Posted on by Microsoft Employee

Hi Team,

I am a newbie to Dynamics. 

I am trying to import contact and account entity data using single excel (xlsx) file in Dynamics 365 on-premise v8.2. I created a custom data map for my required fields. It got imported successfully. I then created a excel file with the required field headers as per my custom data map. When i upload the file, the system did not accept the file. 

1. I got validation error for the file that its not a valid template.

I downloaded the contact template and removed fields except the one that i have in my custom data map. When i imported this file, the system is able to validate the file properly, however it failed with lookup reference error for the Account name. 

I dont see the Datamap selection screen when i import the excel. Only if i break the excel by adding a custom column, then i get the mapping screen highlighted only with the Contact entity info. Its not listing the Account entity mapping. 

My goal is to learn how data migration works, if we want to map and import data from external/legacy systems. 

Any help on this is much appreciated. 

Thanks

Jay

*This post is locked for comments

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Custom DataMap And DataImport D365v8.2

    In addition to that you can also refer SSIS manual:  www.kingswaysoft.com/.../crm

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Custom DataMap And DataImport D365v8.2

    For SSIS, you can check the below video-

    www.youtube.com/watch

    I would also suggest to take a look at this thread- community.dynamics.com/.../263962

    As suggested by Mahen, there are various ways to do the data import/ migration. You can do a web search to find about it more. There is also a Microsoft Dynamics inbuilt tool called Data Migration utility which you can also use to migrate your master/ reference/ config data. I personbaly do not prefer this tool for migrating the entities which has larger number of records.

    Hope this helps.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Custom DataMap And DataImport D365v8.2

    Hi Jay,

    Regarding your "Additional/supportive question", within the import wizard on the last page, you do get an option to allow duplicates. I haven't tried this but I think this should work for you. Look at the screenshot on the 6 point on the below article-

    community.dynamics.com/.../ms-crm-export-and-import-data-using-excel-crmtip1

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom DataMap And DataImport D365v8.2

    Mahendar, can you please explain / share links for the usage of other tools ? - ssis / scripts or .net utility ?? Is this going to be a direct SQL import ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom DataMap And DataImport D365v8.2

    Thanks Ravi. As you said, I updated my excel as 'csv' and this brings the datamap selection and lists the related entities.

    Additional/supportive question - Is there a way to keep the duplicate detection rule 'ON' and still upload the csv with multiple contacts with same account ? say Jay - ABC Inc - will be a new contact and new account / Kay - ABC Inc - will be new contact but existing account. Is there a way to do it in one csv ?

    thanks

    Jay

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Custom DataMap And DataImport D365v8.2

    Hi,

    As Ravi suggested this is expected behaviour, you will only get template option when automatic mapping is not done, you can refer my post for create custom data map: http://himbap.com/blog/?p=2357

    I am sure you will be aware of this but just want to add, apart from out of the box import utility you can use other tools like SSIS toolkit, Script or in house developed .net utility to import data into CRM.

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Custom DataMap And DataImport D365v8.2

    Hi,

    All the above withe respect to excel file you have noticed is an expected behaviour because the template exported from crm are assumed to have the correct mapping. The lookup reference error which you have mention can occur in 2 scenarios 1) there are more than 2 records 2) There are no records with that account name.  You can check this case by case.

    If you want to use your data mapping file, you can save your excel file as csv or xml and then try import that file. You will get the option to select the entity/ data mapping file.  

    blog.xrm.com/.../using-templates-for-data-import-in-microsoft-dynamics-crm

    Hope this helps.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans