Configuring Data Export Service in Microsoft Dynamics 365

Data Export Service is an add-on that allows replicating CRM Online Data to Azure SQL Database.

The below video by expert Scott Durow is the best resource to learn about it

https://www.youtube.com/watch?v=txms2Yvn6Vc

Below are the steps we need to follow to configure it.

  • Go to Settings – Dynamics Marketplace

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Search for Dynamics 365 Export Service

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Click on GET IT NOW

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Click on Agree

(转)在Microsoft Dynamics 365中配置数据导出服务

  • This will install the Data Export Service solution

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Back in CRM – Go to Settings – Data Export. (Pop up window will open up a page for Data Export Authentication, so we need to enable pop up)

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Click on New to create a new Data Export File.

(转)在Microsoft Dynamics 365中配置数据导出服务

Basically, here we need the Key Vault URL here which stores the database connection string securely.

(转)在Microsoft Dynamics 365中配置数据导出服务

Clicking on the information icon opens up the dialog box with the below PowerShell script, which needs value for variables like subscription id, key vault name, secret name, tenant id etc.

(转)在Microsoft Dynamics 365中配置数据导出服务

i.e.

(转)在Microsoft Dynamics 365中配置数据导出服务

So as a first step here we need to configure Azure Active Directory (if Office 365 and Azure Tenant are separate)

https://docs.microsoft.com/en-us/azure/billing/billing-add-office-365-tenant-to-azure-subscription

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Next step is to create Azure SQL database. Search for SQL databases in All Resources and click on Add

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Specify the required information and click Create.

(转)在Microsoft Dynamics 365中配置数据导出服务

(转)在Microsoft Dynamics 365中配置数据导出服务

Next we need to create a User that will be used to configure Data Export Service and has appropriate rights in the database

(转)在Microsoft Dynamics 365中配置数据导出服务

Here the user has been assigned db owner role

(转)在Microsoft Dynamics 365中配置数据导出服务

   

For the minimum rights required check the below article

https://technet.microsoft.com/en-us/library/mt744592.aspx

(转)在Microsoft Dynamics 365中配置数据导出服务

Now let us replace the below placeholders one by one

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Subscription ID(转)在Microsoft Dynamics 365中配置数据导出服务
  • Key Vault Name – NishantDemoKeyVault
  • Secret Name – DataExport
  • Resource Group – DemoRG
  • Location – East US
  • Connection String

(转)在Microsoft Dynamics 365中配置数据导出服务

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Organization ID List

(转)在Microsoft Dynamics 365中配置数据导出服务

(转)在Microsoft Dynamics 365中配置数据导出服务

KeyVault record created in Azure

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Going back to our Export Profile wizard, we need to paste the Key Vault URL

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Click on Validate

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Select the entity or entities for which profile needs to be created

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Select any relationships 

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Next click on Create and Activate

(转)在Microsoft Dynamics 365中配置数据导出服务

(转)在Microsoft Dynamics 365中配置数据导出服务

This creates the profile record in CRM

(转)在Microsoft Dynamics 365中配置数据导出服务

(转)在Microsoft Dynamics 365中配置数据导出服务

  • Once Initial Sync Status shows as completed we can see the tables created in the Azure Database.

(转)在Microsoft Dynamics 365中配置数据导出服务

The records synchronized –

(转)在Microsoft Dynamics 365中配置数据导出服务

(转)在Microsoft Dynamics 365中配置数据导出服务

Let us delete the below selected lead records –

(转)在Microsoft Dynamics 365中配置数据导出服务

Delete Log table will hold the information of the deleted lead records

(转)在Microsoft Dynamics 365中配置数据导出服务

To create export profile for a custom entity, (say for e.g. entity named Test in our case)

(转)在Microsoft Dynamics 365中配置数据导出服务

We need to enable Change Tracking in it.

(转)在Microsoft Dynamics 365中配置数据导出服务

(转)在Microsoft Dynamics 365中配置数据导出服务

Get all the details here

http://develop1.net/public/post/Dynamic365-Data-Export-Service.aspx

https://technet.microsoft.com/library/a70feedc-12b9-4a2d-baf0-f489cdcc177d

Hope this helps..

相关文章:

  • 2021-11-18
  • 2021-07-19
  • 2021-11-14
  • 2021-11-01
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-17
  • 2021-08-06
  • 2022-12-23
  • 2021-11-17
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案