> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# KYC Agent向けにMicrosoft Graph APIを設定する

> Azure アプリケーションを登録し、IBM watsonx Orchestrate で Microsoft Graph API 接続を設定して、KYC Agent がメール通知やワークフロー更新を送信できるようにします。

KYC Agent が承認、却下、ステータス更新の自動メール通知を送信できるよう、Microsoft Graph API へのアクセスを設定します。

<div id="configure-the-microsoft-graph-connection">
  ## Microsoft Graph 接続を設定する
</div>

<Steps>
  <Step title="Azure アプリケーションを登録する">
    Microsoft Azure Active Directory にアプリケーションを登録します。
  </Step>

  <Step title="Microsoft Graph API の権限を付与する">
    `Mail.Send` など、必要な Microsoft Graph API の権限を付与します。
  </Step>

  <Step title="接続の認証情報を設定する">
    IBM watsonx Orchestrate の接続 `microsoft_abbyy_e073d849` で、以下の認証情報を設定し、安全に保管します:

    * `GRAPH_CLIENT_ID`
    * `GRAPH_CLIENT_SECRET`
    * `GRAPH_TOKEN_URL`
    * **スコープ**: `offline_access openid profile User.Read`
    * **Authorization URL**
    * **Server URL**
  </Step>

  <Step title="接続を作成し、Callback URL をコピーする">
    IBM watsonx Orchestrate で Microsoft Graph API 接続を作成して保存します。次に、接続設定で生成された **Callback URL** をコピーして保存します。

    <Frame>
      <img src="https://mintcdn.com/abbyy/y2xLIbIIxf-9gINl/images/vantage/developer/connectors/ibm-watsonx-orchestrate/watsonx-microsoft-connection.png?fit=max&auto=format&n=y2xLIbIIxf-9gINl&q=85&s=f76fbe2dc2553758eb2025d5219e6afa" alt="OAuth2 Authorization Code の各フィールドと生成された Callback URL が表示された、IBM watsonx Orchestrate の Microsoft Graph 接続のスクリーンショット。" width="1301" height="696" data-path="images/vantage/developer/connectors/ibm-watsonx-orchestrate/watsonx-microsoft-connection.png" />
    </Frame>
  </Step>

  <Step title="Callback URL を Azure に追加する">
    **Callback URL** を Azure アプリケーションの **Redirect URI の設定** に追加します。

    <Frame>
      <img src="https://mintcdn.com/abbyy/y2xLIbIIxf-9gINl/images/vantage/developer/connectors/ibm-watsonx-orchestrate/azure-redirect-uri.png?fit=max&auto=format&n=y2xLIbIIxf-9gINl&q=85&s=3040ab72fbea612665392ba4c6b7e6a4" alt="Redirect URI の設定タブと Add Redirect URI ボタンが強調表示された、Microsoft Azure のアプリ登録 Authentication ページのスクリーンショット。" width="1371" height="513" data-path="images/vantage/developer/connectors/ibm-watsonx-orchestrate/azure-redirect-uri.png" />
    </Frame>
  </Step>

  <Step title="接続を保存して検証する">
    IBM watsonx Orchestrate で接続を保存し、検証します。
  </Step>

  <Step title="KYC Agent がこの接続を使用するように設定する">
    メール通知とワークフローの更新の送信に Microsoft Graph API 接続を使用するよう、KYC Agent を設定します。
  </Step>
</Steps>

これで、KYC Agent は IBM watsonx Orchestrate 上で実行できるように設定されました。

<div id="next-steps">
  ## 次のステップ
</div>

ABBYY Timelineプロジェクトで使用する列については、[Timelineイベントログスキーマ](/ja/vantage/connectors/ibm-watsonx-orchestrate/timeline-event-log-schema)を参照してください。
