Microsoft Autodiscover
Demo · format-valid de-facto
/.well-known/autodiscover/autodiscover.xml
Standard: Microsoft Autodiscover
Exchange's autodiscovery: point mail clients at the right server, protocol and settings.
What it is
Microsoft Exchange clients discover server settings via Autodiscover: a POST to /autodiscover/autodiscover.xml on the mail domain, or a GET of /.well-known/autodiscover/autodiscover.xml (the fallback used by non-Microsoft services and by Autodiscover for the SMTP domain).
The threat it addresses
Exchange users need their client pointed at the right server with the right auth without IT support tickets. Autodiscover automates it — and the well-known variant made it work for third-party mail domains too.
How it works
- A client requests /.well-known/autodiscover/autodiscover.xml (GET) on the domain in the email address.
- The server returns XML describing Account → Protocol blocks (IMAP/POP/SMTP or Exchange), ports, SSL, auth.
- The client applies the settings; users are configured in seconds.
Honesty notes
- Demo: illustrative protocol blocks — no Exchange server runs here.
Try it
Live demo
Format-valid demo response (no real Exchange server)
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/2010/Autodiscover">
<Response xmlns="http://schemas.microsoft.com/exchange/2010/Autodiscover">
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<Protocol>
<Type>IMAP</Type>
<Server>mail.well-known.page</Server>
<Port>993</Port>
<LoginName>well-known.page</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<Server>mail.well-known.page</Server>
<Port>465</Port>
<LoginName>well-known.page</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
</Protocol>
</Account>
</Response>
</Autodiscover>