OneDrive question

SMR1
Contributor III

I'm in the process of getting back to testing OneDrive. If I have the default folder set, does this prevent the user from choosing a different folder? I did create a couple of documents and put them in Desktop and Documents prior to deploying OneDrive and the config profile. I have the below plist set and it pulled down all my files that are currently in OneDrive from all of my other testing. The files I added prior to setting up OneDrive don't have the cloud icon next to it. Does the below plist look ok?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>DisablePersonalSync</key>
    <true/>
    <key>DisableTutorial</key>
    <true/>
    <key>DefaultFolder</key>
    <dict>
    <key>Path</key>
      <string>~/OneDrive - Home</string>
      <key>TenantID</key>
      <string>myid</string>
    </dict>
    <key>AutomaticUploadBandwidthPercentage</key>
    <integer>30</integer>
    <key>FilesOnDemandEnabled</key>
    <true/>
    <key>BlockExternalSync</key>
    <true/>
    <key>AllowTenantList</key>
    <dict>
      <key>myid</key>
      <true/>
    </dict>
    <key>KFMSilentOptIn</key>
    <string>myid</string>
    <key>KFMSilentOptInWithNotification</key>
    <true/>
    <key>KFMSilentOptInDesktop</key>
    <true/>
    <key>KFMSilentOptInDocuments</key>
    <true/>
    <key>KFMBlockOptOut</key>
    <true/>
  </dict>
</plist>

  

3 REPLIES 3

SMR1
Contributor III

 Also, is there a way to backup the pictures folder or is that something that has to be done manually?

easyedc
Valued Contributor II

You can try to add this entry

<key>KFMSilentOptInPictures</key>
<true/>

 

It's worked on some computers and not on others. I can't find any rhyme or reason why, either.  On my primary, it shows Pictures backed up (but at the moment an error possibly). On a test box, same profile, same logged in user (me) it doesn't show.  Go figure. 

Your better bet may be to simply link the pictures directory to the OneDrive directory.

sudo rm -rf /Users/JoeUser/Pictures
ln -s /Users/JoeUser/Library/CloudStorage/OneDrive-MyOrg/Pictures /Users/JoeUser/Pictures

Simplifying things by removing the existing Pictures directory first, so take note of that before you blindly test.  

SMR1
Contributor III

I tried the first option, but didn't do anything. I'll try the second option.