Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Autodiscover not working

    Z-Push when using other backends
    2
    3
    957
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fkoyer
      fkoyer last edited by

      I have Z-Push with a combined backed (IMAP,CalDAV,CardDAV) running on CentOS 7.9. ActiveSync works when I manually configure Outlook however I can’t get AutoDiscover to work. This is the error I get on the server:

      18/08/2021 04:21:00 [ 1151] [ INFO] [#unknown] Z-Push version='2.6.4+0'
      18/08/2021 04:21:00 [ 1151] [ INFO] [#unknown] ZPushAutodiscover::DoZPushAutodiscover(): GET request for autodiscover.
      18/08/2021 04:21:00 [ 1151] [ INFO] [#unknown] AuthenticationRequiredException: Access denied. No username or password provided. - code: 0 - file: /usr/share/z-push/autodiscover/autodiscover.php:301
      18/08/2021 04:21:01 [ 1152] [ INFO] [#unknown] Z-Push version='2.6.4+0'
      18/08/2021 04:21:01 [ 1152] [ INFO] [#unknown] AuthenticationRequiredException: Unauthorized - code: 0 - file: /usr/share/z-push/autodiscover/autodiscover.php:149
      18/08/2021 04:21:01 [ 1152] [FATAL] [#unknown] Exception: (AuthenticationRequiredException) - Unauthorized
      18/08/2021 04:21:01 [ 1152] [ERROR] [#unknown] Unable to complete autodiscover incorrect request: 'Unauthorized'
      18/08/2021 04:21:01 [ 1152] [ INFO] [#unknown] Z-Push version='2.6.4+0'
      18/08/2021 04:21:01 [ 1152] [WARN] [#unknown] BadRequestException: Request for a responseschema that is not supported (only mobilesync is supported): http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a - code: 0 - file: /usr/share/z-push/autodiscover/autodiscover.php:177
      18/08/2021 04:21:01 [ 1152] [FATAL] [#unknown] Exception: (BadRequestException) - Request for a responseschema that is not supported (only mobilesync is supported): http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a
      18/08/2021 04:21:01 [ 1152] [ERROR] [#unknown] Unable to complete autodiscover because of ZPushException. Error: Request for a responseschema that is not supported (only mobilesync is supported): http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a
      

      I’m able to browse to https://mydomain.com/Autodiscover/Autodiscover.xml and I get the message “GET not supported”.

      However, when I run the Outlook Test Email AutoConfiguration tool, I get this error:

      dfcb5e5a-b018-41ec-9b40-482bcb680ba8-image.png

      (I’m using an SRV record on my domain to tell AutoDiscover where to find the XML file. That’s why the first few attempts fail before it finally tries the SRV record.)

      Any advice is appreciated.

      Thanks
      Kent

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @fkoyer last edited by

        Hi @fkoyer,

        generally Outlook does not support autodiscover for ActiveSync account. It wants to configure an Exchange account instead.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        fkoyer 1 Reply Last reply Reply Quote 0
        • fkoyer
          fkoyer @fbartels last edited by

          @fbartels Thanks for the quick reply. In case it helps anyone else, I discovered that the autodiscover POST request coming from Outlook contains the following data:

          <AcceptableResponseSchema>
          	http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a
          </AcceptableResponseSchema>
          

          So you are right, it only accepts an outlook response and not a mobilesync response. That is very unfortunate.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post