Forum Discussion
Intune KFM not enabling with script
(I am part time I.T. with limited training in deployment.)
Silent Configuration of Onedrive is working great! However, it will not automatically begin to "protect the known folders". What am I potentially doing wrong?
Here is the script I am using from Microsoft.
https://mtmschoolregina-my.sharepoint.com/:u:/p/dnelson/EQLNR5kv3xdJsL_s0Rmf3U8Bu_5yVa2FfvWgf6sGTaJF5A?e=sTRbG5
5 Replies
- Dnel29Copper Contributor
Thanks, everyone! I got it working after some trial and error. Right now we are just testing so I did use the admx onedrive ingesting. Hopefully, when we are ready to fully implement Intune the KFM will be within the admin templates.
Hi Dnel29,
I didn't had a detailed look at your script but I'm using a very simple approach which is working very well. I use Per Larsens Script for KFM settings from here:
https://osddeployment.dk/2018/07/06/how-to-deploy-onedrive-known-folder-move-with-intune/
and in addition I use Administrative Templates for all the other settings:
It's just a matter of time until we have the KFM settings also available in the Administrative Templates available. But for now we have to set the KFM keys by Intune Management Extension.
Give it a try, this combination works very solid.
best,
Oliver- almennnBrass Contributor
I have not tested for a while but I had this working using the following OMA-URIs.
Name SilentAccountConfig Description Silently configure OneDrive using the primary Windows account OMA-URI ./Device/Vendor/MSFT/Policy/Config/OneDriveNGSC~Policy~OneDriveNGSC/SilentAccountConfig Data type String Value <enabled/>
Name
KFMOptInNoWizard Description Silently redirect Windows known folders to OneDrive OMA-URI ./Device/Vendor/MSFT/Policy/Config/OneDriveNGSC~Policy~OneDriveNGSC/KFMOptInNoWizard Data type String Value <enabled/> <data id="KFMOptInNoWizard_TextBox" value="Insert Your Azure Tenant ID"/> <data id="KFMOptInNoWizard_Dropdown" value="0"/> - almennnBrass Contributor
Tried the OMA-URIs today and can confirm it's working.