# 重複デバイス名のスケジュール済み検出

### 説明

このスケジュールされたランブックは、Intune で管理されているすべてのデバイスをクエリし、同じ表示名を共有するデバイスを特定します。重複の各セットについて、最も最近登録されたデバイスは、構成可能なプレフィックスの後に指定された合計長に合わせてゼロ埋めされたランダムな数字を付けた生成名に変更され、その名前は一致する Windows Autopilot デバイス オブジェクトに永続化されます。オプションの OS フィルターにより、処理対象を特定のプラットフォーム（Windows、macOS、またはその他）に制限できます。All に設定すると、すべてのプラットフォームのデバイスが評価されます。

### 場所

Organization → Devices → Dedup Device Names (Scheduled)

**ランブックの完全名**

rjgit-org\_devices\_dedup-device-names\_scheduled

### アクセス許可

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

* **種類**: Microsoft Graph
  * DeviceManagementManagedDevices.ReadWrite.All
  * DeviceManagementServiceConfig.ReadWrite.All

### パラメーター

#### NamePrefix

生成される各デバイス名の先頭に使用される固定プレフィックスです。名前が変更されるすべてのデバイスは、この文字列で始まります。

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

#### NameLength

生成されるデバイス名の合計文字数です。プレフィックスも含みます。ランダムな数字の接尾辞を入れる余地が必要なため、NamePrefix の長さより大きくなければなりません。

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

#### OsFilter

重複の検出および名前変更の対象として評価するデバイスを制限します。All はすべてのプラットフォームを含み、Windows と MacOS はそれぞれのプラットフォームのみを処理し、Other は Android、iOS、ChromeOS、および認識されない OS を対象とします。既定値は All です。

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

[ランブック リファレンスの概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions: 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:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/devices/dedup-device-names_scheduled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
