How to configure proxy server settings for Microsoft Office SharePoint Server 2007

Well this was fun… All the examples of how to connect through a proxy from SharePoint are missing a crucial piece of information!

<system.net>
   <defaultProxy>
      <proxy usesystemdefault = “false” proxyaddress=”http://proxyservername:port” bypassonlocal=”true” />
   </defaultProxy>
</system.net>

This is the accepted route, with an exception to e added to the proxy to use anonymous authentication…
But is you use:

<defaultProxy useDefaultCredentials=”true”>
  <proxy usesystemdefault=”false” proxyaddress=http://proxyservername:port” bypassonlocal=”true” />
  <bypasslist>
    <add address=”[a-z]+\.domain\.biz” />
    <add address=”[a-z]+\.domain2\.biz” />
  </bypasslist>
</defaultProxy>

The required bit of which is the useDefaultCredentials parameter that passes the logged on users credentials on to the proxy server.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: