Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Are you going to install AADSYNC behind a proxy?
Well, you need to do two things:
- Configure your proxy server to get some office 365 URLs in anonymous (no authentication)
- Configure AADSYNC to use proxy server
Configure your proxy server
Configure proxy server as indicate in this URL Office 365 URLs and IP address ranges:
https://technet.microsoft.com/en-us/library/hh373144.aspx
Configure AADSYNC
You have to configure proxy settings on internet explorer for service user, you can do that in this way:
runas /user:___domain\serviceuser "control.exe inetcpl.cpl"
If you continue to have problem after configure Internet Explorer then you must configure machine.config in .NET45 Framework
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
Add this section to bottom of file, be aware it's case sensitive:
<system.net>
<defaultProxy>
<proxy usesystemdefault="true" proxyaddress="https://proxy-ip:80" bypassonlocal="true" />
</defaultProxy>
</system.net>
Comments
- Anonymous
January 01, 2003
Hi Victor,
sorry to reply right now.
I suppose there is some error in machine.config, did u copy and paste code i wrote?
Let me know I'll try to help u. - Anonymous
April 01, 2015
Hi,
I had configure the machine.config file with your section code.
But now, i have a new problem in AADSYNC services tool:
the extension could not be instantiated..
Do you know why and how can i fix it?
Thank you,
Regards,
Victor - Anonymous
April 16, 2015
Hi,
It's okay!
It was a error in the code :)
Thank you for this article.
Regards,
Victor - Anonymous
January 04, 2016
Hi,
In case you don't know the credentials of the service user, like when it's the auto created user, you can't set the proxy by running: runas /user:domainserviceuser "control.exe inetcpl.cpl"
However, you can edit the registry and manually set the "ProxyServer" entry under: HKEY_USERS\SoftwareMicrosoftWindowsCurrentVersionInternet Settings" and make sure the "ProxyEnable" DWORD is set to 1.
At least in our case this worked.
BR
- Onno