Stack Engineer

Disable Exchange Autodiscover on Outlook

While Autodiscover with Microsoft Exchange can be great, sometimes a company can have a rather difficult DNS setup. Maybe it's their use of internal and external DNS servers with different IP addresses and hostnames for the mail server if you're on the network (in the office) versus when you're not. This can wreak havoc on Outlook's autodiscover feature. To disable Autodiscover, close Outlook completely, launch AppleScript, and type the follwing command (be sure to change AccountName to the profile name in Outlook.

tell application "Microsoft Outlook"
set background autodiscover of exchange account "AccountName" to false
end tell

After you hit the play button to run it, you can close AppleScript and reopen Outlook. Autodiscover will now be disabled so whatever server settings you put in, will stay.