> 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 管理グループを接続

{% 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 で "管理クラウド" として機能するサブスクリプションの ID を入力してください。これは接続情報を保持するサブスクリプションにすぎません。これと他のサブスクリプションの間にセットアップ上の違いはありません。将来にわたって使い続ける予定のものを選ぶことをおすすめします。
* 他の項目は任意です。 **空欄のままにすると、テナント内のすべての Azure サブスクリプションが自動的に接続されます。**
* 次に、Azure 環境への RBAC/IAM アクセスを設定する必要があります。

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

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

* CSPM コンポーネントでは、Aikido に Azure ロールが必要です `Security Reader` および `Log Analytics Reader`.
* ACR スキャンでは、Aikido に次が必要です `AcrPull` および `Container Registry リポジトリ カタログ一覧表示者`.
* 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.
