Hi Folks,
I have some code that finds the autodiscover url by searching on the SCP. What I would like to do is then call the auto discover service at that location to determine the URL of the ExchangeService for making EWS calls.
The examples I can find in the MS documentation use an email address (ExchangeService.AutoDiscoverURL and GetUserSettingsResponse).
What I would like to do is call the service located at the address given by the SCP and then set the ExchangeService.Url property.
I am aware that I need to use the ASUrl property of the AutoDiscover Response (POX), however, I do not seem to be able to find any information on how to make the request (using C#) and how to retrieve the response.
Regards
Andy