Autodiscover case-sensitive

Ralph Seichter automx2 at seichter.de
Tue Mar 24 13:42:21 CET 2020


* Anke Spiegel:

> Is there a way to test Microsoft Autodiscover without the Outlook
> program and without having to log in with a real Account and Password?

I know that a colleague of mine has been working on an independent test
utility, but I am not sure if it is finished yet. I've sent him an email
to ask for the status and will let you know when he answers.

> How do you test it?

See https://gitlab.com/automx/automx2/-/tree/master/tests for the
complete set of unittests I employ. Additionally, I use Postman
(https://www.postman.com) and curl.

> What would it look like in the access.log if there was a success with
> a Microsoft product?

On the server side, HTTP code 200 indicates that an incoming request has
been successfully processed.

> 37.201.01.01 - - [13/Mar/2020:17:11:45 +0100] "GET
> /autodiscover/autodiscover.json?Email=firstname.lastname%40oe.mydomain.de&Protocol=Autodiscoverv1&RedirectCount=1
> HTTP/1.1" 503 8000 "-" "Microsoft Office/16.0 (Windows NT 10.0;
> Microsoft Outlook 16.0.12527; Pro)"

JSON based requests are not supported, the observed error code is
therefore expected.

> 37.201.01.01 - - [13/Mar/2020:17:11:45 +0100] "POST
> /autodiscover/autodiscover.xml HTTP/2.0" 503 488 "-" "Microsoft
> Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12527; Pro)"

POST is the correct request type, and /autodiscover/autodiscover.xml is
the expected path. The reason for return code 503 cannot be determined
based on the web server's log, but the automx2 log should provide more
information.

-Ralph


More information about the automx-users mailing list