--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/02993109-044b-4932-8732-4585b393924b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am, as yet, not completely at home with profiles and I would like to get this working, so I wonder if Erik could kindly post his mobileconfig profile?With great anticipated thanks.“Weaseling out of things is important to learn. It’s what separates us from the animals.....except the weasel” ~ Homer Simpson
From: Erik Gomez <eriknico...@gmail.com>
To: munki-...@googlegroups.com
Sent: Tuesday, 19 January 2016, 22:53
Subject: Re: [munki-discuss] Deploying Microsoft OneDrive For Business
Instead of doing this, you can use a profile to configure these settings. At our institution we have a mobileconfig that is a required item for the latest OneDrive.
Sent from my iPad
For anyone wanting to deploy Microsoft OneDrive (an app store download) which is provisioned to their institution's enterprise account, this is a simple post-install that changes the behaviour to redirect the app's setup window to the institution's authentication (happens after an institutional email is entered).--The plist that the app reads is located in a ~/Library/Containers folder, so I've used the sudo command with a for loop on the user folders in a system. This may not be the most effective way of implementing it, but it works if the user account is consistent with user's home folder name. I have not tested this in an AD environment.#!/bin/bashcd /Users/for f in *; do sudo -u $f defaults write /Users/$f/Library/Containers/com.microsoft.OneDrive-mac/Data/Library/Preferences/com.microsoft.OneDrive-mac.plist DefaultToBusinessFRE -bool True; donefor f in *; do sudo -u $f defaults write /Users/$f/Library/Containers/com.microsoft.OneDrive-mac/Data/Library/Preferences/com.microsoft.OneDrive-mac.plist EnableAddAccounts -bool True; doneexit 0Hope this helps, and feel free to improve if you feel.
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/02993109-044b-4932-8732-4585b393924b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discuss+unsubscribe@googlegroups.com.