Autodiscovery Outlook 2019/2021/365 with own (non Exchange) email server

m7913d 16 Reputation points
2022-07-24T19:08:54.037+00:00

What is the correct approach to support autodiscovery of IMAP (and optionally ActiveSync) settings by recent Outlook versions, requiring no extra configuration changes on the client pc (such as disabling Simplified Profile Creation, altering the registry, ...) supporting any IMAP (and optionally ActiveSync) compatible mail server.

Other similar question are already asked, but the suggested solutions do not work or they suggest some work around that are inconvenient in general (f.ex. in case of personal computers not managed by an organisation):

Outlook | Windows | Classic Outlook for Windows | For business
{count} vote

3 answers

Sort by: Most helpful
  1. Dillon Silzer 57,831 Reputation points Volunteer Moderator
    2022-07-24T19:19:08.757+00:00

    Hey @m7913d

    Have you tried setting up a SRV record with your mail server?

    Exchange 2013, 2016 – Autodiscover SRV record by Mark Gossa

    https://markgossa.com/2015/11/exchange-2013-2016-autodiscover-srv-record.html

    Is there a way to use the Autodiscover feature without Exchange? (See answer by Aaron C. de Bruyn)

    First you will need to tell Outlook where to go. Use an SRV record in DNS that points to the server containing your Autodiscover.xml file:

    _autodiscover._tcp.mydomain.com. 3600 IN SRV 10 10 443 my-web-server.mydomain.com.

    Use the PHP script here: http://virer.net/info/ol-autodiscover/index.html to return the Autodiscover.xml file to clients. It has some PHP embedded so you can return different values depending on the e-mail address entered into Outlook. (Helpful if you want to use one autodiscover file to return results for multiple domains/clients using one config script).

    Once that script is on your webserver and working, make sure you enable HTTPS with a valid certificate so Outlook doesn't throw errors when trying to download it.

    https://serverfault.com/questions/244660/is-there-a-way-to-use-the-autodiscover-feature-without-exchange

    -------------------------------------

    If this is helpful please mark as correct answer.


  2. Dillon Silzer 57,831 Reputation points Volunteer Moderator
    2022-07-24T19:55:42.317+00:00

    Hi @m7913d

    Here is another couple of solutions I have found (workarounds)

    Autodiscover not working properly on Outlook

    https://talk.plesk.com/threads/autodiscover-not-working-properly-on-outlook.356682/page-2

    Microsoft Support suggested for us reactive solution only: when mail autodiscover failed for a customer, you can

    bypass using an MS proxy server by adding a registry key to the Outlook client (using Registry on a local machine):

    HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\AutoDiscover
    Name : ExcludeExplicitO365Endpoint

    Value : 1

    Anthony from Plesk


    Second option:

    Check out TomBoB's response (autodiscover_587.sh and autodiscover.xml) further down the thread on https://talk.plesk.com/threads/autodiscover-not-working-properly-on-outlook.356682/page-2


    If this is helpful please don't forget to mark as correct answer.


  3. Dillon Silzer 57,831 Reputation points Volunteer Moderator
    2022-07-24T20:16:59.903+00:00

    Some recommendations for you since you cannot make adjustments to client side configurations:

    1) You can purchase support for your business at:

    https://support.microsoft.com/en-us/topic/support-for-business-1f4c4d09-9047-28ac-bb3b-618757e3bffd

    • Microsoft Professional Support (pay-per-incident)

    2) You can submit feedback for Outlook 2019+ on https://feedbackportal.microsoft.com/feedback/forum/89a8afa3-2e1c-ec11-b6e7-0022481f8472


    If you found this answer helpful please feel free to mark as correct answer.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.