Visual Studio running as different user doesn’t display Sign In dialog


I occasionally need to run Visual Studio as a different user than the user I normally sign in to Windows (e.g. to debug something that connects to the database as a particular user). When I do this, Visual Studio of course can’t see the license I normally use, so displays the license page.
enter image description here
When I click the Sign In button, a please wait-style spinner appears but the sign in dialog never appears.

Adding the runas user to my local Administrators group doesn’t help.

If I run VS as my normal user, I can get the sign in dialog to appear. If I go to the license page, and click Sign out, the page changes to what I see when run as the other user. If I click the Sign in button, I get the sign in dialog right away and I can get VS back to using my license.

Leave a Reply

Your email address will not be published. Required fields are marked *