> For the complete documentation index, see [llms.txt](https://docs.dispel.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dispel.com/documentation/documentation-ja/shisuru/identity-providers/microsoft-entra-id.md). Agents can also search and read this documentation through its [MCP server](https://docs.dispel.com/~gitbook/mcp).

# Microsoft Entra ID

Microsoft Entra ID（旧 Azure AD）を ID プロバイダーとして使用し、ユーザーが OAuth（OIDC）または SAML 経由で Microsoft の認証情報を使って Dispel にサインインするようにします。

## 概要

Microsoft のクラウド ID プラットフォームである Microsoft Entra ID（旧称 Azure AD）を、組織の ID プロバイダーとして接続します。接続すると、ユーザーは Microsoft の認証情報を使用して、シングルサインオンで Dispel にサインインできます。Entra は **OAuth（OIDC）** または **SAML で接続できます。**.

このページでは、Entra 固有の設定について説明します。ユーザーのサインイン方法、グループマッピング、MFA、接続解除など、すべてのプロバイダーに共通する動作については、 [ID プロバイダー](https://docs.dispel.com/documentation/documentation-ja/shisuru/identity-providers.md).

{% hint style="info" %}
**設定画面へのアクセス** 組織の管理者としてサインインし、 **設定 → インテグレーション** （または専用の **設定 → 認証** ページ）を開きます。Microsoft Entra ID は **ID と認証（IdP / SSO）** セクションに表示されます。設定を開始するには、そのカードの **接続** をクリックします。
{% endhint %}

## 開始する前に

* IdP 側の設定は **Microsoft Entra 管理センター** （または Azure portal）で行うため、管理者アクセス権が必要です。
* 使用するプロトコルを選択します： **OAuth（OIDC）** または **SAML**。次を参照してください： [プロトコルの選択](https://docs.dispel.com/documentation/documentation-ja/shisuru/identity-providers.md#choosing-a-protocol).
* Entra 経由でサインインするユーザーが、Dispel の **組織にすでに招待されている** ことを確認してください。SSO はユーザーを認証しますが、それ自体でアクセス権を付与するものではありません。

{% hint style="warning" %}
**同時に接続できるプロバイダーは 1 つです。** 組織がすでに別の ID プロバイダーに接続されている場合は、Entra を接続する前にその接続を解除してください。
{% endhint %}

## OAuth（OIDC）で接続する

#### Microsoft Entra ID での設定

1. Microsoft Entra 管理センターで、 **アプリの登録 → 新規登録** に移動し、Dispel 用のアプリを作成します。
2. Dispel 環境用に、次の 2 つの **Web** リダイレクト URI を追加します。
   * `/oauth/login-callback` — 例：`https://app.dispel.com/oauth/login-callback`).
   * `/client-app-launcher/oktaauth.dispel.io` — 例： `https://app.dispel.com/client-app-launcher/oktaauth.dispel.io`).
   * ご利用の環境の正確なアドレスが不明な場合は、Dispel の担当者に確認してください。
3. 「 **証明書とシークレット**」で **クライアントシークレット** を作成し、その値をコピーします。
4. 「 **アプリケーション（クライアント）ID** 」と、テナントの OAuth/OIDC エンドポイントを控えます。

#### Dispel で

1. 「 **接続** 」を Microsoft Entra ID のカードでクリックし、 **「認証プロトコルの選択 → OAuth」を選択します。**.
2. 各フィールドに入力します。

| フィールド             | Entra の値                                  |
| ----------------- | ----------------------------------------- |
| **クライアント URL**    | テナントの OAuth/OIDC エンドポイント（トークンが発行される場所）。   |
| **クライアント ID**     | 「 **アプリケーション（クライアント）ID** アプリの登録から取得します。   |
| **クライアント シークレット** | 作成したクライアント シークレットの値。                      |
| **組織識別子**         | 任意に設定する一意の識別子です。ユーザーはサインイン画面でこの識別子を入力します。 |

3. クリック **設定を保存**.

## SAML で接続

#### Microsoft Entra ID での設定

1. Microsoft Entra 管理センターで、 **エンタープライズ アプリケーション → 新しいアプリケーション → 独自のアプリケーションの作成**に移動し、 **シングル サインオン → SAML**.
2. の **基本的な SAML 構成**を開き、Dispel の SAML フォーム上部に表示される値を貼り付けます。
   * **識別子（エンティティ ID）** ← Dispel の **サービス プロバイダー（SP）エンティティ ID**.
   * **返信 URL（アサーション コンシューマー サービス URL）** ← Dispel の **アサーション コンシューマー サービス URL**.
3. Entra の SAML 設定から、以下を取得します。
   * **ログイン URL** → Dispel の **SSO URL**.
   * **Microsoft Entra 識別子** → Dispel の **ID プロバイダーのエンティティ ID**.
   * 「 **証明書（Base64）** 」をダウンロードし、Dispel の **Base64 署名証明書**.

#### Dispel で

1. に **接続** をクリックして Microsoft Entra ID カードを開き、 **認証プロトコルを選択 → SAML**.
2. を選択します。 **サービス プロバイダー（SP）エンティティ ID** と **アサーション コンシューマー サービス URL** をフォーム上部からコピーし（「 **ID をコピー** / **URL をコピー**」を使用）、上記のように Entra に貼り付けます。
3. 各フィールドに入力します。

| フィールド              | Entra の値                                     |
| ------------------ | -------------------------------------------- |
| **SSO URL**        | Entra の **ログイン URL**.                        |
| **IdPエンティティID**    | 「 **Microsoft Entra 識別子**.                   |
| **Base64形式の署名証明書** | ダウンロードした Base64 証明書。貼り付けるか、「 **証明書をアップロード**. |
| **組織識別子**          | 任意に設定する一意の識別子です。ユーザーはサインイン画面でこの識別子を入力します。    |

4. クリック **設定を保存**.
5. 」を使用します。 **接続をテスト**。Dispel はサインインのために Entra にリダイレクトし、その後、受信したメールアドレスと名前を表示します。テストに失敗した場合は、値が Entra アプリと一致していること、テストユーザーが組織に招待されていることを確認してください。

## 接続後

* **ユーザーのサインイン方法** Dispel のサインイン画面で組織識別子を入力し、Microsoft で認証します。詳しくは [ユーザーのサインイン方法](https://docs.dispel.com/documentation/documentation-ja/shisuru/identity-providers.md#how-users-sign-in).
* **Entra グループを Dispel グループにマッピングする** と、メンバーシップを同期した状態に保てます。詳しくは [グループマッピング](https://docs.dispel.com/documentation/documentation-ja/shisuru-2/integrations/group-mapping.md).
* **MFA** Entra で適用される MFA はサインイン時に有効になります。Dispel のメールによるワンタイムコードは SSO ユーザーには適用されません。詳しくは [SSO と多要素認証](https://docs.dispel.com/documentation/documentation-ja/shisuru/identity-providers.md#sso-and-multi-factor-authentication).
* **プロトコルまたはプロバイダーを切り替えるには**、まず接続を解除してください。詳しくは、 [プロバイダーの切り替えまたは接続解除](https://docs.dispel.com/documentation/documentation-ja/shisuru/identity-providers.md#switching-or-disconnecting-a-provider).

## よくある質問

<details>

<summary>これは「Azure AD」と同じですか？</summary>

はい。Microsoft は Azure Active Directory の名称を Microsoft Entra ID に変更しました。Entra コンソールに「Azure AD」というラベルが残っている箇所があっても、設定方法は同じです。

</details>

<details>

<summary>Entra ではどのプロトコルを使用すればよいですか？</summary>

どちらでも使用できます。Entra アプリの設定に合ったものを選択してください。OAuth には OIDC アプリ登録を、SAML には SAML シングルサインオンを使用するエンタープライズアプリケーションを使います。

</details>

<details>

<summary>SAML接続テストに失敗しました。何を確認すればよいですか？</summary>

SSO URL、Entity ID、証明書が Entra SAML アプリと完全に一致していること、Dispel の SP Entity ID と ACS URL を Entra の Basic SAML Configuration に貼り付けていること、テストユーザーが Entra に存在し、Dispel 組織に招待されていることを確認してください。

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dispel.com/documentation/documentation-ja/shisuru/identity-providers/microsoft-entra-id.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
