admin 管理员组

文章数量: 1086019

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: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.

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: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.

Share Improve this question asked Mar 28 at 17:08 tonycdptonycdp 3393 silver badges10 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I fixed this issue by turning Remote Tunnel Access OFF in Visual Studio Code, which apparently affects Visual Studio as well.

本文标签: Error connecting to Azure on Visual Studio AND Visual Studio CodeStack Overflow