> 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/reset-password.md).

# パスワードをリセット

このユーザーに新しいパスワードを設定します

### 説明

Entra ID でこのユーザーの新しいパスワードを設定し、出力に表示します。新しいパスワードの設定後、無効化されたアカウントを有効化でき、次回サインイン時にユーザー自身にパスワードを選択させることができます。

### 管理者ロールを持つユーザー

Entra ID は、管理者ロールを持つユーザーを、より権限の低い管理者による変更から保護します。User Administrator ロールを使用すると、RealmJoin 管理対象 ID は、管理者ロールを持たないユーザーや、Helpdesk Administrator、Password Administrator、Groups Administrator、User Administrator など一部のロールを持つユーザーのパスワードをリセットし、アカウントを有効化できます。

その他のロールを持つユーザー、たとえば Power Platform Administrator、Exchange Administrator、Global Administrator、またはロール割り当て可能グループのメンバーや所有者については、Entra ID では Privileged Authentication Administrator または Global Administrator が必要です。実行はその後 "Insufficient privileges" で停止し、ユーザーのロール名が表示されます。このようなユーザーのパスワードは、Privileged Authentication Administrator または Global Administrator アカウントで Entra 管理センターからリセットしてください。

これら 2 つのロールのいずれかを RealmJoin 管理対象 ID に付与することは推奨されません。どちらも Global Administrator の資格情報をリセットできるためです。Microsoft は、どのロールがどの管理者のパスワードをリセットできるかを [パスワードをリセットできるのは誰か](https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/privileged-roles-permissions#who-can-reset-passwords).

#### ジョブ出力内のロール

何かが変更される前に、ジョブ出力にはユーザーに直接割り当てられている Entra ID ロールが一覧表示されます。これには、管理者ロール チェック用のオプション権限が必要です。それがない場合、出力には「読み取れませんでした」と表示され、実行は続行されます。

### 場所

ユーザー → セキュリティ → パスワードのリセット

**完全な Runbook 名**

rjgit-user\_security\_reset-password

### 詳細

| プロパティ    | 値                                                                                        |
| -------- | ---------------------------------------------------------------------------------------- |
| バージョン    | 1.1.0                                                                                    |
| 必須モジュール  | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>Microsoft.Graph.Authentication (>= 2.41.2)</p> |
| スケジュール可能 | いいえ                                                                                      |

### アクセス許可

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

* **型**: Microsoft Graph
  * RoleManagement.Read.Directory *(省略可能 — 機能: 管理者ロール チェック)*
    * *ユーザーの Entra ID ロールを読み取り、表示するとともに、Entra ID が管理者アカウントのリセットを拒否したときにロール名を示します*

#### RBAC ロール

* ユーザー管理者
  * *アプリ専用のパスワード リセットと、管理者ロールを持たないユーザーおよび Helpdesk Administrator など一部のロールを持つユーザーのアカウントを有効化するために必要です。その他の管理者には Privileged Authentication Administrator または Global Administrator が必要です*

### パラメーター

#### ユーザー名

Runbook が操作対象とするユーザーのユーザー プリンシパル名です。ポータルで選択したユーザーから設定されます。

| プロパティ    | 値                        |
| -------- | ------------------------ |
| 必須       | true                     |
| 既定値      |                          |
| 型        | 文字列                      |
| ポータルで非表示 | はい（runbook のカスタマイズで事前設定） |

#### EnableUserIfNeeded

新しいパスワードの設定後に、無効化されたアカウントを有効にします。パスワードを設定できない場合、アカウントは無効のままです。

| プロパティ    | 値                         |
| -------- | ------------------------- |
| 必須       | false                     |
| 既定値      | True                      |
| 型        | ブール値                      |
| ポータルの表示名 | 無効になっている場合、アカウントを有効にしますか？ |

#### ForceChangePasswordNextSignIn

次回サインイン時にユーザー自身にパスワードを選択させます。

| プロパティ    | 値                         |
| -------- | ------------------------- |
| 必須       | false                     |
| 既定値      | True                      |
| 型        | ブール値                      |
| ポータルの表示名 | 次回サインイン時に新しいパスワードを要求しますか？ |

[Runbook リファレンスの概要に戻る](https://docs.realmjoin.com/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/user/security/reset-password.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
