Microsoft Dynamics 365
Version 25.3.9414
Version 25.3.9414
Microsoft Dynamics 365
CData Sync アプリケーションからMicrosoft Dynamics 365 コネクタを使用して、サポートされている任意のデータソースから同期先のMicrosoft Dynamics 365 へデータを移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。
Microsoft Dynamics 365 コネクタを追加
Sync でMicrosoft Dynamics 365 のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります。
-
Sync のダッシュボードから接続ページを開きます。
-
接続を追加をクリックしてコネクタを選択ページを開きます。
-
データソースタブをクリックしてMicrosoft Dynamics 365 行に移動します。
-
行末にある接続を設定アイコンをクリックして、新しい接続ページを開きます。接続を設定アイコンが利用できない場合は、コネクタをダウンロードアイコンをクリックしてMicrosoft Dynamics 365 コネクタをインストールします。新規コネクタのインストールについて詳しくは、接続を参照してください。
Microsoft Dynamics 365 への認証
コネクタを追加したら、必須プロパティを設定する必要があります。
-
Connection Name - Enter a connection name of your choice.
-
Organizational URL - Enter the URL to your Microsoft Dynamics 365 organization (for example, https://abc123.cloudax.dynamics.com).
CData Sync supports authenticating to Microsoft Dynamics 365 in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.
Azure Active Directory
Azure Active Directory(AD)ユーザーアカウントで接続するには、Auth Scheme でAzureAD を選択します。CData Sync は、接続するための組み込みOAuth アプリケーションを提供するため、追加のプロパティは必要ありません。
Azure Managed Service Identity
Azure 仮想マシン上でCData Sync が実行されている場合にAzure マネージドサービスID(MSI)を利用するには、Auth Scheme でAzure MSI を選択します。追加のプロパティは必要ありません。
Azure Service Principal
Azure サービスプリンシパルとクライアントシークレットで接続するには、次のプロパティを設定します。
-
Auth Scheme - AzureServicePrincipal を選択。
-
Azure Tenant - 接続するMicrosoft Online テナントを入力。
-
OAuth Client Id - OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントId を入力。
-
OAuth Client Secret - OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントシークレットを入力。
アプリケーションのOAuth クライアントId およびクライアントシークレットを取得するには:
-
Azure ポータルにログインします。
-
左ナビゲーションペインですべてのサービスを選択します。次にアプリの登録を検索し選択します。
-
新規登録をクリックします。
-
アプリケーションの名前を入力して任意のAzure AD ディレクトリ - マルチテナントを選択します。
-
アプリケーションを作成したら、概要セクションに表示されるアプリケーション (クライアント) ID の値をコピーします。この値をOAuth クライアントId として使用します。
-
証明書とシークレットセクションに移動して、アプリケーションの新しいクライアント シークレットを選択します。
-
有効期間を指定してクライアントシークレットを保存します。保存するとキーの値が表示されます。
-
値は一度しか表示されないので、コピーしておきます。この値をOAuth クライアントシークレットとして使用します。
-
認証タブで、必ずアクセストークン (暗黙的なフローに使用) を選択します。
Azure Service Principal Certificate
Azure サービスプリンシパルとクライアント証明書で接続するには、次のプロパティを設定します。
-
Auth Scheme - AzureServicePrincipalCert を選択。
-
Azure Tenant - 接続するMicrosoft Online テナントを入力。
-
OAuth Client Id - OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントId を入力。
-
OAuth JWT Cert – Java web token(JWT)証明書ストアを入力。
-
OAuth JWT Cert Type – JWT 証明書を格納するキーストアの種類を入力。デフォルトの種類はPEMKEY_BLOB です。
-
OAuth JWT Cert Password(オプション)– OAuth JWT 証明書のパスワードを入力。
-
OAuth JWT Cert Subject(オプション)– OAuth JWT 証明書のサブジェクトを入力。
アプリケーションのOAuth 証明書を取得するには:
-
Azure ポータルにログインします。
-
左ナビゲーションペインですべてのサービスを選択します。次にアプリの登録を検索し選択します。
-
新規登録をクリックします。
-
アプリケーションの名前を入力して任意のAzure AD ディレクトリ - マルチテナントを選択します。
-
アプリケーションを作成したら、概要セクションに表示されるアプリケーション (クライアント) ID の値をコピーします。この値をOAuth クライアントId として使用します。
-
証明書とシークレットセクションに移動して、証明書のアップロードを選択します。次に、ローカルマシンからアップロードする証明書を選択します。
-
有効期間を指定してクライアントシークレットを保存します。保存するとキーの値が表示されます。
-
値は一度しか表示されないので、コピーしておきます。この値をOAuth クライアントシークレットとして使用します。
-
認証タブで、必ずアクセストークン (暗黙的なフローに使用) を選択します。
Complete Your Connection
To complete your connection:
-
For Edition, select the edition for your version of Microsoft Dynamics 365.
-
CustomerService
-
FieldService
-
Marketing
-
ProjectOperations
-
Sales
-
Commerce
Note: The FinOpsOnline, FinOpsOnPremise, and HumanResources editions do not support the Microsoft Dynamics 365 destination.
-
-
高度な設定タブで接続の高度な設定を定義します。(ただし、ほとんどの場合これらの設定は必要ありません。)
-
AzureAd で認証する場合は、Microsoft Dynamics 365 への接続 をクリックしてMicrosoft Dynamics 365 アカウントに接続します。
-
作成およびテストをクリックして接続を作成します。
Create Alternate Keys
Using alternate keys is a key component in a CData Sync reverse ETL workflow, enabling simplification of data integration. Because Microsoft Dynamics 365 stores data in Microsoft Dataverse tables, alternate keys play a crucial role in facilitating data movement between Sync and Microsoft Dynamics 365. These keys provide a reliable way to match records when Dataverse globally unique identifiers (GUIDs) are unavailable. Similar to how Salesforce uses an external Id for record identification, alternate keys ensure seamless synchronization and data updates without relying on primary identifiers (Ids).
When you create an alternate key for a Dataverse table, that key is displayed as a column on the Column Mapping tab for your reverse ETL job in Sync.
To create an alternate key:
-
Sign in to Microsoft Power Apps and navigate to the Dataverse tables.
-
Select the table that you (for example, the Account table).This selection opens the table view.
-
In the table view, select Keys to open the alternate-keys view.
-
On the Keys page, follow these steps:
-
Click New Key, which opens a pop-up dialog box on the right.
-
In the Key dialog box, specify the following information:
-
Display Name: Enter a name for this key. This name will be displayed in label is the label that will be displayed in the Sync application’s ID mapping section.
-
Columns: Select a column that you want to use as an alternate key. Note that alternate keys must be unique and they must meet the requirements that are described in the Microsoft Dynamics 365 documentation. If you do not have a column that meets the requirements, you can add a column manually to use.
Note: If you add a new column to use as an external identifier (Id), make sure to backfill it with unique values before you use it to prevent accidental duplicates.
-
-
Click Save to create your alternate key and to display it on the Column Mapping tab for your Sync job.
-
-
Select the name of your alternate key on the Column Mapping tab and map it to the appropriate column for your source in Sync.
詳細情報
CData Sync とMicrosoft Dynamics 365 の連携について、詳しくはMicrosoft Dynamics 365 Connector for CData Sync を参照してください。