> 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-ninjaone.md).

# NinjaOneでデバイス保護を展開する

必要な権限を設定したうえで、NinjaOne MDM を使用して管理対象の macOS フリート全体に Aikido Device Protection を展開します。

{% hint style="info" %}
開始する前に、すべてのデバイスを NinjaOne MDM に登録しておく必要があります（手動でのプロファイルインストール、または Apple Business Manager / Apple School Manager の自動デバイス登録を使用）。
{% endhint %}

## インストール

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

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

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

これらのいずれかが不足している場合は、】【t\_6cbe2f54】：に戻り、事前確認の手順を完了してください。 [Aikido Device Protection ダッシュボード](https://app.aikido.dev/endpoint-protection/devices)、 **デバイスを接続**に戻り、事前確認の手順を完了してください。
{% endstep %}

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

1. 開く `.mobileconfig` ファイルをテキストエディタで開き、XML の内容をコピーします。
2. NinjaOne 管理ポータルで、 **管理** 左側のナビゲーションペインで **ポリシー** のドロップダウンを開き、 **MDMポリシー**.
3. クリック **新しいポリシーを作成** （または既存の macOS ポリシーを編集）し、 **Apple** プラットフォームとして **macOS** をデバイスタイプとして選択します。
4. ポリシーに名前を付けます（例:「Aikido Device Protection」）。
5. 開く **カスタムペイロード** セクションで、次をクリックします **+ ペイロードを追加**.
6. の **ペイロードを追加** ダイアログで、名前（例: 「Aikido Device Protection」）を入力し、 `.mobileconfig` ファイルの XML の全文を **コンテンツ** フィールドに貼り付けます。
7. クリック **更新** をクリックしてペイロードを保存し、その後ポリシーを保存します。
8. 対象の macOS デバイスグループにポリシーを割り当てます。

{% hint style="info" %}
NinjaOne は各カスタムペイロードを個別の MDM プロファイルとしてデバイスに展開します。Aikido `.mobileconfig` には必要なペイロードがすべて含まれているため、1 つの **ペイロードを追加** エントリで十分です。
{% endhint %}

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

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

1. NinjaOne 管理ポータルで、 **管理** → **ライブラリ** → **自動化**.
2. クリック **+ 追加** を選択し、 **インストール**.
3. の **アプリケーションをインストール** ダイアログで、以下を入力します:
   * **名前：** Aikido Device Protection
   * **説明：** Aikido Device Protection
   * **オペレーティングシステム:** macOS
   * **インストーラー:** Aikido Device Protection をアップロードする `.pkg` ファイル。
   * **実行ユーザー:** システム
4. インストールパッケージを保存します。
   {% endstep %}

{% step %}
**デバイスに展開**

1. 次を割り当てます: **Aikido Device Protection** 構成プロファイルを含む MDM ポリシーを対象のデバイスグループに。
2. テストデバイスにインストールされていることを確認します。
3. 〜を展開する **Aikido Device Protection** インストールパッケージを、オンデマンド実行または **1回実行** スケジュール済みタスクを使用して同じデバイスに配布します。

{% hint style="warning" %}
展開をスケジュールする場合は、 **1回実行** オプション（または **終了** を **後** に設定し、 **回** を **1**）を使用します。繰り返しスケジュールでは、実行のたびにパッケージが再インストールされ、古いビルドが再展開される可能性があります。パッケージはデバイスごとに 1 回だけインストールする必要があります。
{% endhint %}
{% endstep %}

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

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

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

テストデバイスで、次のことを確認します：

1. システム拡張機能が有効化されていること：

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

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

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

| 問題                           | 修復                                                                        |
| ---------------------------- | ------------------------------------------------------------------------- |
| ユーザーにはまだポップアップが表示される         | 構成プロファイルが正しくスコープ設定され、パッケージポリシーが実行される前にインストールされていることを確認してください              |
| 拡張機能はユーザーの承認を待機しています         | System Extensionsペイロードを確認し、チーム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-ninjaone.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.
