The environment:
Single domain, two Windows Server 2012 R2 domain controllers, one Exchange 2016 CU23 server and Windows 10 21H2 clients. Environment is offline, NTLM is disabled and clients authenticate via Kerberos.
The problem:
After upgrading Office 2010 standard to Office 2016 standard, Outlook 2016 cannot logon to Exchange. The error message when opening outlook is:
Outlook cannot log on. Verify that you are connected to the network and are using the proper server and mailbox name. The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.
Clients that are still on Office 2010 in the same environment can still connect to Exchange. Testing with the same mailbox, it works on 2010 but not 2016.
What I've tried/checked:
Verified autodiscover works, the autodiscover URL can be browsed, the built-in autodiscover test in outlook works and returns the correct data.
The Outlook Connection Status box is empty.
OWA works.
MapiHttpDisabled
according to this Microsoft article, tried setting both 0 and 1.Checked traffic on the client with Wireshark. After a successful autodiscover, no more traffic is generated, the last packet in the network log is an [RST, ACK] from port 389 on the DC (this entry is also present on a working system).
Verified RPC ports on DCs and Exchange servers are open with
portqry.exe
andTest-NetConnection
.Clean install of a new client machine so no Office 2010 files/registry settings might be interfering.
Compared DNS records, exchange certificates, Active Directory accounts and IIS authentication with another environment where this is working. The other environment is almost exactly the same as the one described above, but I've yet to find any differences.
Recreating the mail profile via the control panel, after autodiscover the profile creation fails with the same error message as above.
Checked firewall log for dropped packets.
Checked various event viewer logs.
Enabled and checked failed request tracing logs in IIS.
Checked logs under
Exchange Server\V15\Logging\
andExchange Server\V15\TransportRoles\
, admittedly i don't know exactly which log would be best to check here, but i've run Get-ChildItem to find logs with aLastWriteTime
corresponding with login attempts but i haven't found anything obvious in these logs yet.Browsing to
https://exchange-server.domain.com/mapi/<emsmdb|nspi>/?MailboxId=<id>@domain.com
works on a client where Outlook cannot logon.
I've probably left something out that I've tried, been troubleshooting this for 3 weeks now. As mentioned i have another environment where this scenario is working that i can compare with, so any suggestions on things that i might've not compared yet are appreciated. I'll gladly supply any more information that might be necessary.