Skip to main content
Question

Disable Autodiscover

  • June 6, 2019
  • 4 replies
  • 27 views

Forum|alt.badge.img+2

I am looking for a way to disable autodiscover on outlook 2016 and deploy it to multiple machines. Some of the scripts I have found are just failing when I try to push them to the machines.

4 replies

Cayde-6
Forum|alt.badge.img+22
  • Honored Contributor
  • June 6, 2019

Configuration profile?


Forum|alt.badge.img+5
  • New Contributor
  • June 6, 2019

You could use AppleScript and use something like this:

tell application "Microsoft Outlook"

set background autodiscover of every exchange account to false

end tell

You can use a policy to run it as 'osascript' and deploy it that way as well.

Rob


Forum|alt.badge.img+2
  • Author
  • New Contributor
  • June 12, 2019

Do toss that into a script and throw that script into a policy or how do i go about running apple script through a policy? I have tried running that and It comes back as failed everytime I do so.


Forum|alt.badge.img+5
  • New Contributor
  • June 20, 2019

Try putting it into the execute command field in a policy like this:

osascript -e 'tell application "Microsoft Outlook"' -e 'set background autodiscover of every exchange account to false' -e 'end tell'

Rob