Error connecting to Azure on Visual Studio AND Visual Studio Code


I am having a problem connecting to my Azure account on Visual Studio.

This is the error I get:

There was a problem getting the tenant info ‘System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (management.azure.com:443)
—> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

When I try and connect via Powershell with

Connect-AzAccount

It works fine. Which tells me that it’s not a firewall issue. The proxy settings did not change either.

Leave a Reply

Your email address will not be published. Required fields are marked *