Forum Discussion
Intune KFM not enabling with script
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
- almennnApr 15, 2019Brass 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"/> - almennnApr 16, 2019Brass Contributor
Tried the OMA-URIs today and can confirm it's working.
- Apr 16, 2019
Hi almennn,
sure this works but only if you have ingested the OneDrive ADMX also which is not listed in your OMA-URIs. The bad thing about ingesting OneDrive is that the "Administrative Templates" feature in Intune, the one I mentioned above is also ingesting the OneDrive admx. So you risk to generate a conflict as you can only ingest the original OneDrive admx from one source. MS will update the OneDrive ingestion they use within the Administrative Templates to have the KFM included in near future. So for now it is more safe to use the PowerShell script for the KFM settings to avoid possible conflicts and use the native "Administrative Templates" for all available settings of OneDrive and as soon as MS has updated you can skip the PowerShell script and use only the Administrative Templates only to configure all from Intune.
best,
Oliver