My company recently switched email providers and we updated all the necessary DNS settings, including CNAME, autodiscover, and autoconfig. However, when I try to log in to Outlook, it still pulls the IMAP and SMTP server settings from the old provider, despite these settings no longer being in the DNS configuration. It's been over a week, and I'm wondering if there is something in the Exchange admin panel that I can change. When I test with other email applications, the correct settings are being fetched, so it seems like a caching issue with Outlook. What can I do to resolve this?
3 Answers
You can try clearing the Autodiscover cache in Outlook. First, close the app, then press Windows + R to open the Run dialog. Type in 'olk.exe --devtools' and use the DevTools Application tab to clear Local Storage and Cookies. You can also delete the Autodiscover.xml files located in %localappdata%MicrosoftOutlook and make sure to clear your credentials in the Control Panel's Credential Manager.
Have you tried creating a new email profile through the Control Panel? It sounds like there might be a cache issue within Outlook itself that’s causing it to remember the old settings.
If that doesn’t work, you might want to create a registry key. Close Outlook and create this key in the registry: HKEY_CURRENT_USERSoftwareMicrosoftOfficex.0(version#)OutlookAutodiscover. Create a DWORD value called ExcludeLastKnownGoodURL and set it to 1. Then, open Outlook for a few minutes to see if it resolves the issue. You can delete the key afterwards if needed.
The issue isn’t just local. We're mainly setting these up on phones, and even on a brand-new phone with Outlook installed, it still autofills the old settings.

Is there a way to manually clear that cache?