The new Office for Mac is great. True to Microsoft's claims, the latest bundle of productivity apps is indeed 'Unmistakably Office, designed for Mac.'[1].
Office 2016 implemented several new OS X's APIs, including Sandboxing (mandatory for Mac App Store apps, which Office isn't). Sandboxing apps that don't need access to the whole file system is certainly a step in the right direction, however in this case it also brings an inconvenient limitation to the Outlook 2016 - it is no longer possible to easily move Profile (previously called Identity) to a new location (e.g. different drive). To add insult to injury, Outlook for Mac does not have the 'Mail to keep offline' feature of its Windows counterpart, which allows to select time range of e-mails to keep cached locally[2]. That can be troublesome if you have a huge mailbox and not so big SSD in your Macbook.
When scheduling a meeting with Outlook 2016 for Mac, particularly a meeting where attendees will attend in person, you'll need to include a meeting room in the invitation. If you know the name of the meeting room, you can enter that name directly in the Location field. If you don't know the name, or if you're scheduling a meeting in a location. To uninstall Office for Mac 2011 move the applications to the Trash.Once you've removed everything, empty the Trash and restart your Mac to complete the process. Before you remove Office for Mac 2011, quit all Office applications and make sure there's nothing in Trash that you want to keep. Leave Office applications closed while you go through this process. To revert back to OneDrive cloud as the default save location for all Office 2016/265 apps, run this command-line: reg add 'HKCUSoftwareMicrosoftOffice16.0CommonGeneral' /v 'PreferCloudSaveLocations' /t REGDWORD /d 1 /f. If you need to switch between the two settings — i.e., Save to OneDrive by default when you’re at the office,.
Luckily, there is a way to move the Outlook Profile folder away to a different Volume (e.g. a moderately fast SDXD card adapter like TarDisk).
The following step-by-step guide explains in great detail how to manually reach our goal. If you're more of a script person and you prefer computers working for you rather than the other way around, have a look at my Gist that contains a Shell script that will do all the work for you.
Script in action:
Manual approach:
Step 1: Find the Outlook binary and copy it to Desktop.
It should be located here:/Applications/Microsoft Outlook.app/Contents/MacOS/Microsoft Outlook
Step 2: Open the binary in hex editor (e.g. Hex Fiend) and search for:
<key>com.apple.security.app-sandbox</key>
Office 2016 Mac Key
- Step 3: Replace the subsequent
<true/>
with<fals/>
and save changes. You might be asking why are we changing the value to<fals/>
and not<false/>
. The reason is that when changing text strings inside compiled binaries, replacing a string with another one that is longer than the original is asking for trouble. Using incomplete flag is much better thank using 1 more letter than the original string used.
Step 4: Copy the modified binary back to the Outlook.app bundle (keeping a backup copy of unmodified binary is highly recommended)
Step 5: Launch Outlook and check in Activity Monitor that Outlook is now running un-sandboxed
Step 6: Close Outlook and move following folder to its new location:
/Users/<username>/Library/Group Containers/UBF8T346G9.Office/Outlook
Step 7: In place of the original folder, create a symbolic link called
Outlook
pointing to the new destination.
To do that, modify and run following command from Terminal:ln -s '/Volumes/TarDisk/Outlook' '/Users/<username>/Library/Group Containers/UBF8T346G9.Office/Outlook'
^^ Old location (in Library)
^^ New location (on the Volume you're moving the folder to)
Congratulations, you've successfully moved your Outlook Profile folder away from the default location.
However, I recommend you to keep reading after the notes!
Notes:
First 4 steps will need to be repeated every time Outlook's binary gets replaced during an update.
Why isn't creating a symlink enough? Because sandboxed applications are allowed to access only pre-defined folders (Group Containers) and OS will not let them exit these folders using workarounds like symlinks.
Ok, so we now have Outlook running un-sanboxed.
However, we've also corrupted the app's signature in the process and that brings some consequences - specifically the fact that Outlook now cannot access keychain. If you have just one account or if you don't store your IMAP credentials in OS X's keychain at all, that does not have to bother you.
If you use Outlook with several accounts (like me) and you don't like the idea of typing all the passwords every time you startup Outlook, continue reading.
Office 2016 Mac Os
In order to re-sign Outlook with our own code-signing certificate, we first need to create one.
You can create your own certificate in about 2 minutes for free directly from OS X's Keychain Access utility. Follow a short (and slightly out-dated) step-by-step guide here. For the sake of completeness, I am including screenshots of all steps taken on OS X El Capitan below.
More text will follow.
Office 2016 Mac
After the certificate is created, we can sign our modified binary of Outlook with it.
If you open Terminal and verify Outlook's signature at this point, it will be reported as invalid (and rightly so).
Mac Office 2016 Update
To sign the binary, copy and paste following command to Terminal and replace the certificate name with a name you chose while creating the certificate:sudo codesign -f -s 'CERIFICATE NAME HERE' /Applications/Microsoft Outlook.app/
Download Office 2016 Mac
When done, you can verify that the app is signed properly by running the following code:sudo codesign -v /Applications/Microsoft Outlook.app/
If you receive no output, that means the app's signature is valid and Outlook can now access the keychain once again.
That's it :) I recommend the scripted approach instead of doing everything manually with every update Outlook receives.
Office 2016 Mac Identities Located
Dear Microsoft, this isn't the Tab we use for Updates :)
↩︎Nice little slider that the Mac version lacks
↩︎