Exchange 2013/2016 – Outlook cannot connect to Exchange server with MAPI over HTTP only internal.

I had one very interesting Issue with Exchange 2013 server and MAPI over HTTP.

When creating profile internal Outlook is failing on the last step “logon to server” with the well known error:

The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.

Capture1 - redone

When turned off MAPIoverHttp for the user, he connects without problem. In logs we see 401 unauthorized from mapi/nspi .

After testing with different internal URL vor MAPI Virtual directory. I found that the problem exists only with the name which was currently assigned as internal and external URL for mapi.

It was Remote.domain.com/mapi

It turns out that there is a Computer object in AD with name Remote. This is causing outlook to make connection attempts to this PC.

setspn -l remote

shows that there is HTTP spn for this record.

So the solution is to use another DNS entry for internal MAPI URL or remove the computer object.

Advertisements

One thought on “Exchange 2013/2016 – Outlook cannot connect to Exchange server with MAPI over HTTP only internal.

  1. In my case was problem with Outlook 2013, need to be installed KB 2956087, because 2013 outlook didnt worked with proxy server configured properly. This problem only through MAPI over HTTP.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s