# error while cloning repository: Failed to refresh Azure token for user

**URL:** <https://discourse.getdbt.com/t/error-while-cloning-repository-failed-to-refresh-azure-token-for-user/17123>\
**Category:** Help\
**Created:** [November 26, 2024, 6:22pm UTC](https://discourse.getdbt.com/t/error-while-cloning-repository-failed-to-refresh-azure-token-for-user/17123 "2024-11-26T18:22:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lldobson](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lldobson](https://discourse.getdbt.com/u/lldobson)\
**Post date:** [November 26, 2024, 6:22pm UTC](https://discourse.getdbt.com/t/error-while-cloning-repository-failed-to-refresh-azure-token-for-user/17123/1 "2024-11-26T18:22:00Z")

</div>

## The problem I’m having

Connecting to dbt project receiving unhandled  
error while cloning repository: Failed to refresh Azure Oauth token for user 1234

## The context of why I’m trying to do this

## What I’ve already tried

OAuth connection from dbt to snowflake works. But dbt to ADO is not working. dbt can’t pull code. This is for one user other users accessing same project is able to open/clone repository.

## Some example code or error messages

```auto
Put code inside backticks
  to preserve indentation
    which is especially important 
      for Python and YAML! 

```
