Using older versions of Outlook for Mac in business environments
I had the same issue w/ trying the script, but another forum thread has an easier method:
http://community.office365.com/en-us/f/153/t/274711.aspx
Since I've done this the problem hasn't reoccurred, but I've had long periods of stability before, so we'll see how this goes...
So the solution documented in the above thread:
Open Outlook and manually enter the Exchange Server Address to the one you want and make sure all the settings are correct.
Locate your account setup file here: ~/Library/Group Containers/xxxx.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Exchange Accounts/xx/
(the file will not have any extension)
Your Exchange Account setup are in one of these files, depending on how many Exchange Accounts you have setup. You can check for the correct account by opening them using TextEdit, but don't edit them there.
Lock this file through Get Info
Quit and restart Outlook and the Exchange Server address should be locked to what you entered.
appears to have worked for me - going on four days w/o getting stuck on sync. Will see if it stays stable.