Search code examples
exchangewebservicesautodiscovery

Autodiscovery url for same domain users


I am using EWS managed API to implement notification subscription with exchange server. So, I am trying to figure out if I can assume that the autodiscovery url for users within the same domain will be same?


Solution

  • Yes

    Autodiscover is used to get necessary information on how to connect to the exchange server by itself, with minimal user input required. It does so by taking the domain from the users e-mail address and is testing various standard EWS Exchange-Endpoints with it.

    An example:

    "https://" + domain + "/autodiscover/autodiscover" + fileExtension
    

    Because users within the same domain communicate with the same exchange server, the AutodiscoverURL stays the same for all of them.