Stop Exchange from proxying EWS between servers

JaseL 116 Reputation points
2021-03-16T15:00:26.627+00:00

I have an application that connects to Exchange through EWS using Application Impersonation to access multiple mailboxes. This was working fine with Exchange 2016. I have added an Exchange 2019 server to the environment, and moved most mailboxes over. The application is now pointed to the 2019 server, and having some issues. Looking through the EWS and HTTPProxy logs, I see that the 2019 server is proxying some of the EWS traffic to the 2016 server, and that's when the application fails. I see "ErrorNoRespondingCASInDestinationSite" and "Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination site could process the request" in the EWS logs on the 2016 server.

Does anyone know why Exchange 2016 would be responding this way?

Is there a way to stop the Exchange 2019 server from proxying this traffic to the Exchange 2016 server?

Thank you

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,348 questions
{count} votes

Accepted answer
  1. JaseL 116 Reputation points
    2021-03-26T12:29:48.133+00:00

    I believe I have resolved the issue. The account used for impersonation did not have a mailbox. The original instructions for the application specifically stated not to create a mailbox for the account. I reviewed a newer revision of the instructions, and they now state that a mailbox may be needed for newer versions of Exchange. So, it seems that Exchange 2019 needs the impersonation account to have a mailbox. Since creating a mailbox, I have not seen any traffic proxied to the 2016 server, and the application is working fine.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Glen Scales 4,431 Reputation points
    2021-03-17T00:48:59.97+00:00

    Are you setting the X-AnchorMailbox header in your application (to the target mailbox) this is what generally has the most bearing of how EWS request will be routed