3.1.5.2 Root

The Root resource is the entry point to an instance of the Autodiscover Service. All requests to this resource MUST contain the sipuri query parameter defined in section 2.2.3.1.

The resource URL for this parameter is https://<fqdn>/autodiscover/autodiscoverservice.svc/root?sipuri=<sipuri> . The server might also listen on HTTP depending on the server configuration. If a request is made to the HTTP Root resource, the server MUST respond with a 200 OK and a Root element that contains a single Link element with token named "Redirect" and an href that points to the next hop URL that the client SHOULD request.

If the sipuri of the user cannot be processed by the current Autodiscover Service, the Autodiscover Service MUST respond with a 200 OK with a Root element that contains a Link with a token named "Redirect" and an href that points to the next hop URL that can handle the request.

If the current Autodiscover Service can handle the request, then the server MUST respond with a 200 OK and a Root element that contains Link elements for child resources of the current Autodiscover Service. See section 2.2.4.4 for the schema of the Root element. If there is no "Redirect" link present in the Root element, then there MUST be "User" and "Domain" tokens present. The "OAuth" token might be present depending on the server version.