Reputation: 380
Though I have valid visual studio subscription, I am getting the below error:
I tried to reenter the credentials. After entering the credential, it is not pointing to the right page.
Please suggest.
Upvotes: 4
Views: 15321
Reputation: 2392
I just had the same problem. We had changed from one email account to another. The section on the right showed the new account but clicking on the update option gave the same error as above, even though it showed the new account correctly
I noticed that the section on the left still showed the old account. So I updated that, then I clicked on the option on the right again and this time it worked
Upvotes: 1
Reputation: 21
Run Visual Studio 2017
1. Before the sign in dialogue comes up quickly select Tools -> Options
2. Go to Environment -> Accounts
3. Select "Enable device code flow when adding or re-authenticating an account"
4. Click OK
5. Login through a browser
Visual studio will give you a link to follow and a code to authenticate. When you follow the link, you simply enter the code and everything is fixed.
You may have to close and re-open Visual Studio.
Cannot sign into Visual Studio 2017
Upvotes: 2
Reputation: 380
As I have a valid visual studio subscription, I followed the following steps and validated myself for VS 2017:
That's it. License validation successful. I am using the VS 2017.
Upvotes: 7
Reputation: 575
Seems like an active directory issue based on the error.
https://learn.microsoft.com/en-us/azure/active-directory/user-help/user-help-device-remediation
Upvotes: -1