How do I resolve that the Visual Studio Community 2022 license has expired and cannot be downloaded?

天宇 贺 0 Reputation points

As shown in the two pictures I inserted, I am a Chinese college student. For the reason of the course, I need to use VisualStudio to do C# programming and run in Unity. I downloaded the 2022 community edition from the official website, but from yesterday, a pop-up window indicating that my license has expired appeared whenever I opened visualstudio. Click on "Check for updated licenses" below to display "We are unable to download licenses, please check your network connection or proxy Settings". I have uninstalled and reinstalled many times, even changed to different versions (2019,2022), and tried to log in again, but it has not been resolved! It's the same popup every time! It made my coursework very difficult to continue .

After I asked the Microsoft community, I performed the following actions according to the responses I received from relevant people, but none of them changed the popup problem:

1.Change and reset network Settings

2.Navigate to: C:\WINDOWS\system32\drivers\etc to find the hosts file clipped to the desktop (i.e. the operation of clearing host)

Hope to get the relevant personnel's reply and solution as soon as possible !PNG图像

User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,098 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
900 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 20,411 Reputation points Microsoft Vendor

    Hi @天宇 贺, 

    Welcome to Microsoft Q&A! 

    Please have a try with the following workarounds:

    1.    Try to sign into your Visual Studio with a different account.

    2.    Clear cache and cookies on the browser.

    3.    Close all instances of Visual Studio and repair your VS2022 with Visual Studio Installer.

    4.    Delete all files of %localappdata%\.Identityservice.

    5.    Relaunch your Visual Studio and sign in your account. 



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



    0 comments No comments