How To Switch Signed In User With a Different User Account In Visual Studio

 How can I switch my signed in user in Visual Studio 2013?

Error message: We were unable to establish the connection because it is configured for user olduser@old.com but you attempted to connect using user newuser@new.com. To connect as a different user perform a switch user operation. To connect with the configured identity just attempt the last operation again.

I want to switch the visual studio user but i got the following error.

I also tried to reset the user data like described here in this post but nothing changed. I also reinstalled visual studio and that didn't help

Any hint?

Allow users to switch users when signing in with a different user account


There is a comment about this under this answer, but I think it's important to list it here. If you want to preserve your settings, export them first because they will be lost.

From MSDN forums - since I had to hunt around far too much to find the solution to this:
  • Close Visual Studio
  • Start the Developer Command prompt installed with Visual Studio as an administrator.
  • type ‘devenv /resetuserdata’ (‘wdexpress /resetuserdata’ for Express SKUs) (Note: if you have different versions of VS installed you will need to point directly to the VS versions devenv.exe mine was here -> C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe” /resetuserdata).
  • Start Visual Studio Normally.

Post a Comment

Previous Post Next Post