Which EWS URL to use in mixed distributed environment?

Hi everybody,

I have one AD site. Its client computers are 4 Exchange Servers located in different locations, e.g., USA, Germany, Australia and India. One mailbox is impersonator which is located in USA. I have to query the information of all mailboxes in every Exchange Server.

1) What should be the EWS URL when I configure my application? Should it be of the CAS where impersonator mailbox is located or should it be of the CAS where the mailbox is located whose information is to be queried?

2) I am trying to fetch the information of a journal mailbox which is located in Germany by using impersonator. This impersonator mailbox is located in USA. In the configuration of my application I am giving the EWS URL of the Exchange Server where impersonator is located, i.e., CAS located in USA. Is this right approach. Or I should give the EWS URL of the CAS located in Germany (as the mailbox whose information to be queried is located there)?

3) In the scenario in 2nd question, I am getting ErrorNoRespondingCASInDestinationSite always when I fetch all the data in the journal mailbox. It has about > 3 lakh items. What should be the solution so that I should not get this error?

Kindly help.

Thanks & regards,

Amit Jha



May 21st, 2015 2:39pm

Hi jim-xu,

I was following the same solutions when I got ErrorNoRespondingCASInDestinationSite as error response, i.e., I was giving EWS URL of CAS located in USA. Here is the description of the error: ResponseCode. And EWS throttling occurs after a migration of Office 365 Dedicated/ITAR to Exchange Server 2013 also gives more information. "More information" section in the same link also gives additional information. And I know how journal mailbox is configured. I can't do any changes to it now. It has lot of important data.

Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 12:45pm

I wouldn't have posted this question if impersonation wasn't working. Impersonation policy is working fine.
May 22nd, 2015 5:33pm

Hi everybody,

I have one AD site. Its client computers are 4 Exchange Servers located in different locations, e.g., USA, Germany, Australia and India. One mailbox is impersonator which is located in USA. I have to query the information of all mailboxes in every Exchange Server.

1) What should be the EWS URL when I configure my application? Should it be of the CAS where impersonator mailbox is located or should it be of the CAS where the mailbox is located whose information is to be queried?

2) I am trying to fetch the information of a journal mailbox which is located in Germany by using impersonator. This impersonator mailbox is located in USA. In the configuration of my application I am giving the EWS URL of the Exchange Server where impersonator is located, i.e., CAS located in USA. Is this right approach. Or I should give the EWS URL of the CAS located in Germany (as the mailbox whose information to be queried is located there)?

You never mentioned O365in AD on-prem it does not matter. I am not sure about O365

3) In the scenario in 2nd question, I am getting ErrorNoRespondingCASInDestinationSite always when I fetch all the data in the journal mailbox. It has about > 3 lakh items. What should be the solution so that I should not get this error?

Kindly help.

Thanks & regards,

Amit Jha




Free Windows Admin Tool Kit Click here and download it now
May 26th, 2015 11:34am

If the application works initially, then fails intermittently, you may running into throttling issues. Have you created a custom throttling policy for the impersonation mailbox? If not I would suggest your create a policy just for this mailbox and adjust all of the EWS throttling settings to be much higher than the default. This way you can ensure your account will not be throttled.

For reference: https://technet.microsoft.com/en-us/library/dd351045(v=exchg.150).aspx

May 26th, 2015 11:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics