# Falha ao obter o token de acesso para a sua conta 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="https://1241930089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8zLVuKYctMIUr68_fs%2Fuploads%2Fjcr8IJEyB6lqQ8MdN0Ec%2Fimage.png?alt=media&#x26;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 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="https://1241930089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8zLVuKYctMIUr68_fs%2Fuploads%2F8G5IDiLB0pqBAbStPyj9%2Fimage.png?alt=media&#x26;token=e1c29de3-d57b-4e3e-a5d7-5c1b06393a58" alt=""><figcaption></figcaption></figure>

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

<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&#x26;token=3e8b6bc2-26ae-4ae1-8f42-beb2fadea985" alt=""><figcaption></figcaption></figure>

### Solução

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