> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/hajimeni/automated-user-management/saml-login/microsoft-azure-custom-attributes-with-saml-entra-id.md).

# Microsoft Azure: SAML/Entra IDでのカスタム属性

まず、次のガイドを使って SAML ログインが動作していることを確認してください:

[https://help.aikido.dev/doc/microsoft-azure-login-with-saml--entra-id/doc74BfKR60Z](/docs/docs-ja/hajimeni/automated-user-management/saml-login/microsoft-azure-login-with-saml-entra-id.md)

### Azure のグループベースの SAML カスタム属性の設定 <a href="#setting-up-azure-group-based-saml-custom-attributes" id="setting-up-azure-group-based-saml-custom-attributes"></a>

1. アプリケーション登録に移動します

   ![Aikido-SSO エンタープライズ アプリケーションのプロパティと設定を管理するための Azure पोータル画面。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-8ae302f9235687b459c2ba2701289c48f38f2aa0%2Fucarecdn-62b626cc-9385-45bc-9fff-35344531e015.jpeg?alt=media)
2. アプリ ロールを作成します。**値** ここにはクレームの値が入ります。この例では、次のために設定しています `aikido_role`。そのため、有効な値は次のとおりです `admin`, `デフォルト`, `team_only`.

   ![Microsoft Azure で Aikido-SSO 用の新しいアプリ ロール「Aikido Admin」を作成しています。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-78e993105cc638717163210b2b3a28878554aa15%2Fucarecdn-88ff497f-e551-4c8e-8abb-445c5d69bf5a.jpeg?alt=media)
3. 保存したら、アプリの設定に戻り、「Users and Groups」にグループを追加します

   ![Azure पोータル: ユーザーまたはグループを Aikido-SSO エンタープライズ アプリケーションに割り当てます。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-0faef4fdf1540f2b60462f4241e99cf71d8e5ffb%2Fucarecdn-1e4e94af-0c14-4f6f-81a9-30c75166cf58.png?alt=media)
4. 管理者アクセスを付与したい Entra グループを追加し（この場合）、手順 2 で作成したロールを追加します。

   ![Azure の割り当ての追加: ディレクトリのアクセス許可に対してユーザー、グループ、ロールを選択します。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-a11449ba5258733300a9c54341186ed6376fb916%2Fucarecdn-8e32309f-84be-45d0-87d6-972bb1857a3a.png?alt=media)
5. アプリのシングル サインオン設定に戻り、Attributes & Claims -> Edit に移動します

   ![Aikido-SSO アプリの Azure पोータル SAML ベースのシングル サインオン設定。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-a05c51da649be812679cfc6144889782075725d9%2Fucarecdn-ffa0ee52-da46-4747-8542-2cddee420427.png?alt=media)
6. 「Add new claim」をクリックします

   ![SAML クレームを追加および管理するための Azure पोータルの Attributes & Claims ページ。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-7cd3122ee7a99d6a9941025423a70b7812407d34%2Fucarecdn-e7012a33-19d0-4a01-9a12-f17231dff1e4.png?alt=media)
7. 属性名と、ソース属性として user.assignedroles を入力します。（これは `admin` 手順 2 で設定した値です）

   ![Azure のクレーム設定: 「aikido\_role」を「user.assignedroles」属性にマッピング。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-e9f3c593cdd24ba6b70e09564291cedf58661d9d%2Fucarecdn-02e6788a-d5d8-4bc8-b2c8-7f3371441391.png?alt=media)
8. 完了です。SAML ログイン時に、これらの変更が適用されます。


---

# 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://help.aikido.dev/docs/docs-ja/hajimeni/automated-user-management/saml-login/microsoft-azure-custom-attributes-with-saml-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.
