Creating an item on behalf of a delegate fails in Exchange Server 2013 Cumulative Update 5

Original KB number:   2986658

Symptoms

Assume that you have two users (user A and user B) on different Mailbox server in an Exchange Server 2013 Cumulative Update 5 environment. User A on behalf of user B creates a new email message or other item by using an Exchange Web Services (EWS)-based application. In this situation, the email message or item cannot be created.

Cause

This issue occurs because an exception occurs when the EWS request has an X-AnchorMailbox header set to user B's email address.

Workaround

To work around this issue, make the following change in the Web.config file on the Client Access server:

Add the following line of code under the <appSettings> section in the Web.config file:

<add key="SendXBEServerExceptionHeaderToCafe" value="false" />

Note

The Web.Config file is located in the path: Drive\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\ews.

More information

For more information about the X-AnchorMailbox header, see General information about the X-AnchorMailbox header.