Forum Discussion
Intune KFM not enabling with script
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"/> |
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