> 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/aikido-device-protection/deploying-aikido-endpoint/device-protection-mdm-guides/device-protection-mdm-for-macos/deploy-aikido-endpoint-with-primo.md).

# Primo で Device Protection を導入

必要な権限を設定した状態で、Primo を使って管理対象の macOS フリート全体に Aikido Device Protection を展開します。

{% hint style="info" %}
開始する前に、すべてのデバイスを Primo MDM に登録しておく必要があります。
{% endhint %}

## インストール

{% stepper %}
{% step %}
**必要なもの**

開始前に、Aikido Device Protection ダッシュボードから次のものを用意してください:

* その **Aikido Device Protection `.mobileconfig`** （ダウンロード元の [Aikido Device Protection ダッシュボード](https://app.aikido.dev/endpoint-protection/devices))
* その **Aikido Device Protection インストーラ** (`.pkg` ファイル、ダッシュボードからダウンロードした）

これらのいずれかが不足している場合は、 [Aikido Device Protection ダッシュボード](https://app.aikido.dev/endpoint-protection/devices)、次をクリックします: **Connect Device**に戻り、事前準備の手順を完了してください。
{% endstep %}

{% step %}
**Aikido Device Protection の構成プロファイルを追加**

1. Primo 管理コンソールで、次へ移動します。 **MDM** → **コントロール**.
2. クリック **コントロールを追加**、 **カスタムファイル**、そして次をアップロードします。 `.mobileconfig` ファイル。
3. 名前を付けます（例: 「Aikido Device Protection」）。
4. 対象のデバイスグループに適用して保存します。

このプロファイルにより、Aikido Device Protection のシステム拡張機能がサイレントで読み込まれ、ネットワークコンテンツフィルタが有効になり、ユーザーが「システム設定」→「ログイン項目」でバックグラウンドサービスを無効にできなくなります。
{% endstep %}

{% step %}
**Aikido Device Protection インストーラをアップロードする**

1. Primo 管理コンソールで、次へ移動します。 **MDM** → **ソフトウェア**.
2. クリック **アプリを追加** をクリックして、次を選択します: **カスタムアプリ**.
3. Aikido Device Protection をアップロードします `.pkg` ファイル。
4. 有効にしない **自動インストール** まだです。前の手順がすべての対象デバイスで完了したことを確認してから有効にしてください。
5. クリック **ソフトウェアを追加**.
   {% endstep %}

{% step %}
**正しい順序で展開する**

よりスムーズな展開のため、インストーラより先に構成プロファイルを展開します。

1. 次を確認します： **Aikido Device Protection** 構成プロファイルがすべての対象デバイスにインストールされていることを確認します。コントロールの状態は MDM → Controls で確認してください。
2. その後で初めて次を開きます。 **Aikido Device Protection** MDM → Software のカスタムアプリを開き、次を有効にします。 **自動インストール**、そして保存します。
   {% endstep %}

{% step %}
**インストール後にデバイスを再起動する**

エージェントパッケージがすべてのデバイスにインストールされたことを確認したら、対象デバイスを再起動してください。エージェントは次回の起動時に完全に有効化されます。
{% endstep %}

{% step %}
**展開を確認する**

テストデバイスで次を確認します：

1. システム拡張機能が有効になっている：

   ```bash
   systemextensionsctl list | grep aikido
   ```

   拡張機能に次の表示があることを確認します： `[activated enabled]`.
2. 開く **システム設定** → **全般** → **ログイン項目と拡張機能** そして、Aikido Device Protection の項目をオフに切り替えられないことを確認します。
   {% endstep %}
   {% endstepper %}

## トラブルシューティング

| 問題                            | 修正                                                                    |
| ----------------------------- | --------------------------------------------------------------------- |
| ユーザーにはまだポップアップが表示される          | 構成プロファイルが正しく対象設定され、パッケージポリシーが実行される前にインストールされていることを確認してください            |
| 拡張機能はユーザーの承認待ちです              | システム拡張機能のペイロードを確認し、チームIDとバンドルIDが完全に一致していることを確認してください                  |
| パッケージはインストールされますが、デバイスは接続しません | トークンスクリプトがパッケージのインストール前に実行され、トークンが正しくコピーされたことを確認してください                |
| 重複した拡張機能のエントリが表示される           | デバイスを再起動してください                                                        |
| コンテンツフィルタはサイレントに承認されません       | 再アップロードする `.mobileconfig` プロファイルを再アップロードし、デバイスにインストールされていることを確認してください |


---

# 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/aikido-device-protection/deploying-aikido-endpoint/device-protection-mdm-guides/device-protection-mdm-for-macos/deploy-aikido-endpoint-with-primo.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.
