We're migrating from one hosted email provider to Office 365. I'm wondering if there's a way to automate the change of Outlook 2011 server settings via a login hook? I've attempted this, but every time it launches at login, it kills Outlook and I can't open Outlook until I rebuild the database and reboot.
Here's the script I'm using:
tell application "Microsoft Outlook"
set the server of exchange account 1 to "server address"
end tell
tell application "Microsoft Outlook"
set the ldap server of exchange account 1 to ""
end tell
This works fine via Self Service, but we'd really like to automate this.
Help?
