> 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/devices/sync-device-serialnumbers-to-entraid_scheduled.md).

# デバイスのシリアル番号を Entra ID に同期（定期実行）

### 説明

この runbook は Intune 管理デバイスを取得し、それらのシリアル番号を Entra ID のデバイス拡張属性に同期します。すべてのデバイス、または値が欠落もしくは不一致のデバイスのみを処理でき、必要に応じてメールレポートを送信できます。

### 場所

組織 → デバイス → デバイスのシリアル番号を Entra ID に同期 (スケジュール済み)

**完全な Runbook 名**

rjgit-org\_devices\_sync-device-serialnumbers-to-entraid\_scheduled

### アクセス許可

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

* **種類**: Microsoft Graph
  * Organization.Read.All
  * Device.ReadWrite.All
  * DeviceManagementManagedDevices.Read.All
  * Mail.Send

### パラメーター

#### ExtensionAttributeNumber

更新する拡張属性番号

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | 1     |
| 種類    | Int32 |

#### ProcessAllDevices

true に設定されている場合はすべてのデバイスを処理し、それ以外の場合は値が欠落または不一致のデバイスのみを処理します。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | False |
| 種類    | ブール値  |

#### MaxDevicesToProcess

1 回の実行で処理するデバイスの最大数。無制限にするには 0 を使用します。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | 0     |
| 種類    | Int32 |

#### sendReportTo

レポートの送信先メールアドレス。空の場合、メールは送信されません。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### sendReportFrom

レポートの送信元メールアドレス。

| プロパティ | 値                         |
| ----- | ------------------------- |
| 必須    | false                     |
| 既定値   | <runbook@glueckkanja.com> |
| 種類    | 文字列                       |

[Runbook リファレンスの概要に戻る](/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/devices/sync-device-serialnumbers-to-entraid_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.
