BryanP
BryanP

Reputation: 330

TFS 2015 Won't accept my Admin Credentials

I'm trying to gain access to a project repository on a TFS 2015 server through the Team Explorer in Visual Studio 2015. I'm running Visual Studio with my Local machine Admin Account and try to add the server through Manage Connections, at which point I'm prompted to authenticate. I try to authenticate and am just repeatedly asked to enter my credentials, if I cancel I receive a message TF31003 and TF30063. What makes it odd to me is that I'm able to go navigate to the server through the web interface where I have been set up as an administrator, I can view all of the projects, even changing permissions on a server and project basis if desired.

Somethings to note that may be a factor but I don't know if they are.

Somethings that I have tried.

If anyone can provide some guidance I would greatly appreciate it, I feel like I have wasted so much time trying to figure this out and it could be something simple that I'm just looking over.

Upvotes: 1

Views: 330

Answers (1)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51103

Since you could connect to web portal properly, this should be a VS client connectivity issue.

Seems the VS has cached your pre account--None admin user. Try below workaround:

  • Go to Credential Manager
  • Delete the TFS related credentials
  • Then in Credential Manager add Generic Credentials for the TFS account. This would overwrite the cached credentials.

enter image description here

Also clear TFS and VS cache. Then reconnect to TFS in Visual Studio.

If you are using domain user it shows nothing TFS related credentials under Credential manager, in this case please try to run Visual Studio using this command instead:

runas /netonly /user:<account> devenv.exe

This should have the Visual Studio to run with another Windows user so it can connect to remote TFS with different credentials.

enter image description here

Upvotes: 0

Related Questions