> 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/toraburushtinguto-faq/troubleshooting/laps-issues/laps-account-passwords-cannot-be-retrieved.md). Agents can also search and read this documentation through its [MCP server](https://docs.realmjoin.com/~gitbook/mcp).

# LAPS アカウントのパスワードを取得できない

Azure Key Vault の確認

LAPS アカウントのパスワードの取得に失敗する場合、最も可能性が高いのは Azure Key Vault で見つからないためです。

この問題が発生している場合は、まず Key Vault が RJ LAPS 用に正しく構成されているか、特にここに記載されている権限を確認してください: [Key Vault](https://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps/keyvault.md)

RealmJoin と Key Vault の基本通信が機能しているかを確認する指標として、Azure Portal の Key Vault の Certificates セクションを確認してください。Key Vault への適切な権限があれば、という名前の証明書が表示されるはずです `realmjoin-master` これは RealmJoin によって作成されたものです:

<figure><img src="https://3438325150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F1crcSkqIgMXStVyuIp8t%2Fimage.png?alt=media&amp;token=9bf5c608-991b-46a2-809d-4c121326b593" alt=""><figcaption><p>realmjoin-master 証明書</p></figcaption></figure>

Key Vault の権限が問題なく、Azure Key Vault の Keys セクションに資格情報が入力されているのが確認できれば、RealmJoin と Key Vault の接続が機能していることが確認できます。

ただし、一部のデバイスでは、LAPS アカウントのパスワードにアクセスできない場合があります。これは、デバイス上の LAPS アカウントが、Key Vault の構成が正しく設定され機能していなかったときに作成された場合に起こりえます。パスワードは Key Vault に 1 回しか書き込まれません。そのため、その時点で Key Vault の権限が正しくなかったり、デバイスでネットワークの問題が発生していたりすると、パスワードは Key Vault に保存されなかった可能性があります。この問題を修正する唯一の方法は、LAPS アカウントを再作成することです。次のパッケージを **LAPS アカウントの再作成** RealmJoin ストアのものを使用して、デバイス上に作成された LAPS アカウントを削除してください。その後、それらは Tenant 内で提供された構成を使用して再作成されます。


---

# 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/toraburushtinguto-faq/troubleshooting/laps-issues/laps-account-passwords-cannot-be-retrieved.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.
