MAPI Connections are Not Allowed


Topic Last Modified: 2010-06-21

The Microsoft Exchange Analyzer tool queries the Exchange Server and attempts to connect using RPC over HTTP. If MAPI connections are disabled on an Exchange Server 2007 or Exchange 2010, then you may receive the following error.

"The server disallows the user to access the server via the MAPI protocol interface."

This functionality is expected to be of value to providers of hosting services that want to force their end users to connect to Exchange using Outlook Web Access but not Outlook (via regular MAPI connection or RPC over HTTP). However, if this functionality is enabled, then the Microsoft Exchange Remote Connectivity Analyzer (ExRCA) tool will fail when testing RPC over HTTP or Outlook Anywhere connections.

If you have configured your Exchange 2007 or Exchange 2010 server to prevent MAPI connections, then end users may report the following error message.

"Your Exchange Server administrator has blocked the version of Outlook that you are using. Contact your administrator for assistance."

For More Information

The error generated by Exchange Remote Connectivity Analyzer isn't necessarily indicative of a problem. Prohibiting clients from connecting using MAPI is a legitimate configuration option. However, if you ran Exchange Remote Connectivity Analyzer because you have Outlook clients who are unable to successfully connect, then you will need to modify the setting that prohibits MAPI clients from connecting.

To determine whether MAPI is disabled for your mailbox, run the following command:

Get-CASMailbox MailboxName | FL mapienabled

If the command returns $false, then you must enable MAPI for your mailbox or choose an alternative connection method. To enable MAPI for your mailbox, run the following command:

Set-CASMailbox MailboxName -mapienabled:$true

For more information, see When You Use Outlook With an Exchange 2007 Mailbox, You Cannot Connect to Exchange 2007, and You Receive an Error Message.

The Exchange Remote Connectivity Analyzer is a new tool with limited documentation at this time. In an effort to improve the documentation for each of the errors you might receive, we would like to solicit additional information from the community. Please use the Community Content section below to post additional reasons why you failed at this point. If you need technical assistance, please create a post in the appropriate Exchange TechNet forum or contact support.

See Also

Other Resources