22 November, 2019

Cannot sign in to Visual Studio 2019

We could not refresh the credentials for the account. The browser-based authentication dialog failed to complete. Reason: The protocol is not known and no pluggable protocols have been entered that match.

I've installed Visual Studio 2019 Community Edition. And I was not able to log in since then. So every time I fire up VS2019, I've been getting the nagging reminder to log in to my account and update the license.

Today I was told that in about 2 weeks, the license will expire -- and I will not be able to use the product anymore.

I've been searching the web for any working solution from the start. But I get nothing.

As I am pressed for the fix, I tried to search again. I found one article in the MSDN forums. Here are the steps proposed:

A.
1. Install IE, and make it the default browser.
2. Add the following sites as trusted sites:


Proceed with usual log in process.

B.
1. Close Visual Studio 2019.
2. Run the Visual Studio installer (download it again if needed).
3. At the top right section, there is a Provide Feedback link (person icon).
4. Click and Select either Report a problem or Provide a suggestion.
5. You will be required to sign in. Sign in.
6. Now fire up Visual Studio.
7. You should be signed in already. If not, then sign in. And you should be able to sign in.

I tried both, but A did not work. B worked, and now that I am logged in, I was able to renew my [free] license. Now I don't get the error message:

We could not refresh the credentials for the account. The browser-based authentication dialog failed to complete. Reason: The protocol is not known and no pluggable protocols have been entered that match.

Yahoo!

Till then!

22-Nov-2019, 11:12 pm GMT/UTC+8