> 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/troubleshooting-and-faq/troubleshooting/laps-issues/laps-account-passwords-cannot-be-retrieved.md).

# LAPS account passwords cannot be retrieved

Checking Azure Key Vault

If LAPS account passwords fail to be retrieved, it is most likely because they cannot be found in the Azure Key Vault.

If you are facing this issue, first of all check if your Key Vault is correctly configured for RJ LAPS, especially the permissions as documented here: [KeyVault](/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps/keyvault.md)

As an indicator to see if the basic communication between RealmJoin and the KeyVault works, check the Certificates section of the Key Vault in the Azure Portal. Provided you have the right permissions on the KeyVault, you should see a certificate called `realmjoin-master` that has been created by RealmJoin:

<figure><img src="https://2868468309-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 Certificate</p></figcaption></figure>

If KeyVault permissions are fine, and you can see credentials being populated in the Keys section of the Azure KeyVault, this confirms that the connection between RealmJoin and the KeyVault is working.

However you may still face some devices where a password of a LAPS account may not be accessible. This may be case if the LAPS account on the device has been created when the KeyVault config had not been correctly set up and working. The password will only be written to the KeyVault once. So if at that point of time the KeyVault permission had not been correct or the device faced networking issues the password may have never been saved to the KeyVault. The only way to fix this issue is to have the LAPS account(s) be recreated. You can use the package **Renew LAPS Accounts** from the RealmJoin store to delete any LAPS account(s) created on the device(s). Afterwards they will be recreated using the configuration provided within the 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/troubleshooting-and-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.
