# デバイスの廃止

### 説明

このランブックは、コンマ区切りのデバイス ID またはシリアル番号の一覧に基づいて、複数のデバイスを廃止します。必要に応じて、Intune でデバイスを消去し、対応する Entra ID デバイス オブジェクトを削除または無効化できます。

### 場所

Organization → Devices → Outphase Devices

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

rjgit-org\_devices\_outphase-devices

### アクセス許可

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

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

#### RBAC ロール

* クラウド デバイス管理者

### パラメーター

#### DeviceListChoice

一覧にデバイス ID が含まれているか、シリアル番号が含まれているかを決定します。

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

#### DeviceList

デバイス ID またはシリアル番号のコンマ区切りの一覧。

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

#### intuneAction

デバイスを消去するか、Intune から削除するか、Intune の操作をスキップするかを決定します。

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

#### aadAction

Entra ID デバイスを削除するか、無効化するか、Entra ID の操作をスキップするかを決定します。

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

#### wipeDevice

intuneAction から派生した内部フラグ。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | True    |
| 種類    | Boolean |

#### removeIntuneDevice

intuneAction から派生した内部フラグ。

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

#### removeAutopilotDevice

「デバイスを Autopilot から削除する」（最終値: true）または「デバイスを Autopilot に保持する」（最終値: false）は、Autopilot データベースからデバイスを削除するかどうかを扱います。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | True    |
| 種類    | Boolean |

#### removeAADDevice

aadAction から派生した内部フラグ。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | True    |
| 種類    | Boolean |

#### disableAADDevice

aadAction から派生した内部フラグ。

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

[ランブック リファレンスの概要に戻る](/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/outphase-devices.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.
