Skip to content

Instantly share code, notes, and snippets.

@silkimen
Created May 5, 2017 09:30
Show Gist options
  • Save silkimen/fcda0082a6b5505b651982b66924b804 to your computer and use it in GitHub Desktop.
Save silkimen/fcda0082a6b5505b651982b66924b804 to your computer and use it in GitHub Desktop.
Disable background autodiscover of Mac Outlook
# This is a Apple Script; use AppleScript Editor to run this
# It will disable autodiscover feature of Mac Outlook for your account
# Adjust the variables "accountName" and "serverUrl" according to your needs
set accountName to "NameOfYourAccount"
set serverUrl to "https://your.domain.org/your/subpath/Exchange.asmx"
tell application "Microsoft Outlook"
set server of every other users folder account of exchange account accountName to serverUrl
set background autodiscover of every other users folder account of exchange account accountName to false
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment