# Falha ao obter token de acesso para 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 "Failed to obtain an access token to your OneDrive account".

<figure><img src="/files/7c95c4c177c0a8ffbfb4b83280dd9f55b19bc806" alt=""><figcaption></figcaption></figure>

### Causa

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

Dê uma olhadela aos inícios de sessão ativos e interativos.

<figure><img src="/files/95cb78919d48271cc2309cb7d8beea0682f9e261" alt=""><figcaption></figcaption></figure>

Verifique a "Device info" em Activity Details: Sign-ins

<figure><img src="/files/6952117f53cce5fb57e3025bc6b564301d373b81" alt=""><figcaption></figcaption></figure>

### Solução

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


---

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