Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2017 Blank Sign In Screen

I have a unique issue with my installation of Visual Studio 2017 where the sign in dialog is blank, and no matter how long I wait it never seems to allow me to log in.

I have tried changing the default browser to Chrome, Edge and IE just in case it was using that under the hood for rendering this page. Prior to that I had an issue with the Virtual Machine running the IDE which required me to re-register *.VBS associations to complete the install, that has been resolved and the install has passed.

I am now just left with the sign in issue as shown below:

Has anyone had this before / know of a work around here? I have been looking around on Google for similar issues but to no avail.

Any help here would be appreciated.

Thanks!

like image 426
Richard Niemand Avatar asked Jan 09 '18 16:01

Richard Niemand


3 Answers

I was able to work around it by doing the following: At the account login screen select "Account Options" Under Environment > Accounts on the Sign-In Options section, change the "Add and Reauthenticate accounts using:" pull down menu to "System Web Browser" Options dialog box This will open the dialog box IE or whatever default web browser you use and should allow you to login.

like image 169
Art Avatar answered Sep 27 '22 19:09

Art


I just encountered this issue myself on Visual Studio 2017 (30-day evaluation expired too so Eduardo Zavala's suggestion isn't possible). The cause is that I have Internet Explorer 11 installed and set to be extremely restrictive security wise. For example, it will not follow a redirect if a webpage tells it to. It also has JavaScript disabled. Apparently, Visual Studio uses Internet Explorer 11 (or at least "Internet Options" rules) for this login page instead of the default browser (e.g. Microsoft Edge) and its settings.

  1. Start Internet Explorer 11.
  2. Click on the gear icon in the upper right corner.
  3. Click "Internet Options."
  4. Click on the "Security" tab.
  5. Click "Default level" button.
  6. Click "Apply."
  7. Click "OK."

Run Visual Studio 2017 again and sign in.

Set Internet Explorer 11 settings back to how you prefer them.

All should be well in both programs now (VS17 authorized and IE11 restrictive).

like image 34
Lee Glasser Avatar answered Sep 27 '22 20:09

Lee Glasser


I had the same issue with VS2019, this ended up being blocked by a web filter and could see logincdn.msauth.net being blocked while signing into VS2019.

I would suggest adding an exception for *.msauth.net to allow the sign-in page to load.

This doesn't appear in the list from Microsoft firewall and proxy URLs - https://docs.microsoft.com/en-us/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server?view=vs-2019

like image 36
Thomas Youngson Avatar answered Sep 27 '22 21:09

Thomas Youngson