When trying to load the repositories with Azure DevOps Git you receive the following error message.

Cause 1 - Can API access the expected repos

Check if you can access the list of repos via the API call in the URL to see what Gearset is able to see.

Start with the this HTTP query in your browser to find the <publicAlias> value

Then use this query to request for the <accountName><publicAlias>&api-version=1.0

Finally use this <accountName> to request for the list of repos available:


This can verify which repos are expected to show up in Gearset.

Cause 2 - Multiple tenants

If you have multiple tenants in Azure DevOps, it is likely that that Gearset has been connected to the wrong one, and therefore cannot load your repositories you expect. Gearset will give you the error:

"Gearset can't find any repositories. Either create one or update your security settings in Azure DevOps to grant access"

To verify if you have multiple tenants, you can review it in the drop-down of your account's settings.

To access this go to User settings and click on Profile :

Then click on the link to the Azure DevOps Profile Page :

Here you can review your tenants in the drop-down. 

(Note: If you do not have multiple tenants, it is possible that your repo type is not git-based. Gearset only supports Git repo types, and not other types such as TFVC. If your repo is not a Git repo type, you will need to create a new Git-based repo.)


To resolve this, you need to:

  1. Switch your Azure DevOps to the correct tenant profile.

  2. In Gearset, delete the connection to Azure DevOps.

  3. Log out of Gearset to clear the cached credentials.

  4. Log into Gearset again and connect to Azure DevOps again. When you get the integration pop up, you can make sure that the part of the account / tenant in the parenthesis is correct.

You may need to log into an incognito window of your web browser to get the option to enter your desired Azure DevOps login details.

This should allow you to see the right repositories that you are looking for. Let me know if this helped with your reaction below!

Did this answer your question?