
usr/bin/defaults write /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/-mac.

usr/bin/defaults write /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/ DisablePersonalSync -bool TRUE Mobile devices are managed with the separate device controls, and access to the OneDrive web app is controlled with Azure AD conditional access. usr/bin/touch /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/ Yes, this impacts the sync client on Windows PCs (there is also the option there to block Mac sync client).
Onedrive for mac sync client android#
bin/mkdir -p /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/ OneDrive has sync tools available for Mac and Windows, plus clients with offline capabilities for iOS and Android mobile platforms. Stand Alone deployment turned out to be a challenge, since it has to be launched as the current user. Start OneDrive Setup and follow one of the methods below. Important: If you are currently using the OneDrive Mac Store app, you must first uninstall it before installing the latest build of the OneDrive desktop app. JssLog "Microsoft OneDrive Defaults Configured" Setup the New OneDrive Sync Client on Mac. list /Users UniqueID | awk '$2 > 1000 " cfprefsd
Onedrive for mac sync client free#
#Create a list of mobile user accounts who always have a UniqueID of greater than 1000 A free Microsoft OneDrive Client for Linux, which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365 and Sharepoint, and fully supports Azure National Cloud Deployments. # OneDrive folder, and a SymLink created in the /Users/userid directory pointing to the new If the directories are present, then they are moved into the # already, then checks that the folders haven't already been migrated or symlinked to Checks if /Users/userid/OneDrive - Company folder exists # Migrates users' Documents and Desktop folders from their local home directory (/Users/userid) Here's what I have so far.it works and processes all local users, so long as they don't have any open files in Documents or Desktop folders: #!/bin/bash If anyone has experience with setting a default file path in a plist, and can check my work, that would be great. I want to turn this plist into a custom Configuration Profile to deploy to all my clients once I can test that it works.

However, I'm not sure if I set the DefaultFolder path string correctly.Īfter looking at other plists in my ~/Library/Preferences folder that point to specific file paths, I think I have the right syntax. So, following the instructions in the article " Configure the new OneDrive sync client on macOS," I've made the following plist. This new client enables users to also sync SharePoint folders to their Macs just like the Windows client. I'm trying to set up a plist that will have defaults settings for the new OneDrive Sync Client released 1/27/17.
