If you are working with Office 365 and/or Azure services, you already know that you can synchronize your Active Directory to Azure Active Directory services with the directory synchronization tool Azure AD Connect.

It has been a very long wait (since the first version of the MS cloud services, BPOS) to get the synchronization tool to support proxy authentication but this is finally here.

To take advantage of this feature, you need to update the machine.config file for the .Net Framework

  • the file is located in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config
  • you need to add the following lines at the end of the file; where <PROXYADDRESS> is the address of your proxy (IP, server name…) and <PROXYPORT> the proxy port to use
    <system.net>
        <defaultProxy enabled="true" useDefaultCredentials="true">
            <proxy
            usesystemdefault="true"
            proxyaddress="http://<PROXYADDRESS>:<PROXYPORT>"
            bypassonlocal="true"
            />
        </defaultProxy>
    </system.net>