Search code examples
visual-studioazure-devopsaccount

Visual Studio 2022 can't connect to a project due to bad filters


after formating my PC and setting it into a domain I have an issue connecting to Team Explorer, on the account filet I see wrong filters.

this is what I should see: enter image description here

This is what I see: enter image description here

I have tried clear cache, logout, and log in again and again. without any success.

our source control is on Azure Devops

here is another image: enter image description here


Solution

  • Based on the findings in further discussions,

    • The Azure DevOps organization was not connected to any AAD;

    • The Windows machine had joined an on-premises domain synchronized with AAD;

    • The user account was able to visit account-originating tenant in Azure Portal and was also able to access the Microsoft Account Azure DevOps organization in the browser of this machine;

    The issue could be resolved by the change in Visual Studio Account Settings -> Account options -> Environment - Accounts -> Add and reauthenticate accounts using: System web browser. Image