> 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/pt/resolucao-de-problemas-e-faq/troubleshooting/laps-issues/laps-account-passwords-cannot-be-retrieved.md).

# Não é possível obter palavras-passe de contas LAPS

Verificação do Azure Key Vault

Se as palavras-passe das contas LAPS não puderem ser recuperadas, é muito provável que seja porque não podem ser encontradas no Azure Key Vault.

Se estiver a enfrentar este problema, antes de mais verifique se o seu Key Vault está corretamente configurado para o RJ LAPS, especialmente as permissões, conforme documentado aqui: [KeyVault](/pt/agente-realmjoin/realmjoin-client/local-admin-password-solution-laps/keyvault.md)

Como indicador para ver se a comunicação básica entre RealmJoin e o Key Vault funciona, verifique a secção Certificates do Key Vault no Azure Portal. Desde que tenha as permissões corretas no Key Vault, deverá ver um certificado chamado `realmjoin-master` que foi criado pelo RealmJoin:

<figure><img src="https://686519968-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>Certificado realmjoin-master</p></figcaption></figure>

Se as permissões do Key Vault estiverem corretas, e conseguir ver credenciais a serem preenchidas na secção Keys do Azure Key Vault, isto confirma que a ligação entre RealmJoin e o Key Vault está a funcionar.

Contudo, ainda poderá deparar-se com alguns dispositivos em que a palavra-passe de uma conta LAPS possa não estar acessível. Isto pode acontecer se a conta LAPS no dispositivo tiver sido criada quando a configuração do Key Vault ainda não estava corretamente definida e a funcionar. A palavra-passe só será escrita no Key Vault uma vez. Por isso, se nesse momento as permissões do Key Vault não estivessem corretas ou o dispositivo tivesse problemas de rede, a palavra-passe pode nunca ter sido guardada no Key Vault. A única forma de corrigir este problema é recriar a(s) conta(s) LAPS. Pode utilizar o pacote **Renovar contas LAPS** da loja RealmJoin para apagar qualquer conta LAPS criada nos dispositivos. Depois, elas serão recriadas usando a configuração fornecida no 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/pt/resolucao-de-problemas-e-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.
