OneDrive Known Folder move workflow

sguzman1
New Contributor II

Hello All, 

I was wondering if anyone here has been able to successfully implement OneDrive Known folder move?

We are trying to move user's Desktop and Documents folders to OneDrive, without any user interaction, we have tried to apply these settings using the Applications and Custom settings payload, we can see the CP in System preferences Profiles but nothing changes in Onedrive. Other settings like hide dock icon and open at login are successfully applied with the same CP.

<?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>KFMBlockOptOut</key>
    <true/>
    <key>KFMOptInWithWizard</key>
    <string>xxxxxxxxx</string>
    <key>KFMSilentOptIn</key>
    <string>xxxxxxxxx</string>
    <key>HideDockIcon</key>
    <true/>
    <key>OpenAtLogin</key>
    <false/>
  </dict>
</plist> 

 Here is the sample of the plist created in the CP.

Thanks,  

1 ACCEPTED SOLUTION

obi-k
Valued Contributor II

Yeah, you're right @andrew_nicholas. Curious to know your guys' thoughts on this OneDrive redirect. Do you and your users like the experience?

Screen Shot 2022-09-09 at 7.35.26 AM.png

 

 

View solution in original post

45 REPLIES 45

Can you share what happens when the user first opens OneDrive?

For us the user see the following screens:

  1. Your OneDrive Folder
  2. Sign In Screen
  3. Finish Setting Up - Your OneDrive needs your permission to start syncing and to open whenever you login to this mac
  4. OneDrive.app would like to start syncing
  5. Your OneDrive Is Ready for You

We've pushed the following Configuration Profile

<?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>AllowTenantList</key>
<array>
<dict>
<key>XXXXXX</key>
<true/>
</dict>
</array>
<key>DisableHydrationToast</key>
<true/>
<key>DisablePersonalSync</key>
<true/>
<key>DisableTutorial</key>
<true/>
<key>EnableAllOcsiClients</key>
<true/>
<key>FilesOnDemandEnabled</key>
<true/>
<key>HideDockIcon</key>
<false/>
<key>OpenAtLogin</key>
<true/>
<key>Tier</key>
<string>Production</string>
<key>KFMSilentOptIn</key>
<string>XXXXXX</string>
<key>KFMSilentOptInWithNotification</key>
<false/>
<key>KFMSilentOptInDesktop</key>
<true/>
<key>KFMSilentOptInDocuments</key>
<true/>
<key>DisableAutoConfig</key>
<integer>0</integer>
<key>KFMBlockOptOut</key>
<true/>
</dict>
</plist>

Seems that the user still has to login and setup some permissions. Is this what others are seeing?

@markdmatthews @pabohr Do you know the answer for which screens are shown? 

@user-LTribFTuLL Here are the screens that are shown for us:

pabohr_0-1684507654006.png

pabohr_1-1684507689064.png

pabohr_2-1684507702595.png

pabohr_3-1684507716728.png

pabohr_8-1684507799878.png

I believe it is the same as you.

Thanks I had hoped the user didn't have to sign in and agree to more permissions/syncing. 

@stutz i think I’m in the same boat.  Were you able to get KFMSilentOptIn to work so that there is zero user interaction?

@Al_from_IT Yeah we got it working once I added the following keys to my configuration.  We decided on letting the users choose to enable this option and not forcing it for everyone.  But I did test both user enablement and auto enabling, so both options worked.

<key>AllowTenantList</key>
<dict>
<key>Tenant ID</key>
<true/>
</dict>
<key>KFMOptInWithWizard</key>
<string>Tenant ID</string>
</dict>