autodiscover does not work with Outlook
Open, 60Public

Description

Looks like current version of autodiscover (kolab-autoconf-1-1.5.el7.kolab_16.noarch) does not work with Outlook.
I've tried to setup actual Outlook account, tried to use "Test Email auto configuration ..." feature in Outlook and Microsoft test connectivity tool. None of them worked - all failed to configure Outlook for ActiveSync service.
I had SRV record _autodiscover._tcp.domain.tld with values 0 0 443 autodiscover.domain.tld.

My findings makes me think that Kolab Autoconf tool doesn't provide good Autodiscover XML and that is not recognized by Outlook Autodiscover feature.
The XML generated by Kolab Autoconf is:

<?xml version="1.0" encoding="UTF-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <User>
      <DisplayName>Name Surname</DisplayName>
      <EMailAddress>email@domain.tld</EMailAddress>
    </User>
    <Action>
      <Settings>
        <Server>
          <Type>MobileSync</Type>
          <Url>https://apps.kolabnow.com/Microsoft-Server-ActiveSync</Url>
          <Name>https://apps.kolabnow.com/Microsoft-Server-ActiveSync</Name>
        </Server>
      </Settings>
    </Action>
  </Response>
</Autodiscover>

For testing I've created a web site, which provides XML like this:

<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006">
        <Culture>en:us</Culture>
        <User>
            <DisplayName>Name Surname</DisplayName>
            <EMailAddress>email@domain.tld</EMailAddress>
        </User>
        <Action>
            <Settings>
                <Server>
                    <Type>MobileSync</Type>
                    <Url>https://apps.kolabnow.com/Microsoft-Server-ActiveSync</Url>
                    <Name>https://.pps.kolabnowcom/Microsoft-Server-ActiveSync</Name>
                </Server>
            </Settings>
        </Action>
    </Response>
</Autodiscover>

The difference is in <Response> element xmlns schema and <Culture> element present in response.
Manually generated response XML worked, while Kolab Autoconf XML didn't.
I'm not sure how does that change smart phone Exchange account configuration yet.
Outlook is capable to autoconfigure IMAP, POP and ActiveSync, so maybe xmlns schema in Response should correspond with the account type.

Details

Ticket Type
Task
adomaitis assigned this task to machniak.
adomaitis added a project: Autoconf.
adomaitis added a subscriber: Autoconf Developers.

I believe the issue has been fixed by https://git.kolab.org/rACb2fdd4828985a07e6f715ecbe789bf4fa5102ec3. It looks that this old commit wasn't packaged yet.

pasik added a subscriber: pasik.Nov 25 2017, 2:30 PM