diff --git a/sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/TokenProviders/MsiAccessTokenProvider.cs b/sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/TokenProviders/MsiAccessTokenProvider.cs index 85fc6859915f..33e1ed845227 100644 --- a/sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/TokenProviders/MsiAccessTokenProvider.cs +++ b/sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/TokenProviders/MsiAccessTokenProvider.cs @@ -42,8 +42,10 @@ private HttpClient HttpClient { #if NETSTANDARD1_4 || net452 || net461 var httpClientHandler = new HttpClientHandler(); + httpClientHandler.Proxy = null; #else var httpClientHandler = new HttpClientHandler() { CheckCertificateRevocationList = true }; + httpClientHandler.Proxy = null; #endif #if !net452