Clear saved TFS credentials in Visual Studio 2017

I had to change my password for my account, which does not match the account with which I log in. When connecting to the local tfs server, I provided my VS2017 password and verified the password. Now that the password has changed, I canโ€™t connect.

I tried removing tfs in credential manager and also deleted .IdentityService. Nothing helped. Does anyone know if they changed something with VS 2017 and are they cached or stored somewhere else?

+5
source share
2 answers

Please try below points to narrow down the problem:

  • Remove tfs-related credentials from Account Manager
  • In Credential Manager, add the new updated Common Credentials for the TFS account. This usually overwrites the cached credentials.

  • Close all instances of Visual Studio, remove %LOCALAPPDATA%\.IdentityService as you did.

  • Clear TFS %LOCALAPPDATA%\Microsoft\Team Foundation\7.0\Cache

  • Clear all browser caches, especially for a saved password

  • Restart Visual Stuido> Team Explorer> Manage Connections to verify if the Enter credential dialog pops up. Just try this a few times. Based on my test, the dialop will pop up for the first time, but if you cancel it, then you have to restart VS to pop up in it.

  • Launch Visual Studio as another user:

    cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE

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

    Enter your username, then Team Explorer > Manage Connections

+6
source

I tried to follow the steps listed in another answer. But in the first step, I decided to try just changing the password in the credential manager. It worked for me.

So, if anyone else has the same problem, you can try this first.

+1
source

Source: https://habr.com/ru/post/1273222/


All Articles