> 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/device/security/enable-or-disable-device.md).

# デバイスを有効化または無効化

### 説明

このランブックは、指定されたデバイス ID に基づいて、Entra ID (Azure AD) の Windows デバイス オブジェクトを有効または無効にします。侵害された、または紛失したデバイスからのサインインを一時的にブロックしたり、修復後にデバイスを再度有効にしたりするために使用します。

### 場所

デバイス → セキュリティ → デバイスの有効化または無効化

**完全な Runbook 名**

rjgit-device\_security\_enable-or-disable-device

### アクセス許可

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

* **種類**: Microsoft Graph
  * Device.Read.All

#### RBAC ロール

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

### パラメーター

#### デバイス ID

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

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

#### 有効にする

"デバイスを無効にしますか?" (最終値: false) または "デバイスを再度有効にしますか?" (最終値: true) を、実行するアクションとして選択できます。false に設定すると、このランブックは Entra ID (Azure AD) でデバイスを無効にします。true に設定すると、このランブックは Entra ID (Azure AD) でデバイスを再度有効にします。

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

[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:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/device/security/enable-or-disable-device.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.
