> 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 で、「管理グループ」オプションを選択します。
* Aikido で「管理クラウド」として機能するサブスクリプションの ID を指定してください。これは、接続情報を保持するサブスクリプションにすぎません。これと他のサブスクリプションの間にセットアップ上の違いはありません。今後もしばらく保持する予定のものを選ぶことをおすすめします。
* 他のフィールドは任意です。 **空欄のままにすると、テナント内のすべての Azure サブスクリプションが自動的に接続されます。**
* 次に、Azure 環境への RBAC/IAM アクセスを構成する必要があります。

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

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

* CSPM コンポーネントでは、Aikido に Azure ロールが必要です `セキュリティ閲覧者` および `Log Analytics 閲覧者`.
* 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.
