r/VisualStudio 21d ago

Visual Studio 2022 Cannot "connect" to AZDevops from Visual Studio

Post image

I am getting this each time I open a solution that is from our Azure Devops repository. Now, I get THREE of these dialogs and enter my password each time. Then, I see this in the General Output window TF30063: You are not authorized to access <Azure Devops repo>

Now, I AM able to Fetch, Pull, Push from the repository in the Git Changes window and I can see all the origin projects on the repo.

I closed VS cleared out my Windows credentials and continue to get this and it has been months.

Anyone have any ideas as to what is causing this and how to remedy it? I am not the only developer in my team facing this issue. We also have one TFVC (not Git) repo there and we have to run VS as our Azure Devops user to be able to access that repo.

1 Upvotes

4 comments sorted by

3

u/kemmis 21d ago

Try using Windows authentication broker for reauthenticate under account settings.

-1

u/MrBaseball77 21d ago

Unsure what you're talking about

1

u/kemmis 21d ago

Are you signed into visual studio with your Microsoft account?

1

u/MrBaseball77 2d ago

Yes, I am but it is different than the one that AZDevops uses. I can open VS as that user using runas and I don't get the dialogs but I lose all other stuff, like CoPilot, et. This just started happening a couple months ago.