Disable Autodiscover

Coreym1993
New Contributor

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 4

Cayde-6
Release Candidate Programs Tester

Configuration profile?

r0blee
New Contributor III

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

Coreym1993
New Contributor

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.

r0blee
New Contributor III

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