Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

A new feature of Visual Studio 2013 is the ability to sign in with a Microsoft Account and have your settings be persisted across all of your instances of Visual Studio, amongst other things.

When I installed Visual Studio 2013 Preview I signed in with one of several Microsoft Accounts I hold.

I've now installed the RTM version of Visual Studio 2013 (after uninstalling the Preview version) and that has kept my previous user sign in credentials.

I would now like to change these sign in credentials to be a different Microsoft Account but every time I attempt to sign in with the new details I receive a message similar to the following

We were unable to establish the connection because it is configured for user [email protected] but you attempted to connect using user [email protected]. To connect as a different user perform a switch user operation. To connect with the configured identity just attempt the last operation again.

The problem is I can't find any documentation anywhere on how to perform a "switch user operation". Maybe I'm just not looking hard enough but hopefully someone here can help me out.

like image 512
Dewi Rees Avatar asked Oct 22 '13 12:10

Dewi Rees


People also ask

How do I find my Visual Studio username?

go to your project https://projectname.visualstudio.com/DefaultCollection/Projectname/ . Click on your name in right upper corner and select edit profile. A pop up will appear . In the pop up you can see GENERAL, LOCAL, ECREDENTIALS, CONNECTIONS 4 tabs .

How do I delete a user in Visual Studio?

Go to the Credential Manager (Control Panel\All Control Panel Items\Credential Manager) and remove all his credentials from "Web Credentials" and "Windows Credentials".


1 Answers

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:

  1. Close Visual Studio
  2. Start the Developer Command prompt installed with Visual Studio as an administrator.
  3. type 'devenv /resetuserdata' ('wdexpress /resetuserdata' for Express SKUs)
  4. Start Visual Studio Normally.

Worked for me.

like image 100
Derek Avatar answered Sep 24 '22 00:09

Derek