[MS-OXDSCLI]:
Autodiscover Publishing and Lookup Protocol Specification
Intellectual Property Rights Notice for Open Specifications Documentation
§ Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages, standards as well as overviews of the interaction among each of these technologies.
§ Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you may make copies of it in order to develop implementations of the technologies described in the Open Specifications and may distribute portions of it in your implementations using these technologies or your documentation as necessary to properly document the implementation. You may also distribute in your implementation, with or without modification, any schema, IDL’s, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications.
§ No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
§ Patents. Microsoft has patents that may cover your implementations of the technologies described in the Open Specifications. Neither this notice nor Microsoft's delivery of the documentation grants any licenses under those or any other Microsoft patents. However, a given Open Specification may be covered by Microsoft's Open Specification Promise (available here: http://www.microsoft.com/interop/osp) or the Community Promise (available here: http://www.microsoft.com/interop/cp/default.mspx). If you would prefer a written license, or if the technologies described in the Open Specifications are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting .
§ Trademarks. The names of companies and products contained in this documentation may be covered by trademarks or similar intellectual property rights. This notice does not grant any licenses under those rights.
Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other than specifically described above, whether by implication, estoppel, or otherwise.
Tools. The Open Specifications do not require the use of Microsoft programming tools or programming environments in order for you to develop an implementation. If you have access to Microsoft programming tools and environments you are free to take advantage of them. Certain Open Specifications are intended for use in conjunction with publicly available standard specifications and network programming art, and assumes that the reader either is familiar with the aforementioned material or has immediate access to it.
Revision Summary
Date / Revision History / Revision Class / Comments /04/04/2008 / 0.1 / Initial Availability.
04/25/2008 / 0.2 / Revised and updated property names and other technical content.
06/27/2008 / 1.0 / Initial Release.
08/06/2008 / 1.01 / Revised and edited technical content.
09/03/2008 / 1.02 / Revised and edited technical content.
12/03/2008 / 1.03 / Revised and edited technical content.
03/04/2009 / 1.04 / Revised and edited technical content.
04/10/2009 / 2.0 / Updated technical content and applicable product releases.
07/15/2009 / 3.0 / Major / Revised and edited for technical content.
1/1
[MS-OXDSCLI] — v20090712
Autodiscover Publishing and Lookup Protocol Specification
Copyright © 2008 Microsoft Corporation.
Release: Sunday, July 12, 2009
Table of Contents
1 Introduction 6
1.1 Glossary 6
1.2 References 6
1.2.1 Normative References 6
1.2.2 Informative References 7
1.3 Protocol Overview 8
1.4 Relationship to Other Protocols 8
1.5 Prerequisites/Preconditions 8
1.6 Applicability Statement 8
1.7 Versioning and Capability Negotiation 8
1.8 Vendor-Extensible Fields 8
1.9 Standards Assignments 9
2 Messages 10
2.1 Transport 10
2.2 Message Syntax 10
2.2.1 Namespaces 10
2.2.2 Request 10
2.2.2.1 AcceptableResponseSchema 10
2.2.2.2 EmailAddress 10
2.2.2.3 LegacyDN 10
2.2.3 Response 11
2.2.3.1 User 11
2.2.3.1.1 DisplayName 11
2.2.3.1.2 LegacyDN 11
2.2.3.1.3 DeploymentId 11
2.2.3.2 Account 11
2.2.3.2.1 AccountType 11
2.2.3.2.2 Action 12
2.2.3.2.3 RedirectAddr 12
2.2.3.2.4 Protocol 12
2.2.3.2.4.1 AD 12
2.2.3.2.4.2 ASUrl 12
2.2.3.2.4.3 AuthPackage 12
2.2.3.2.4.4 AuthRequired 13
2.2.3.2.4.5 CertPrincipalName 13
2.2.3.2.4.6 EcpUrl 13
2.2.3.2.4.7 EcpUrl-um 13
2.2.3.2.4.8 EcpUrl-aggr 14
2.2.3.2.4.9 EcpUrl-sms 14
2.2.3.2.4.10 EcpUrl-mt 14
2.2.3.2.4.11 EcpUrl-ret 14
2.2.3.2.4.12 EwsUrl 14
2.2.3.2.4.13 MdbDN 14
2.2.3.2.4.14 OABUrl 14
2.2.3.2.4.15 OOFUrl 15
2.2.3.2.4.16 Port 15
2.2.3.2.4.17 PublicFolderServer 15
2.2.3.2.4.18 Server 15
2.2.3.2.4.19 ServerDN 15
2.2.3.2.4.20 ServerVersion 15
2.2.3.2.4.21 TTL 15
2.2.3.2.4.22 Type 15
2.2.3.2.4.23 SSL 16
2.2.3.2.4.24 UMUrl 16
2.2.3.2.4.25 Internal 16
2.2.3.2.4.26 External 17
2.2.3.2.5 AlternativeMailbox 17
2.2.3.2.5.1 Type 17
2.2.3.2.5.2 DisplayName 17
2.2.3.2.5.3 LegacyDN 17
2.2.3.2.5.4 Server 18
2.2.3.2.6 Error 18
2.2.3.2.6.1 ErrorCode 18
2.2.3.2.6.2 DebugData 18
2.2.3.2.6.3 Message 18
3 Protocol Details 19
3.1 Client Details 19
3.1.1 Abstract Data Model 19
3.1.2 Timers 19
3.1.3 Initialization 19
3.1.4 Higher-Layer Triggered Events 19
3.1.5 Message Processing Events and Sequencing Rules 19
3.1.6 Timer Events 20
3.1.7 Other Local Events 20
3.1.8 AutodiscoverRequest 20
3.1.8.1 Nonfunctional URIs 21
3.1.8.2 HTTP 302 Redirects 21
3.1.8.3 Autodiscover Redirect 21
3.1.8.4 Autodiscover Configuration Information 21
3.1.8.5 Autodiscover Server Errors 22
3.2 Server Details 23
3.2.1 Abstract Data Model 23
3.2.2 Timers 23
3.2.3 Initialization 23
3.2.4 Higher-Layer Triggered Events 23
3.2.5 Message Processing Events and Sequencing Rules 23
3.2.6 Timer Events 23
3.2.7 Other Local Events 23
3.2.8 Autodiscover Request 23
4 Protocol Examples 25
5 Security 28
5.1 Security Considerations for Implementers 28
5.2 Index of Security Parameters 28
6 Appendix A: XSDs 29
6.1 Autodiscover Request XSDs 29
6.2 Autodiscover Response XSD 29
6.3 Autodiscover Error Response XSD 31
7 Appendix B: Product Behavior 32
8 Change Tracking 33
9 Index 34
1/1
[MS-OXDSCLI] — v20090712
Autodiscover Publishing and Lookup Protocol Specification
Copyright © 2008 Microsoft Corporation.
Release: Sunday, July 12, 2009
1 Introduction
This document specifies the Autodiscover publishing and Lookup Protocol that is used by clients to locate the Autodiscover HTTP service.
This protocol enables Autodiscover servers to publish their locations. Autodiscover enables the client to retrieve URLs that are needed to gain access to the Web services that are offered by the server.
1.1 Glossary
The following terms are defined in [MS-OXGLOS]:
Autodiscover client
Autodiscover server
domain
Domain Name System (DNS)
enterprise/site/server distinguished name (ESSDN)
GUID
Hypertext Transfer Protocol (HTTP)
Hypertext Transfer Protocol over Secure Socket Layer (HTTPS)
Lightweight Directory Access Protocol (LDAP)
Secure Sockets Layer (SSL)
service connection point
Short Message Service (SMS)
Uniform Resource Identifier (URI)
The following terms are specific to this document:
Exchange Control Panel (ECP): Gives end users the ability to manage Exchange options themselves, without the need to go through an administrator.
fully qualified domain name (FQDN): An unambiguous reference to a unique domain name.
Web server: A computer running Internet Information Server (IIS) or equivalent that stores Web pages that can be retrieved by a client.
MAY, SHOULD, MUST, SHOULD NOT, MUST NOT: These terms (in all caps) are used as described in [RFC2119]. All statements of optional behavior use either MAY, SHOULD, or SHOULD NOT.
1.2 References
1.2.1 Normative References
We conduct frequent surveys of the normative references to assure their continued availability. If you have any issue with finding a normative reference, please contact . We will assist you in finding the relevant information. Please check the archive site, http://msdn2.microsoft.com/en-us/library/E4BD6494-06AD-4aed-9823-445E921C9624, as an additional source.
[MS-OXGLOS] Microsoft Corporation, "Exchange Server Protocols Master Glossary", June 2008.
[MS-OXWOAB] Microsoft Corporation, "Offline Address Book (OAB) Retrieval Protocol Specification", June 2008.
[MS-OXWOOF] Microsoft Corporation, "Out of Office (OOF) Web Service Protocol Specification", June 2008.
[RFC2068] Fielding, R., et al., "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2068, January 1997, http://www.ietf.org/rfc/rfc2068.txt.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997, http://www.ietf.org/rfc/rfc2119.txt.
[RFC2246] Dierks, T. and Allen, C., "The TLS Protocol Version 1.0", RFC 2246, January 1999, http://www.ietf.org/rfc/rfc2246.txt.
[RFC2518] Goland Y., et al., "HTTP Extensions for Distributed Authoring – WEBDAV", RFC 2518, February 1999, http://www.ietf.org/rfc/rfc2518.txt.
[RFC2616] Fielding, R., et al., "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999, http://www.ietf.org/rfc/rfc2616.txt.
[RFC2818] Rescorla, E., "HTTP over TLS", RFC 2818, May 2000, http://www.ietf.org/rfc/rfc2818.txt.
[RFC2822] Resnick, P., Ed., "Internet Message Format", RFC 2822, April 2001, http://www.ietf.org/rfc/rfc2822.txt.
[RFC3986] Berners-Lee, T., Fielding, R., and Masinter, L., "Uniform Resource Identifier (URI): Generic Syntax", RFC 3986, January 2005, http://www.ietf.org/rfc/rfc3986.txt.
[XML] Bray, T., et al., "Extensible Markup Language (XML) 1.0 (Fifth Edition)", http://www.w3.org/TR/REC-xml/.
1.2.2 Informative References
[MS-NSPI] Microsoft Corporation, "Name Service Provider Interface (NSPI) Protocol Specification", June 2008.
[MS-OXABREF] Microsoft Corporation, "Address Book Name Service Provider Interface (NSPI) Referral Protocol Specification", June 2008.
[MS-OXCRPC] Microsoft Corporation, "Wire Format Protocol Specification", June 2008.
[MS-OXDISCO] Microsoft Corporation, "Autodiscover HTTP Service Protocol Specification", June 2008.
[MS-OXWAVLS] Microsoft Corporation, "Availability Web Service Protocol Specification", June 2008.
[MS-RPCH] Microsoft Corporation, "Remote Procedure Call Over HTTP Protocol Specification", July 2006, http://go.microsoft.com/fwlink/?LinkId=121108.
[RFC1939] Myers, J. and Rose, M., "Post Office Protocol – Version 3", RFC 1939, May 1996, http://www.ietf.org/rfc/rfc1939.txt.
[RFC2821] Klensin, J., "Simple Mail Transfer Protocol", RFC 2821, April 2001, http://www.ietf.org/rfc/rfc2821.txt.
[RFC3501] Crispin, M., "Internet Message Access Protocol – Version 4rev1", RFC 3501, March 2003, http://www.ietf.org/rfc/rfc3501.txt.
1.3 Protocol Overview
The Autodiscover publishing and Lookup protocol is a set of methods, headers, and content types that extend the HTTP/1.1 protocol. HTTP/1.1 is specified in [RFC2616]. A list of possible URIs is first discovered utilizing the [MS-OXDISCO] protocol. The Autodiscover service obtains the list of servers of the managed network (domain) that are configured with the specified e-mail address. The Autodiscover publishing and Lookup Protocol enables Autodiscover clients to acquire e-mail configuration settings for specific e-mail addresses from the list of Autodiscover servers obtained from the [MS-OXDISCO] protocol.
This document specifies the following Autodiscover operations:
§ A mechanism for Autodiscover clients to issue queries against Autodiscover servers.
§ A mechanism for Autodiscover servers to send client configuration data to Autodiscover clients.
§ A mechanism for Autodiscover servers to send referrals to Autodiscover clients.
1.4 Relationship to Other Protocols
The Autodiscover publishing and Lookup protocol, as specified in this document, and the Autodiscover HTTP Service protocol, as specified in [MS-OXDISCO], work together to use the standard HTTP mechanisms defined in [RFC2068] to provide client management over the Internet. This protocol requires the Autodiscover HTTP Service Protocol, as specified in [MS-OXDISCO], to discover the server and to allow Autodiscover clients to find Autodiscover servers that support this protocol. A higher-level protocol, given aserver name or URL, uses this protocol to locate the corresponding FQDN.
This protocol relies on HTTP 1.1, as specified in [RFC2616]. It relies on HTTPS, as specified in [RFC2818], for data protection services.
1.5 Prerequisites/Preconditions
This specification requires a Web server that supports the POST command.
This specification also requires that Autodiscover clients have URIs that point to Autodiscover servers. Autodiscover clients can obtain these URIs with the Autodiscover HTTP Service protocol.
The Autodiscover publishing and Lookup protocol assumes that the client has found the Autodiscover server via the Autodiscover HTTP Service protocol, as specified in [MS-OXDISCO].
1.6 Applicability Statement
The Autodiscover publishing and Lookup protocol is used by a client to discover e-mail configuration settings for a given e-mail address.
1.7 Versioning and Capability Negotiation
Different versions of this protocol can be negotiated by using the AcceptableResponseSchema, which is specified in section 2.2.2.1.
1.8 Vendor-Extensible Fields
Vendors MAY pass additional XML elements to Autodiscover clients from the Autodiscover server. To do so, the vendor SHOULD use a separate XML namespace and pass this in the AcceptableResponseSchema.
1.9 Standards Assignments
None.
2 Messages
2.1 Transport
Messages are transported by using an HTTP POST, as specified in [RFC2518] and [RFC2068].
This protocol SHOULD be used with SSL/TLS, as specified in [RFC2246]. If SSL is not provided, it will limit the abilities of client-to-server communications.
2.2 Message Syntax
All messages sent between the Autodiscover client and the Autodiscover server are XML messages.
2.2.1 Namespaces
Autodiscover requests are in the "HTTP://schemas.microsoft.com/exchange/Autodiscover/outlook/requestschema/2006" namespace.
Autodiscover responses are in the "http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a" namespace.
2.2.2 Request
The Request element contains the request to the Autodiscover service.
The AcceptableResponseSchema elements and the EmailAddress or LegacyDN MUST be child elements of the Request. The expected version is "HTTP://schemas.microsoft.com/exchange/Autodiscover/outlook/responseschema/2006a".
2.2.2.1 AcceptableResponseSchema
The AcceptableResponseSchema element identifies the schema for an Autodiscover response. For details, see section 1.7.
Clients MUST include this element.
2.2.2.2 EmailAddress
The EMailAddress element identifies the e-mail address of the account for which the configuration information will be retrieved.
This element is an alternative for an Autodiscover request. It is used when a Mailbox exists on a server.
If omitted, then the LegacyDN MUST be present.
If both the EmailAddress and the LegacyDN are present, then the server MUST use the LegacyDN.
2.2.2.3 LegacyDN
The LegacyDN element identifies a user's Mailbox by a legacy distinguished name. The LegacyDN is also known as the ESSDN, the naming scheme that defines the user.
The EmailAddress element is an element for an Autodiscover request. It is used when a Mailbox exists on a server. The LegacyDN element provides an alternative element for an Autodiscover request.
The LegacyDN element is an optional element in the request. If omitted, then the EmailAddress MUST be present.
If both the EmailAddress and the LegacyDN elements are present, then the server MUST use the LegacyDN.
2.2.3 Response
The Response element contains the response from the Autodiscover service that includes a list of URLs that are used to establish a binding with Web Services.
The following elements can be child elements of Response.
2.2.3.1 User
This element group provides user-specific information. Servers MUST include this element.
The following elements can be child elements of User.
2.2.3.1.1 DisplayName
The DisplayName element represents the user's display name.
The server MUST include this element.