# デバイス名の変更

### 説明

デバイスの名前を変更します（Intune と Autopilot で）。

### 場所

デバイス → 全般 → デバイス名の変更

**フル Runbook 名**

rjgit-device\_general\_rename-device

### 権限

#### アプリケーションの権限

* **種類**: Microsoft Graph
  * Device.Read.All
  * DeviceManagementManagedDevices.Read.All
  * DeviceManagementServiceConfig.ReadWrite.All
  * DeviceManagementManagedDevices.PrivilegedOperations.All

### パラメーター

#### DeviceId

対象デバイスのデバイス ID。

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

#### NewDeviceName

設定する新しいデバイス名。この runbook は、一般的な Windows のホスト名の制約に照らして名前を検証します。

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

[Runbook Reference の概要に戻る](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references)
