> 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/user/security/revoke-or-restore-access.md).

# アクセスを取り消すまたは復元

### 説明

ユーザー アカウントをブロックまたは再有効化し、必要に応じてアクティブなサインイン セッションを取り消します。インシデント対応中にユーザー トークンを即座に無効化するために使用できます。

### 場所

ユーザー → セキュリティ → アクセスの取り消しまたは復元

**完全な Runbook 名**

rjgit-user\_security\_revoke-or-restore-access

### アクセス許可

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

* **種類**: Microsoft Graph
  * User.ReadWrite.All

#### RBAC ロール

* ユーザー管理者

### パラメーター

#### ユーザー名

対象ユーザーのユーザー プリンシパル名。

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

#### Revoke

「(再)ユーザーを有効化」（最終値: $false）または「アクセスの取り消し」（最終値: $true）を実行する操作として選択できます。true に設定すると、ランブックはユーザーのサインインをブロックし、アクティブなセッションを取り消します。false に設定すると、ユーザー アカウントを再有効化します。

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

[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/user/security/revoke-or-restore-access.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.
