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

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

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

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

<figure><img src="/files/f92b454c4fd0813d25b0e9bf9c6530d5e6296fa0" alt=""><figcaption><p>realmjoin-master 証明書</p></figcaption></figure>

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

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


---

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