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

# Scalefusion でデバイス保護をデプロイ

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

## インストール

{% 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. Scalefusionダッシュボードで、 **デバイスプロファイルとポリシー** → **デバイスプロファイル** を開き、対象にしたいmacOSデバイスプロファイルを編集します。
2. プロファイル内で、 **カスタム設定** セクションを開いてペイロードエディタにアクセスします。
3. の内容を貼り付けるか、 `.mobileconfig` をペイロードエディタに貼り付けるか、 **ファイルをインポート** して `.mobileconfig` を直接アップロードします。
4. クリック **検証** を実行し、緑のチェックマークを確認します。
5. クリック **保存** して、ペイロードをプロファイル内のデバイスに配信します。

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

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

1. Scalefusionダッシュボードで、 **エンタープライズ** → **マイアプリ** → **エンタープライズストア**.
2. クリック **新しいアプリをアップロード** → **macOSアプリをアップロード**.
3. Aikido Device Protection をアップロードする `.pkg` ファイル（またはクラウドストレージでホストされているファイルへのリンクを指定してください）。
4. 次のことを確認します】【： **アプリ名**, **バンドルID**、 **アプリバージョン**、次にクリック **保存**.

{% hint style="warning" %}
Scalefusionが配布するのは **署名済みの** PKGファイルのみです。ダッシュボードからダウンロードしたAikido Device Protectionインストーラーは署名済みなので、そのままアップロードしてください。再パッケージ化や再署名はしないでください。
{% endhint %}
{% endstep %}

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

1. 次のことを確認します】【： **カスタム設定** 前の手順でのペイロードは、対象のmacOSデバイスプロファイル内のすべてのデバイスに適用されます。
2. 再び **エンタープライズストア**、アップロードしたAikido Device Protectionアプリを選択します。
3. クリック **公開** し、同じデバイスプロファイルを選択します。
4. クリック **公開** をもう一度実行して確認します。
   {% endstep %}

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

1. Scalefusionダッシュボードで、 **デバイス** を実行し、各対象デバイスを選択します。
2. クリック **アクション** を選択し、 **再起動**.

{% hint style="info" %}
再起動アクションには、デバイスが監視対象である必要があります。デバイスが監視対象でない場合は、実行されるスクリプトジョブを使って再起動をトリガーしてください `sudo reboot`.
{% endhint %}

エージェントは次回の起動時に完全に有効化されます。
{% 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-scalefusion.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.
