Microsoft Dynamics 365 CRM
Microsoft Dynamics 365 is a cloud-based business applications platform that provides customer relationship management (CRM). You can land CRM data from Microsoft Dynamics 365 as a data source when landing or replicating data.
The following Microsoft Dynamics 365 modules are supported:
-
Sales
-
Marketing
-
Customer Service
-
Field Service
-
Project Service Automation
Only standard objects are supported.
-
SaaS アプリケーションへの接続に関する詳細については、「SaaSアプリケーションへの接続を参照してください。
-
Data Movement gateway は、SaaS アプリケーションからデータを移動するためにインストールする必要があります。詳細は、Qlik Data Gateway - データ移動をご覧ください。
サポートされている更新方法
詳細は、変更処理をご覧ください。
ランディング タスク:
-
変更データ キャプチャ (CDC)
-
リロードして比較
レプリケーション タスク:
-
変更テーブルを使用した変更データ キャプチャ (CDC)
-
フル ロード
データ レイク タスクにデータをランディング:
-
変更データキャプチャ (CDC)
-
リロード
When using CDC, you must enable Change Tracking in Microsoft Dynamics 365 for all entities that need to be replicated.
-
Out of the box entities are enabled by default.
-
You can enable custom entities by navigating to the relevant Entity Definition page of your entity and selecting Change Tracking.
For more information, see Enable change tracking for entities.
Preparing for authentication
To access your Microsoft Dynamics 365 CRM data, you need to authenticate the connection with your account credentials.
-
Go to https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade and click New registration.
-
Set Name to Qlik
-
Set the redirect URL to https://connector.qlik.com/auth/oauth/v3.htm.
-
Click Register.
-
Copy the Application ID to Client ID in the connection settings.
-
Go to the API permissions tab, click Add a permission, and select Microsoft Graph.
-
Click Delegated permissions and select Offline_access.
-
Click Add permissions.
-
Click Add a permission.
-
Click Dynamics CRM.
-
Click Permissions, and select user_impersonation.
-
Click Add permissions.
-
Click Grant admin consent for... and thenclick Yes.
-
Click Certificates & secrets.
-
Click New client secret, and select Never or set the expiry as far in the future as possible.
-
Click Add.
Value contains your client secret that you can copy to Client Secret in the connection. You may also want to record the client secret for future use.
Creating the connection
-
必要な接続設定を満たしたら、認証をクリックします。
ソースアプリケーションにログインするよう求められる場合があります。
ウィンドウに認証コードが表示されます。
-
コードをクリップボードにコピーしてから、接続ダイアログに戻ります。
-
ソースが提供するコードに基づいて認証を完了にコードをペーストしてから、認証をクリックします。
ヒント メモこのフィールドを表示するためにスクロールダウンする必要があるかもしれません。ステータスが検証済みであれば、認証は検証されたことになります。
-
接続名に接続の名前を入力します。
-
接続メタデータを開くを選択して、作成時の接続のメタデータを定義します。
Setting | Description |
---|---|
Data gateway |
Data Movement gatewayを選択して、レプリケーション データを使用します。 |
Client ID | Client ID. Application ID for the application you created. |
Client Secret | Client secret. You can find your client secret on the application page. on the Certifications and secrets tab. |
Authorization Endpoint | Authorization endpoint. You can find your authorization endpoint on the application page. Click Endpoints, and copy the value in OAuth 2.0 authorization endpoint (v1). |
Token Endpoint | Token endpoint. You can find your token endpoint on the application page. Click Endpoints, and copy the value in OAuth 2.0 token endpoint (v1). |
Service Root URL |
Service root URL. To find the service root URL:
|
Resource |
Resource. Use the first part of your Service Root URL. Example: https://example.crm.dynamics.com |