Posted on 06-07-2022 09:35 AM
Has anyone been able to force the new manage backups in OneDrive? I can't for the life of me get it to work, using both PLIST and JSON. I can get it to force other settings but not the backups. Here is my configuration. Tenant ID has been removed for obvious reasons.
<?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>DisableTutorial</key> <true/> <key>DefaultFolderLocation</key> <array> <dict> <key>TenantID</key> <string>Tentant ID Here</string> <key>DefaultFolderPath</key> <string>~/</string> </dict> </array> <key>HideDockIcon</key> <true/> <key>OpenAtLogin</key> <true/> <key>EnableAddAccounts</key> <true/> <key>FilesOnDemandEnabled</key> <false/> <key>KFMSilentOptIn</key> <string>Tentant ID Here</string> <key>KFMSilentOptInDesktop</key> <true/> <key>KFMSilentOptInDocuments</key> <true/> <key>KFMBlockOptOut</key> <true/> </dict> </plist>
06-07-2022 10:12 AM - edited 06-07-2022 10:13 AM
@mykool That functionality isn't in production yet, and is currently only available when OneDrive Insider Preview is enabled
Posted on 06-07-2022 11:07 AM
I'm on the insider preview.
Posted on 06-07-2022 12:36 PM
@mykool If you select the Backup tab what does it display? If it shows a banner "Your IT Department Wants You to Back Up Your Important Folders" then you've got KFM activated. If not, support for native KFM may not have rolled out to your tenant yet (but that seems odd since it's been rolling out for a while now)
Posted on 06-07-2022 12:41 PM
Yes, I can get that to work but I want to silently force it, where they can't opt out and it just selects it. Maybe it's just buggy with it being in preview still. I'm going to try on another device and see if I get the same results.
Posted on 06-08-2022 02:52 AM
Can you please confirm that the Backup tab will appear only after enabling the OneDrive Insider Preview option?
After I manually put a tick mark I get the Backup tab and Desktop/Documents sync works just fine.
I'm curious is it possible to get the Backup tab function available without going first to the OneDrive Insider Preview?
Thank you in advance.
Posted on 06-08-2022 07:32 AM
you need Preview enabled to use KFM
this is the plist to enable it
Posted on 06-09-2022 10:53 AM
As I stated above, I am on the Preview, but thanks.
Posted on 06-13-2022 09:45 AM
I managed to get it to work on an Intel device, however, I have an M1 with the same OS, config profiles, same OneDrive version, both on insider preview and the M1 won't force the backups. Very weird.
Posted on 08-22-2022 07:25 AM
@mykool do you mind sharing the xml/plist file? I'm struggling to get this working for my environment.
Want to enable KFM for intel + ARM but cannot get the Back-up section available.
Posted on 10-13-2022 05:40 AM
It looks like the functionality has made it to production. But I cannot figure out how to enable invisibly for our users. I have created a PPPC to enable full disk access, but the activation of the Backup function in OneDrive does not seem to work.
Is there a .plist or script out there somewhere that solves this issue for us?
Since I am new to editing plist files this way, where would I find my Tenant ID and String (as in the @mykool example above)
Posted on 10-27-2022 12:52 AM
I found that the new plist file with:
<key>KFMSilentOptIn</key> <string> ----tenant id--- </string> <key>KFMSilentOptInWithNotification</key> <true/>
would not work until I had run a script to remove the current OneDrive .plist along with the cached ones and then initiated a restart.
rm -Rf /Users/*/Library/Preferences/com.microsoft.OneDrive.plist rm -Rf /Users/*/Library/Caches/com.microsoft.OneDrive rm -Rf /Users/*/Library/Caches/OneDrive rm -Rf /Users/*/Library/Caches/com.microsoft.OneDriveStandaloneUpdater
For me this is still in testing mode as I first need to make sure all devices are using the latest version of OneDrive.
I plan to push a script to quit OneDrive then remove the relevant files, then install the latest OneDrive using installomator and then finally restart the device.
I have successfully done this on a couple of test devices using the script as a self service item and it has worked for silently enabling backup.
Posted on 11-15-2022 01:02 PM
I just figured this out for my org. I used the example in the initial post and added/changed some choices from Microsoft's article: https://learn.microsoft.com/en-us/sharepoint/deploy-and-configure-on-macos
the key here is after applying the profile, the user also needs a config for onedrive to have full disk access. easiest way is PPPC utility. Once the PPPC config and the onedrive forced sync config are pushed to the user, they need to either restart their Mac or sign out and sign back in to onedrive for the plist to kick in.
Posted on 12-28-2022 12:20 AM
is this in production already? or just on the inside preview?
Posted on 12-28-2022 07:12 AM