Share via


Visual Studio 2015 Error Message: We could not download a license

In Visual Studio 2015, when you check for an updated license, you might see the error message below. 

This problem caused because of the MFA feature. To get troubleshoot this problem you have to follow the steps below:

Solution 1 (Check for MFA)

  1. Check if the account has MFA enabled, if yes, then you need to disable it for this account.
  2. Verify that account is not a member of another Azure AD tenant with MFA enabled.

Solution 2 (reset user data)

  1. Sign out from the IDE and close Visual Studio.
  2. Open an elevated Developer Command Prompt for VS 2015.
  3. Then type 'devenv /resetuserdata'
  4. Go to https://my.visualstudio.com and sign in with the respective credentials.
  5. Open Visual Studio and try to login again.

Solution 3 (Clear cache and cookies)

  1. Close the Visual Studio 2015 IDE.
  2. Clear cache and cookies on the browser (Chrome, IE, Edge, Firefox).
  3. Login to https://my.visualstudio.com with the account holding the subscription.
  4. Logout of the website and repeat the process at least one more time.
  5. Open the Visual Studio 2015 IDE.
  6. Try to refresh the IDE license.
  7. Click on Sign Out on the Visual Studio software screen.
  8. Click on “Check for an updated license” which will try to refresh the license.

One of the above solutions should work and solve your problem with the VS 2015 license update.