IP blocked from accessing Microsoft services via .NET HttpClient

Stéphane Royer 0 Reputation points
2025-04-24T19:23:16.3566667+00:00

Hello,

Since today, April 24th, I'm experiencing connectivity issues to most Microsoft services from my public fix IP address given by my hosting provider.

Specifically, with dotnet tools (dotnet add package, dotnet restore, or actually anything that relies on dotnet HttpClient) I am unable to access:

  • NuGet endpoints
  • Visual Studio Code website
  • Anything on microsoftonline.com
  • Other Microsoft-related URLs

However:

  • The issue disappears when using a different network (e.g. mobile hotspot)
  • The exact same problem occurs on another machine on the same network, and on this other machine, the issue disappears as well from a different network.

These symptoms strongly suggest that the IP address is being blocked or filtered by Microsoft’s infrastructure (possibly via Azure Front Door or CDN).

Where can I get support for this?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,230 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 75,051 Reputation points
    2025-04-24T23:45:27.4333333+00:00

    If the browser works from the same machine, then your private ipaddress is not blocked. It more likely proxy settings for the browser are different than HttpClient.


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.