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

天宇 贺 0 Reputation points
2023-10-29T11:58:28.2133333+00:00

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.
5,095 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.
1,040 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,756 Reputation points Microsoft Vendor
    2023-10-30T03:36:00.2566667+00:00

    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. 

    Sincerely,

    Anna


    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

  2. Wladimir Tavares 1 Reputation point
    2024-01-23T04:05:46.32+00:00

    I solved it by updating Visual Studio. Plain as simple.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.