Cannot refresh Visual Studio Professional 2022 license

Scott Mendel 1 Reputation point
2022-10-31T14:32:15.5+00:00

The following message appears from inside Visual Studio 2022: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

The website Visual Studio uses internally seems to be "https://login.microsoftonline.com"

There a lot of Visual Studio articles on the web about this topic and message. I can find no solution to the problem. This may be a certificate issue or an SSL issue. Our company has been granted some sort of volume license through MSDN and I can refresh a license on another laptop with my credentials. I am trying to abandon (and eventually destroy) that laptop for a new laptop which has this issue. On my laptop, I am trying to use Visual Studio inside a Windows 10 VMware image with a NAT'ed network connection. I can log into "https://login.microsoftonline.com" from Microsoft Edge and Google Chrome from inside the VM.

Is there some series of steps that can be followed to try and diagnose the exact cause?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,793 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,231 Reputation points Microsoft Vendor
    2022-11-01T03:25:32.693+00:00

    Hi @Scott Mendel ,

    Welcome to Microsoft Q&A!

    Please try to reboot your computer and update your VS2022 to the latest version.
    Then, sign out and sign into your account again to check if your VS works normally.

    If your computer uses a firewall or proxy server, please refer to the following link to see more Microsoft domains and add them into the allow list.
    https://learn.microsoft.com/en-us/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server?view=vs-2022

    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