> 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/kuraudosukyan/connect-your-cloud/azure/connect-azure-management-group-s.md).

# Azure Management Groupを接続する

このページでは、同じAzure Management Group内のAzureサブスクリプションを自動かつ継続的に接続するAikidoのサポートについて説明します。

{% hint style="info" %}
この機能は以下のみで利用できます **Pro** および **Advanced** プランです。 **お問い合わせ** 詳細はチャットでお問い合わせください。
{% endhint %}

Azure サブスクリプションのオンボーディング時に、Azure の管理グループ全体を自動的に接続するオプションがあります。

## Azure 管理グループを接続する理由

Azure 管理グループ全体を接続すると、次の利点があります：

* **セットアップの高速化**：手動で接続する必要があるのは 1 つのサブスクリプションだけです。
* **サブスクリプションの自動検出**：Azure サブスクリプションは、今後追加されるものも含めて自動的に Aikido に追加されます。
* **ACR の自動スキャン設定**：Aikido が Azure Container Registry をすべて自動的に検出してスキャンします。
* **Azure VM の自動スキャン設定**：有効にすると、Aikido はエージェントレス技術を使用してすべての Azure VM をスキャンします。

## 前提条件

* あなたは Pro、Advanced、または Enterprise プランをご利用です。
* Azure 環境内の管理グループにアクセスできます。

## はじめに

* Azure サブスクリプションの標準的なオンボーディング手順に従ってください。
* ステップ 3 で、「Management Groups」オプションを選択します。
* Aikido で「management cloud」として機能するサブスクリプションの ID を入力してください。これは接続詳細を保持するサブスクリプションにすぎません。これと他のサブスクリプションとの間にセットアップ上の違いはありません。近いうちに保持し続ける予定のものを選ぶことをお勧めします。
* 他のフィールドは任意です。 **空欄のままにすると、テナント内のすべての Azure サブスクリプションが自動的に接続されます。**
* 次に、Azure 環境への RBAC/IAM アクセスを設定する必要があります。

{% hint style="info" %}
管理グループ レベルでアクセス権を付与する必要があります。テナント ルート管理グループでアクセス権を付与すると、すべての管理グループとサブスクリプションに自動的に反映されます。

または、環境の一部のみをオンボードするために、特定の（サブ）管理グループでアクセス権を付与することもできます。
{% endhint %}

* CSPM コンポーネントについて、Aikido には Azure ロールが必要です `Security Reader` および `Log Analytics Reader`.
* ACR スキャンについて、Aikido には次が必要です `AcrPull` および `Container Registry Repository Catalog Lister`.
* VM スキャンについて、Aikido には次の権限を持つロールが必要です：

```
Microsoft.Compute/virtualMachines/read,
Microsoft.Compute/disks/beginGetAccess/action,
Microsoft.Compute/disks/endGetAccess/action,
Microsoft.Compute/disks/read,
Microsoft.Compute/snapshots/read,
Microsoft.Compute/snapshots/write,
Microsoft.Compute/snapshots/delete,
Microsoft.Compute/snapshots/beginGetAccess/action,
Microsoft.Compute/snapshots/endGetAccess/action,
Microsoft.Authorization/roleAssignments/read,
```

* セットアップを完了すると、他のサブスクリプションが数分以内に表示され始めます。

#### クラウドの用途の判定 <a href="#cloud-purpose-determination" id="cloud-purpose-determination"></a>

Azure サブスクリプションの用途/環境は、その名前から自動的に判定されます。Aikido は「production」「staging」「uat」などの用語を探し、それに応じてクラウドの用途を設定します。該当するものが見つからない場合、用途は「mixed」になります。各クラウド接続の用途は、「Configure」ボタンから手動で更新できます。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/kuraudosukyan/connect-your-cloud/azure/connect-azure-management-group-s.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
