Access to the Recovery Database in Exchange Server 2016 from an application

I have had several customers interested in how to access the Recovery Database (RDB) programmatically in Exchange 2016.  Extended MAPI is the only way to access the Recovery Database programatically.  The Exchange MAPI subsystem (aka MAPI\CDO) is the only subsystem capable of accessing the Recovery Database.  This is because access to the Recovery database requires…

0

IMAPISession::OpenMsgStore() returns MAPI_E_VERSION (0x80040110)

As documented previously, Exchange 2016 will not allow connections from Exchange’s MAPI (aka MAPI \ CDO).  MAPI client applications may receive the error MAPI_E_VERSION (0x80040110).  If you are running On-Premises Exchange 2016 and have access to the RPC Client Access logs, you will see this error in the log around the time that the connection…

0

MAPI CDO will not be supported for Exchange 2016

I wanted to point out a significant note for some in the Exchange 2016 Architecture blog post here : http://blogs.technet.com/b/exchange/archive/2015/05/05/exchange-server-2016-architecture.aspx.  Specifically, that Exchange 2016 will not support clients using Exchange’s MAPI (aka MAPI \ CDO) to access Exchange Data.  Exchange’s MAPI has been out of main stream support for some time now (as it’s tied…

2

Using the EmailMessage.Normalize method in a transport agent causes issues with Exchange Server 2013 CU7

I received a report that if you have an existing transport agent and use the method Microsoft.Exchange.Data.Transport.Email.EmailMessage.Normalize(), the transport agent won’t work correctly on Exchange Server 2013 CU7.  This is because of a known issue where the public signature of this method was changed and so existing transport agents will need to be recompiled to work…

0

Automatic reply: Your Out of Office code may no longer work

In Exchange 2007, Out of Office (OOF) was improved and how the mechanism worked was changed.  To support legacy Outlook 2003 clients which didn’t use SetUserOofSettings like Outlook 2007 and Outlook Web App 2007 did, the Out of Office Mailbox Assistant was created. The OOF Mailbox Assistant had several responsibilities, here are the ones relevant…

0

PRXF_IGNORE_SEC_WARNING doesn't work in MAPI CDO

The flag PRXF_IGNORE_SEC_WARNING doesn’t work in MAPI \ CDO as it should.  The flag was introduced to support RPC over HTTP in the updated MAPI \ CDO that was released around the time of Exchange Server 2013’s release.  The flag is supposed to instruct the MAPI subsystem to use this flag RPC_C_HTTP_FLAG_IGNORE_CERT_CN_INVALID when configuring the…

2

How to use CDO 1.2.1 to connect to Exchange 2013 using a dynamic profile

NOTE: This article only applies to Exchange’s MAPI \ CDO download.  It doesn’t apply to using CDO 1.2.1 with an Outlook 2007 client. I was discussing an issue recently with a customer and I asked him to connect to the Exchange server using CDO 1.2.1.  Then I realized that I had never tried that myself. …

0

Async MAPI Notifications in Exchange are a problem for MAPI clients that impersonate

I had a case six months ago where the customer was using Exchange’s MAPI against Exchange 2013 and was seeing a number of MAPI_E_NETWORK_ERRORs in his application. After discussing the issue with him it was determined that the application was running in the security context of Local System but would impersonate a user who has…

0

Exchange's MAPI repeatedly prompts for credentials

I had a case recently where the customer’s symptoms where that his application was causing a security credential dialog over and over again even though correct credentials were supplied. Upon further investigation we found that the LmCompatibilityLevel registry value was set to 1.  Since the application was using Windows RPC over HTTP (ROH) and the…

3

EXHTTP settings don't appear in Exchange 2013's Autodiscover response

MAPI clients wishing to get the correct Autodiscover settings for Exchange 2013 need to get the EXHTTP nodes in the Autodiscover response to configure the client correctly.  However, the Plain Old XML (POX) Autodiscover will not return this information if the client is not above a certain version of Outlook.  Furthermore, the authentication packages may appear…

2