Proxy Authorization Required


This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Proxy authorization required error generally occurs when users are connected to Visual Studio online resources through a proxy server, and the proxy server blocks the calls.

To correct this error, try one or more of the following steps:

  • Restart Visual Studio. A proxy authentication dialog box should appear. Enter your credentials in the dialog.

  • If the above step does not solve the problem, this may be because your proxy server does not prompt for credentials for addresses but does so for * addresses. For these servers, you need to add the following URLs to the allow list to unblock all sign-in scenarios in Visual Studio:

    • *

    • *

    • *

    • *

    • *

  • You can remove the address from the allow list so that the proxy authentication dialog shows up for both the address and the server endpoints when Visual Studio is restarted.

  • If you want to use your default credentials with your proxy, do the following:

    1. Find devenv.exe.config (the devenv.exe configuration file) in: %ProgramFiles%\Microsoft Visual Studio 14.0\Common7\IDE (or %ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE).

    2. In the configuration file, find the <> block, and add this code:

      <defaultProxy enabled="true" useDefaultCredentials="true">
          <proxy bypassonlocal="True" proxyaddress=" HYPERLINK "http://<yourproxy:port#" http://<yourproxy:port#>"/>

      Insert the correct proxy address for your network in proxyaddress="<http://<yourproxy:port#>.

  • Follow the instructions in this blog post to add code that allows you to use the proxy.