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

# Microsoft Entra (Azure AD)

> AI agent を Outlook、Teams、OneDrive などの Microsoft Entra サービスに接続します。

Microsoft Entra 連携を使用すると、ユーザーは自分の Microsoft Entra アイデンティティで AI agent に認証できます。この連携により、Microsoft のアプリケーションやサービスのエコシステムにアクセスできるようになります。ユーザーが業務データにアクセスし、Microsoft のサービスを通じて共同作業を行う必要がある B2B シナリオでは不可欠です。

## Microsoft EntraをAuth0と接続する

Auth0でMicrosoft Entra接続をセットアップするには、詳細ガイド「[アプリをMicrosoft Entraに接続する](/docs/ja-jp/authenticate/identity-providers/enterprise-identity-providers/azure-active-directory/v2)」の手順に従ってください。

このガイドでは、Auth0 で **Microsoft Entra** 接続をセットアップする手順を説明します。
このような接続を使用して、ユーザーに代わってアプリから第三者 API を呼び出す方法を一連の流れで示す例については、
[ユーザーに代わって第三者 API を呼び出すクイックスタート](/ai/docs/get-started/call-third-party-apis-on-users-behalf)をお読みください。

## Token Vaultの設定例

Microsoft Entra接続用にToken Vaultを設定するには、アプリケーションで次のコードスニペットを使用します。

**JavaScript**

**Python**

## Next steps

* To learn how to configure applications to access Token Vault, read [Configure Token Vault](/docs/secure/call-apis-on-users-behalf/token-vault/configure-token-vault).
* If your application uses [Organizations](/docs/manage-users/organizations), authenticate the user with the target organization before initiating the Connected Accounts flow. Connected accounts remain linked to the individual user profile.
* To learn how to get an access token to make a tool call, complete the [Call third-party APIs on user's behalf Quickstart](/ai/docs/get-started/call-third-party-apis-on-users-behalf).
