> For the complete documentation index, see [llms.txt](https://docs.konnekt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.konnekt.io/pt/troubleshooting/access-token-issues/failed-to-obtain-access-token-to-your-onedrive-account.md).

# Falha ao obter token de acesso para a sua conta do OneDrive

{% hint style="info" %}
Pode aparecer no KONNEKT 2.9.0 e superior.
{% endhint %}

### Problema

Ao tentar iniciar sessão no KONNEKT, aparece a mensagem de erro "Falha ao obter um token de acesso para a sua conta do OneDrive".

<figure><img src="https://1241930089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8zLVuKYctMIUr68_fs%2Fuploads%2Fjcr8IJEyB6lqQ8MdN0Ec%2Fimage.png?alt=media&amp;token=c49d87fe-9a2d-4adf-936f-d2be6a30d305" alt=""><figcaption></figcaption></figure>

### Causa

Se vir este erro, verifique os registos de início de sessão no Microsoft Entra ID para ver se existem inícios de sessão falhados.

Analise os Inícios de sessão ativos e interativos.

<figure><img src="https://1241930089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8zLVuKYctMIUr68_fs%2Fuploads%2F8G5IDiLB0pqBAbStPyj9%2Fimage.png?alt=media&amp;token=e1c29de3-d57b-4e3e-a5d7-5c1b06393a58" alt=""><figcaption></figcaption></figure>

Verifique as "Informações do dispositivo" em Detalhes da atividade: Inícios de sessão

<figure><img src="https://1241930089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8zLVuKYctMIUr68_fs%2Fuploads%2FhAB2UKopfwds4W5X6ZRQ%2Fimage.png?alt=media&amp;token=3e8b6bc2-26ae-4ae1-8f42-beb2fadea985" alt=""><figcaption></figcaption></figure>

### Solução

Este problema pode ser resolvido alterando o [motor do navegador](/pt/configuration/system-settings/authentication-browser-engine.md) para autenticar o utilizador.


---

# 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.konnekt.io/pt/troubleshooting/access-token-issues/failed-to-obtain-access-token-to-your-onedrive-account.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.
