Tenant Service の接続文字列の設定
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Tenant Service から Salesforce Marketing Cloud (SFMC) および xConnect サーバーへの接続を設定する必要があります。
SFMC への接続の設定
Tenant Service と SFMC 間の接続を設定するには、次の手順に従います。
-
Tenant Service サーバーで、
<Tenant Service>\App_Config\ConnectionStrings.configファイルを開きます。 -
sitecore 接続文字列に、テナント ID、ホスト名、資格情報を追加します。次に例を示します。
<connectionStrings> <add name="sitecore" connectionString="database=master;tenant id={841B0E94-4348-494D-B32D-CA5E94F26ACC};host=my-sitecore;password=b;user name=sitecore\admin;timeout=20" /> </connectionStrings>
-
新しい接続文字列を追加し、sfmc という名前を付けます。次に例を示します。
<add name="sfmc" connectionString="client id=[ClientId];client secret=[ClientSecret];auth endpoint=[AuthenticationBaseURI];rest endpoint=[RESTBaseURI];soap endpoint=[SOAPBaseURI]" />
注記SFMC - Behavioral Data Exchange インストール ガイドで、文字列の設定に必要なデータの場所を説明しています。
-
設定ファイルを保存します。
xConnect への接続の設定
Tenant Service と xConnect インスタンス間の接続を設定するには、次の手順に従います。
-
Sitecore xConnect インスタンスで、
App_Config\AppSettings.configファイルを開きます。validateCertificateThumbprintキーを探して、その値をメモします。 -
Tenant Service サーバーで、
<Tenant Service>\App_Config\ConnectionStrings.configファイルを開きます。 -
xConnect の接続文字列を追加します。次に例を示します。
RequestResponse<add name="xconnect.collection" connectionString="https://sc10_xconnect" />注記この例で、https://sc10_xconnect は Sitecore xConnect インスタンスの名前に置き換えます。
-
xConnect 証明書の接続文字列を追加します。次に例を示します。
RequestResponse<add name="xconnect.collection.certificate" connectionString="StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=299C87186516FDF9DCD27174BEF1213D45BC99F2" />注記この例で、
FindValueの値は、前述の手順 (ステップ 1) で取得したサムプリントに置き換えてください。 -
設定ファイルを保存します。
XPScaled インスタンスがある場合は、xconnect.search と xconnect.search.certificate の接続文字列も追加する必要があります。