Posted on 05-24-2016 07:39 AM
Hi, has anybody tried blocking the use of local folders in Outlook 2016?
I have found this setting defaults read com.microsoft.Outlook HideFoldersOnMyComputerRootInFolderList
and tried creating a plist with just that set to true, and then converted the profile with mcxToProfile.py then deployed the mobileconfig through MDM but the setting is not set nor is it blocked from being set.
Any help would be appreciated if anybody has done similar.
Posted on 05-24-2016 08:14 AM
Make sure that you are deploying the config on the User Level, not the Computer level.
Posted on 05-24-2016 08:22 AM
Posted on 05-24-2016 09:22 AM
I think the issue is that with Office 2016 apps being sandboxed, the preferences are not stored in the standard location. That particular setting is actually now in
You might need to recreate the Config Profile from that plist and not the one in ~/Library/Preferences/
Posted on 05-26-2016 12:47 PM
@mm2270 Just so you knonw I do not have that plist in Library/Preferences when I run the defaults read it finds the sandboxed version. So hence why I was hoping it would work. The old way. thanks for the feedback
@jason.bracy I did a userlevel config. thanks for the double check though.
Posted on 05-26-2016 02:19 PM
@nessts I just tried this and it appears to be working well for me:
com.microsoft.Outlook.plist (name is important per mcxToProfile documentation)
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>HideFoldersOnMyComputerRootInFolderList</key> <true/> </dict> </plist>
./mcxToProfile-master/mcxToProfile.py --plist ./com.microsoft.Outlook.plist --identifier HideOutlookLocalFolders --manage Always
Installed Profile locally, but should be same from MDM:
profiles -I -F ./HideOutlookLocalFolders.mobileconfig
The "Hide On My Computer folders" box is checked. The GUI allows me to uncheck it, but the local folders do not appear, and the box is checked again as soon as you reopen the preferences window. I cannot overwrite the setting with defaults either....the profile is working.
Posted on 05-26-2016 02:31 PM
Hey guys, just curious... What is the advantage of using the mcxToProfile.py instead of just uploading the .plist to the Custom Settings payload of a Configuration Profile in Casper?
Posted on 05-27-2016 06:26 AM
@jason.bracy I'd never used mcxToProfile before, I just tried it because it was mentioned in the post and I don't have a JSS available to me at the moment. I like it, nice tool.
If creating custom profiles occasionally in the JSS I would keep doing it that way because it is easy and you get a signed profile. It looks like mcxToProfile was created to be a conversion utility (as the name implies). It's a command line tool so there are big advantages if you are going to automate config profile creation.