> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/multi-user-devices.md).

# 複数ユーザー共有デバイス

RealmJoin Agent ベースのソフトウェア展開で複数ユーザー デバイスをプロビジョニングします。

この記事では、展開と管理の方法を説明します **Intune のマルチユーザーデバイス** を使用して **Windows Autopilot Self-Deployment** と組み合わせて **RealmJoin DEM（Device Enrollment Manager）アカウント**.

この概念により、管理者は次のことができます。

* デバイスをプロビジョニングする **割り当てずに** 実際の **ユーザー** ～中に **Autopilot/Intune 登録**
* 専用の **RealmJoin DEM アカウント** を設定して **プライマリ ユーザー**
* **パッケージを展開する** 共有デバイスで更新が確実に適用されるようにする

## 概念

* 次を使用してデバイスを展開します **Windows Autopilot Self-Deployment モード** — これにより、ユーザーを割り当てずに Autopilot のプロビジョニングが完了します。
* **最初にサインインする** 専用の **RealmJoin DEM アカウント**.
  * DEM アカウントは、RealmJoin データベース内で特別なマルチユーザーデバイスアカウントの種類としてマークされた専用グループによって識別されます。
* RealmJoin はこの DEM アカウントを自動的に **プライマリ ユーザー** デバイスのプライマリ ユーザーとして設定します。
* **割り当てます** required **RealmJoin パッケージ** サポートされている割り当て方法のいずれかを使用して、共有デバイス上のすべてのユーザーが利用できるようにします。

## 要件

### Intune Autopilot 登録

これらの共有デバイスを登録するには、デプロイ モード「Self-Deploying」を選択します。

<figure><img src="https://3438325150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F8Do2rBs4LW7FOCOFoEmC%2Fimage.png?alt=media&amp;token=e0989e8a-9ac8-464a-8e44-96d75c9bced7" alt=""><figcaption></figcaption></figure>

### RealmJoin DEM アカウント（または複数）

対応するサービス アカウントを作成します。アカウントは次の条件を満たす必要があります。

* 適切なライセンスが付与されている必要があります（例: Intune ライセンス）
* 共有デバイスの運用期間中、利用可能な状態を維持する必要があります
* 次の専用 DEM グループに追加する必要があります

### RealmJoin DEM グループ

専用グループを作成する **すべての DEM アカウントを含む** 共有デバイス登録アカウントを表すためのものです。

{% hint style="info" %}
作成後、 **オブジェクト ID** グループの詳細を私たちの **RJ サポート**へ送ってください。この特別なグループはバックエンドでフラグ付けします。
{% endhint %}

### パッケージ割り当てオプション

どちらのオプションでも **自動的に変更されます** その **既定のスクリプト制限** — そのため、 **セカンダリ ユーザーは** 〜できます **ソフトウェア パッケージをインストール/更新する** **割り当てられます** 対象の **共有デバイスまたは DEM ユーザー**.

#### オプション A: パッケージをデバイスに割り当てる

パッケージは **デバイスに直接割り当てられます** （例: 共有デバイスを対応する RJ アプリ グループに入れる）。

{% hint style="info" %}
RJ サポートに確認してください、もし **デバイス割り当て機能** がテナントで有効になっている場合。
{% endhint %}

デバイスとサインインしたユーザーが同じパッケージの異なるグループに割り当てられている場合（例: デバイスが Uninstall または Exclude グループにあり、ユーザーが Main グループにいる場合）、割り当ては決定論的に解決されます。詳細は [割り当ての優先順位と競合](https://docs.realmjoin.com/ja/apurikshon/packages/package-deployment.md#assignment-priority-and-conflicts) 正確な順序を参照してください。

#### オプション B: パッケージを DEM ユーザーに割り当てる

パッケージは代わりに **DEM ユーザー アカウントに直接割り当てることができます**。セカンダリ ユーザーは割り当てられたソフトウェアを自動的に継承します。そのため、ユースケースごとに DEM アカウントを用意すると便利な場合があります。

## 推奨事項

### パッケージ設定

{% hint style="info" %}
マルチユーザーデバイスは通常、比較的短いセッションで使用されるため、通常運用中にパッケージのインストールや更新を行う機会は限られます。 **確実に** 〜を **ソフトウェアの展開と更新** が **処理され** として **すばやく** と **確実に** するため、私たちは **強く推奨します** 次の設定を適用することを **設定**.

これらを次にスコープ設定できます。 **RealmJoin DEM グループ**.
{% endhint %}

| 設定項目                                               | 値      | 説明                                                                                                  |
| -------------------------------------------------- | ------ | --------------------------------------------------------------------------------------------------- |
| `SoftwarePackageOverrides.AllowBackgroundInstall`  | `true` | 実行されます **パッケージの更新/インストールを直接** の後に **設定更新**.                                                         |
| `SoftwarePackageOverrides.IgnorePhaseRestrictions` | `true` | パッケージのフェーズ制限を上書きし、次を含むすべてのフェーズを有効にします。 **ログオン**。これにより、保留中のソフトウェアのインストールと更新を **ユーザーのログオン直後に処理できます**. |

参考: [利用可能な RealmJoin ポリシー](https://docs.realmjoin.com/ja/ugd-management/user-and-group-settings/additional-settings.md#global-override-of-software-package-behavior)

## 登録フロー

{% stepper %}
{% step %}

### 準備

* [ ] Autopilot「Self-Deploying」登録を設定する
* [ ] RealmJoin DEM アカウントを作成する
* [ ] RealmJoin DEM グループを作成する
* [ ] RJ サポートに連絡する
  * [ ] 「RealmJoin DEM グループ」をマークするために
  * [ ] デバイス割り当て機能がテナントで有効になっていることを確認する
* [ ] 目的のパッケージを割り当てる
  {% endstep %}

{% step %}

### Autopilot Self-Deploying

デバイスが Autopilot 登録を開始します。Intune Enrollment Status Page（ESP）は次のフェーズを順に実行します。

* デバイス準備: 例: Entra Join と Intune オンボーディング
* デバイス セットアップ: **RealmJoin エージェント** 〜である必要があります **そのフェーズでインストールされている**
  {% endstep %}

{% step %}

### Windows サインイン

Windows は最初のユーザーのサインインを待機します。この段階では、 **専用の RealmJoin DEM アカウントでログオンする必要があります**。RealmJoin はそのアカウントを自動的に検出し、 **割り当てます** それを **デバイスのプライマリ ユーザーとして**.

{% hint style="info" %}
DEM アカウント以外のアカウントでログオンしないでください。そうするとプライマリ ユーザーの割り当てが誤り、マルチユーザーデバイスのロジックが機能しなくなります。
{% endhint %}
{% endstep %}

{% step %}

### Autopilot が完了します

Autopilot 登録の残りの処理が実行されます。
{% endstep %}

{% step %}

### パッケージの展開

RealmJoin は初期フェーズを開始し、 **割り当てられたソフトウェアを展開します** 対象の **DEM アカウントおよび/または共有デバイスに**.
{% endstep %}

{% step %}

### デバイスは他のユーザーの利用準備が整いました

他のユーザーがログインします。 **ソフトウェア** DEM に割り当てられている **継承済み** ものは彼らに提供され、次に割り当てられているパッケージも **デバイス** 利用できます。
{% endstep %}
{% endstepper %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/multi-user-devices.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
