Using classic Outlook for Windows in business environments
I have a fix.
This is a long-standing issue with the acompli.net outlookmobile.com Mobile Outlook acquisition years ago. Microsoft has never fixed it. It overrides Autodetect because it's a holdover from that acquisition creating frustrating issues, especially if you have migrated from Google Workspace or some other platform to Microsoft Exchange or 365.
You can confirm that this is happening easily. Just put in the following command into Powershell, and substitute your own domain name where indicated:
Invoke-WebRequest -Uri 'https://prod-autodetect.outlookmobile.com/detect?services=office365,outlook,google,icloud,yahoo&protocols=rest-cloud,rest-outlook,rest-office365,eas,imap,smtp' -Headers @{'x-email'="******@DOMAIN.COM"} | ConvertFrom-Json
It will report back what Outlook will by default try to use--either the Autodiscovered system, or the cached entry from acompli.net.
The only ways to resolve it that I have found are the following:
- First option, wait it out. The caches at acompli.net will eventually clear. Weeks later. Not cool, Microsoft.
- Second option, immediate gratification: Edit the hosts file on the computer in c:\windows\system32\drivers\etc and add 127.0.0.1 prod-global-autodetect-acompli.net to the end of the text file. (Do this in an elevated command prompt.) This will prevent Outlook from being able to contact this out-of-date cache on this server. Autodiscover will do the rest. (NOTE: You can also put this into your DNS server if you use one!)
- Third option, immediate gratification: For mobile devices running the Outlook app, go ahead let the Google sign in come up while adding the account, but immediately click "DONE" at the top left and you will then see the option to do a manual setup. Choose Office 365 for the type of account and put in the credentials. (You may be prompted to authenticate so put the Microsoft Authenticator onto the phone ahead of time.)