Well this was fun… All the examples of how to connect through a proxy from SharePoint are missing a crucial piece of information!
1<system.net>
2 <defaultProxy>
3 <proxy usesystemdefault = "false" proxyaddress="http://proxyservername" bypassonlocal="true" />
4 </defaultProxy>
5</system.net>
This is the accepted route, with an exception to e added to the proxy to use anonymous authentication…
But is you use:
1<defaultProxy useDefaultCredentials="true">
2 <proxy usesystemdefault="false" proxyaddress=http://proxyservername" bypassonlocal="true" />
3 <bypasslist>
4 <add address="[a-z]+.domain.biz" />
5 <add address="[a-z]+.domain2.biz" />
6 </bypasslist>
7</defaultProxy>
The required bit of which is the useDefaultCredentials parameter that passes the logged on users credentials on to the proxy server.
Now all I need to do is get the double-hop authentication to work…
Technorati Tags: SP 2007 SP 2010 SharePoint
No related videos found.
If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.
We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.
NIT A/S