# Failed to obtain access token to your OneDrive account

{% hint style="info" %}
Can appear in KONNEKT 2.9.0 and higher.
{% endhint %}

### Problem

When trying to log in to KONNEKT, the error message "Failed to obtain an access token to your OneDrive account" appears.

<figure><img src="/files/bDmqiM0DMmMLtKs9d021" alt=""><figcaption></figcaption></figure>

### Cause

If you see this error, please check the Sign-in logs in Azure/EntraID to see if there are any failed sign- ins.

Take a look at the active and interactive Sign-ins.

<figure><img src="/files/pUzDT6WuIYDUQeKEegs2" alt=""><figcaption></figcaption></figure>

Check the "Device info" under Activity Details: Sign-ins

<figure><img src="/files/gSj7d4Zi9XOloTFS7ziU" alt=""><figcaption></figcaption></figure>

### Solution

This issue can be solved by changing the [browser engine](/configuration/system-settings/authentication-browser-engine.md) to authenticate the user.


---

# 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/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.
