We recommend using Visual Studio 2017

Proxy Authorization Required

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Proxy Authorization Required on docs.microsoft.com. This error generally occurs when users are connected to Visual Studio Online through a proxy server, and the proxy server blocks the calls. Visual Studio Online is used to keep the user signed in to the IDE.

  • 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 http://go.microsoft.com addresses but does so for *.visualStudio.com addresses. For these servers, you need to whitelist the following list to unblock all sign-in scenarios in Visual Studio:

    • *.windows.net

    • *.microsoftonline.com

    • *.visualstudio.com

    • *.microsoft.com

    • *.live.com

  • You can otherwise remove the http://go.microsoft.com address from the whitelist so that the proxy authentication dialog shows up for both the http://go.microsoft.com address and the server endpoints when Visual Studio is restarted.

  • OR

  • If you want to use your default credentials with your proxy, you can 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 <system.net> block, and add this code:

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

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

  • OR

  • You can also follow the instructions in this post to add code that will allow you to use the proxy.

Show: