how to Connect office 2016 to exchnage 2010

Outlook 2016 is by default, using “MAPI OVER HTTP”. While outlook 2010/2013 uses by default “RPC OVER HTTP”. As a result outlook 2016 in addition outlook 2016 using only autodiscover way to connect. So we need to customize the setting to get him connected

As a general rule of thumb, any version of Outlook supports 5 different Exchange versions;

  • 2 previous versions of Exchange
  • its corresponding Exchange version
  • 2 future versions of Exchange

So Outlook 2016 supports;

  • Exchange 2010
  • Exchange 2013
  • Exchange 2016
  • Exchange 2019 (vNext 1)
  • Exchange vNext 2

So First you’ll need to set a registry key to disable MAPI over HTTP. This will cause Outlook 2016 to fall back to RPC over HTTP.

HKEY_CURRENT_USER\Software\Microsoft\Exchange DWORD: MapiHttpDisabled Value: 1

 

To make autodiscover go faster you want to skip the root domain search bay adding this registry key

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover\ DWORD: ExcludeHttpsRootDomain Value: 1

If your company doesn’t publish autodiscover in DNS, you can try creating an XML file. Paste this into notepad and save as C:\path\to\autodiscover.xml . Don’t forget to change the domain in redirecturl

<?xml version="1.0" encoding="utf-8"?> <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006"> <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a"> <Account> <AccountType>email</AccountType> <Action>redirectUrl</Action> <RedirectUrl>https://autodiscover.domain.com/autodiscover/autodiscover.xml</RedirectUrl> </Account> </Response> </Autodiscover>

Next, edit the registry to add an autodiscover reference:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover 
REG_SZ: domain.com
Value: C:\path\to\autodiscover.xml


If the Exchange server is not properly configured, you’ll need to create an autodiscover.xml containing all of your account information. If you have access to a computer with Outlook 2013 or older, you may be able to use the autodiscover file it used.

Type or paste %localappdata%\microsoft\outlook in the address bar of Windows Explorer to open Explorer to the folder where the autodiscover file is stored. It will be named something like this: 9a2b291a2545a44e9fa74ac13aad98c2 – Autodiscover.xml. Copy it the folder you entered in the registry, delete the previously created autodiscover file and rename the copy to autodiscover.xml

The Exchange 2010 Autodiscover functionality provides most values needed and the only thing you should need to change is to enable flag 4 of the RPC/HTTP Connection Flags.
The flags in the RPC/HTTP Connection Flags are:

  • 1: Enables the ‘Connect to Microsoft Exchange using HTTP checkbox’ on the Connection tab.
  • 2: Enables the ‘Connect using SSL only’ checkbox
  • 3: Enables the ‘Only connect to proxy servers that have this principal name in their certificate’ checkbox
  • 4: Enables the ‘On fast networks, connect using HTTP first, then connect using TCP/IP’ checkbox
  • 5: Enables the ‘On slow networks, connect using HTTP first, then connect using TCP/IP’ checkbox

I have used Flags 1+2+3+4+5 which enables all checkboxes the way it used to look in Outlook 2013 for me.

If you don’t have a way to target only your Outlook Anywhere users or you don’t want to use a GPO for some reason you can use the registry to apply these policy settings too.

They registry key where the below values should be stored is:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\RPC

The registry path normally doesn’t exist and has to be created.

Values and meanings

  • ProxyServerFlags (DWORD)
    Corresponds to the “RPC/HTTP Connection Flags” policy
    Can have one of the following decimal values:

     

    • 0 (Not configured = Autodiscover)
    • 33 (Flags 1+5)
    • 35 (Flags 1+2+5)
    • 39 (Flags 1+2+3+5)
    • 41 (Flags 1+4+5)
    • 43 (Flags 1+2+4+5)
    • 47 (Flags 1+2+3+4+5)
  • ProxyAuthenticationService (DWORD)
    Corresponds to the “RPC Proxy Authentication Setting” policy
    Can have one of the following decimal values:

     

    • 1 (Basic Authentication)
    • 2 (NTLM)
    • 3 (Negotiate)
    • 4 (Certificate)
  • ProxyServerName (Expandable String Value)
    Corresponds to the “RPC Proxy Server Name” policy
    Your Outlook Anywhere host name. I.e. mail.fourthcoffee.com
  • ProxyServerPrincipalName (Expandable String Value)
    Corresponds to the “Only connect if Proxy Server certificate has this principal name” policy
    Your Outlook Anywhere principle name prefixed by msstd:
    I.e. msstd:mail.fourthcoffee.com

I have created a sample reg file with all the setting. You can download it from HERE

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *