> 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/zi-dong-hua/runbooks/runbook-references/org/general/add-devices-of-users-to-group_scheduled.md).

# ユーザーのデバイスをグループに追加 - 定期実行

{% hint style="info" %}
これはスケジュール実行の runbook です。単一のオブジェクトでトリガーされるのではなく、繰り返しのスケジュールで実行されるように設計されています。参照してください [スケジュール設定](/ja/zi-dong-hua/runbooks/scheduling.md) runbook のスケジュールを構成する方法の詳細について。
{% endhint %}

### 説明

この runbook は、指定したユーザー グループからアカウントを読み取り、それらのデバイスを指定したデバイス グループに追加します。オペレーティング システムでデバイスをフィルターでき、対象グループを同期状態に保ちます。

### 場所

組織 → 一般 → ユーザーのデバイスをグループに追加（スケジュール済み）

**Runbook の完全名**

rjgit-org\_general\_add-devices-of-users-to-group\_scheduled

### 詳細

| プロパティ    | 値                                  |
| -------- | ---------------------------------- |
| バージョン    | 1.1.1                              |
| 必要なモジュール | RealmJoin.RunbookHelper (>= 0.8.9) |
| スケジュール可能 | はい                                 |

### アクセス許可

#### アプリケーションのアクセス許可

* **種類**：Microsoft Graph
  * Group.ReadWrite.All
    * *表示名でグループを解決し、デバイス グループへのデバイス追加をサポートします*
  * User.Read.All
    * *ユーザー グループの推移的なユーザー メンバーを一覧し、各ユーザーの所有デバイスを読み取ります*
  * GroupMember.ReadWrite.All
    * *現在のデバイス グループ メンバーを読み取り、/groups/{id}/members/$ref を使用して不足しているデバイスを追加します*

### パラメーター

#### ユーザー グループ

対象ユーザーが所属するユーザー グループの名前またはオブジェクト ID。

| プロパティ   | 値                        |
| ------- | ------------------------ |
| 必須      | はい                       |
| 既定値     |                          |
| 種類      | 文字列                      |
| ポータル表示名 | ユーザー グループの名前またはオブジェクト ID |

#### デバイス グループ

デバイスを追加する対象のデバイス グループの名前またはオブジェクト ID。

| プロパティ   | 値                        |
| ------- | ------------------------ |
| 必須      | はい                       |
| 既定値     |                          |
| 種類      | 文字列                      |
| ポータル表示名 | デバイス グループの名前またはオブジェクト ID |

#### Windows デバイスを含める

true に設定すると、対象のデバイス グループに Windows デバイスが含まれます。

| プロパティ   | 値                            |
| ------- | ---------------------------- |
| 必須      | いいえ                          |
| 既定値     | False                        |
| 種類      | ブール値                         |
| ポータル表示名 | Windows デバイスを含める（既定値: False） |

#### macOS デバイスを含める

true に設定すると、対象のデバイス グループに macOS デバイスが含まれます。

| プロパティ   | 値                          |
| ------- | -------------------------- |
| 必須      | いいえ                        |
| 既定値     | False                      |
| 種類      | ブール値                       |
| ポータル表示名 | macOS デバイスを含める（既定値: False） |

#### Linux デバイスを含める

true に設定すると、対象のデバイス グループに Linux デバイスが含まれます。

| プロパティ   | 値                          |
| ------- | -------------------------- |
| 必須      | いいえ                        |
| 既定値     | False                      |
| 種類      | ブール値                       |
| ポータル表示名 | Linux デバイスを含める（既定値: False） |

#### Android デバイスを含める

true に設定すると、対象のデバイス グループに Android デバイスが含まれます。

| プロパティ   | 値                            |
| ------- | ---------------------------- |
| 必須      | いいえ                          |
| 既定値     | False                        |
| 種類      | ブール値                         |
| ポータル表示名 | Android デバイスを含める（既定値: False） |

#### iOS デバイスを含める

true に設定すると、対象のデバイス グループに iOS デバイスが含まれます。

| プロパティ   | 値                        |
| ------- | ------------------------ |
| 必須      | いいえ                      |
| 既定値     | False                    |
| 種類      | ブール値                     |
| ポータル表示名 | iOS デバイスを含める（既定値: False） |

#### iPadOS デバイスを含める

true に設定すると、iPadOS デバイスが含まれます。

| プロパティ   | 値                           |
| ------- | --------------------------- |
| 必須      | いいえ                         |
| 既定値     | False                       |
| 種類      | ブール値                        |
| ポータル表示名 | iPadOS デバイスを含める（既定値: False） |

[Runbook Reference の概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# 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://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/general/add-devices-of-users-to-group_scheduled.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.
