The essence of this document is to demonstrate import/export in D365 data migration framework. You could find other blog discussing the same thing but in this blog I shall give you some tips and work around that could save your time by eliminating undesired errors in performing data import. However, the export is quite simple and straight forward.


The performing the following step you won’t come across any error in importing.

  1. The import file must not contain spaces. For instance, if the import file name is ‘Material type’ then rename the file by ‘MaterialType’ or ‘Material_Type’                       (Image 1)
  2. Do same for the sheet name such that no spaces between words. (Image 1)

      (image 1)
  3. If in any case the import excel fail or any error may occur in the process, then create a new sheet with in that excel file and paste the data here from the previous sheet.

    (images 2)
  4. You need to make sure that AzureStorageEmulator is running when you are trying to import or export files, other-wise the following error may occur in uploading excel file.
    (image 3)

In order to run Azure storage emulator, do perform the following steps
– Run command prompt as administrator.
– Navigate by typing “cd C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\”
– Run AzureStorageEmulator.exe start

(image 4)


Data Import

My import file looks this way,

(image 5)

  1. Navigate to  Workspaces > Data management.

    (image 6)
  2. Click import

    (image 7)
  3. Do the needful as below,

    (image 8)
    Here in my case, I’m importing employee data of which data entity is pre-created. However in other case one must create a custom data entity for custom data to import.
    Note: Match your .xls column data type with the entity, otherwise it’d fail to import.
  4. Upload the file and select the worksheet. While uploading .xls file an error may occur as in image 3 and apply image 4 as solution.
  5. Click on view map and map Employee legal entity id field(this is a mandatory field) with Company column in xls. If it ain’t in your xls, then does include another column by company. Further map all mandatory and other xls column.

    (image 9)
  6. Click save, close the mapping window and refresh import window. After refresh, the entity is ready for import and would appear this way.

    (image 10)
  7. Select it and click Import on the top right. The following screen would appear

    (image 11)
  8. Click on view staging data, and the staging data would appear as follow and click on ‘copy data to target’

    (image 12)
  9. Click Ok on this dialog to the right, and then click on ‘run asynchronously’

    (image 13)
  10. Finally, the data moved to target.

    (image 14)



Leave a Reply

Recent Comments