question

HillLes-3402 avatar image
0 Votes"
HillLes-3402 asked YukiSun-MSFT commented

Exchange 2016 EWS

Hello,

I'm trying to understand why only certain servers are being returned in the xml response file for autodiscover. I have dedicated servers which are to be used to service external connections for EWS, as such, I want only those servers to be resolvable externally. The internall MBX servers are configured for internal EWS using abc.com/ews and I'd like the external connections to use def.com. I created said A for def.com and pointed that towards my External public facing IP which it finds no issue. The query to autodiscover.abc.com also resolves fine and returns an xml response but has mentioned it does not include the required servers/url's.

I have AD site A which as the internet facing MBX servers located in and which resolves to the AD site currently hosting the live mailboxes. I have AD site B which in a DR site and contains inactive DB instances. The external connections come in to a CAG and are routed to a MBX server in site B. Site B MBX servers have external url's set to null.

My understanding was that if i set an external url on the EWS servers in Site A that I wished to use and the query hit a AD site B by way of CAG that because the mailboxes are hosted in Site A the query would first attempt to connect to a server in Site A since this was hosting the live mailboxes. I also thought that when it made that query it would look for any servers that had their external url set and return those servers in preference and hence the xml response file would contain those exchange mbx servers. In getting that response the externals connection would then use that external url which would then resolve to an external A record which in turn would hit the CAG and then be routed back to the desired EWS servers.

Both url's are valid in regards to the certificate so should be no issue there. This should be really simple but for reasons not yet understood its not working out that way so if anybody can point me in the direction of a document that will explain in-depth how the query works, how it decides which servers should be returned as part of the autodiscover i would be greatful.





office-exchange-server-connectivity
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi anonymous user

From your description, do you mean the external url for EWS is not returned in the autodiscover xml response?
Could you try running a test using the Microsoft's Remote Connectivity Analyzer tool and see if there would be any clues?


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·

Hi anonymous user

I am writing to see if there is any progress on the issue. Is there anything you would like to update? Thanks!


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·

0 Answers