Public/TenantConfiguration/Baseline/ConfigurationPolicies/JyskIT-Baseline-CONF-OneDrive.json

{
    "platforms": "windows10",
    "technologies": "mdm",
    "description": "Configure OneDrive automatically with Known-Folder-Move and automatic sign-in.",
    "name": "JyskIT-Baseline-CONF-OneDrive",
    "settings": [
        {
          "id": "0",
          "settingInstance": {
            "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
            "settingInstanceTemplateReference": null,
            "choiceSettingValue": {
              "children": [],
              "settingValueTemplateReference": null,
              "value": "device_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_dehydratesyncedteamsites_1"
            },
            "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_dehydratesyncedteamsites"
          }
        },
        {
          "id": "1",
          "settingInstance": {
            "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
            "settingInstanceTemplateReference": null,
            "choiceSettingValue": {
              "children": [],
              "settingValueTemplateReference": null,
              "value": "user_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_disablefretutorial_1"
            },
            "settingDefinitionId": "user_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_disablefretutorial"
          }
        },
        {
          "id": "2",
          "settingInstance": {
            "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
            "settingInstanceTemplateReference": null,
            "choiceSettingValue": {
              "children": [],
              "settingValueTemplateReference": null,
              "value": "device_vendor_msft_policy_config_onedrivengscv6~policy~onedrivengsc_enablesyncadminreports_1"
            },
            "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv6~policy~onedrivengsc_enablesyncadminreports"
          }
        },
        {
          "id": "3",
          "settingInstance": {
            "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
            "settingInstanceTemplateReference": null,
            "choiceSettingValue": {
              "children": [],
              "settingValueTemplateReference": null,
              "value": "device_vendor_msft_policy_config_onedrivengscv4~policy~onedrivengsc_disablefirstdeletedialog_1"
            },
            "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv4~policy~onedrivengsc_disablefirstdeletedialog"
          }
        },
        {
          "id": "4",
          "settingInstance": {
            "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
            "settingInstanceTemplateReference": null,
            "choiceSettingValue": {
              "children": [
                {
                  "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
                  "settingInstanceTemplateReference": null,
                  "choiceSettingValue": {
                    "children": [],
                    "settingValueTemplateReference": null,
                    "value": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_desktop_checkbox_1"
                  },
                  "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_desktop_checkbox"
                },
                {
                  "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
                  "settingInstanceTemplateReference": null,
                  "choiceSettingValue": {
                    "children": [],
                    "settingValueTemplateReference": null,
                    "value": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_documents_checkbox_1"
                  },
                  "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_documents_checkbox"
                },
                {
                  "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
                  "settingInstanceTemplateReference": null,
                  "choiceSettingValue": {
                    "children": [],
                    "settingValueTemplateReference": null,
                    "value": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_pictures_checkbox_1"
                  },
                  "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_pictures_checkbox"
                },
                {
                  "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
                  "settingInstanceTemplateReference": null,
                  "choiceSettingValue": {
                    "children": [],
                    "settingValueTemplateReference": null,
                    "value": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_dropdown_1"
                  },
                  "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_dropdown"
                },
                {
                  "@odata.type": "#microsoft.graph.deviceManagementConfigurationSimpleSettingInstance",
                  "settingInstanceTemplateReference": null,
                  "simpleSettingValue": {
                    "@odata.type": "#microsoft.graph.deviceManagementConfigurationStringSettingValue",
                    "settingValueTemplateReference": null,
                    "value": "#ReplaceTenantId#_TenantId"
                  },
                  "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_kfmoptinnowizard_textbox"
                }
              ],
              "settingValueTemplateReference": null,
              "value": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard_1"
            },
            "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2.updates~policy~onedrivengsc_kfmoptinnowizard"
          }
        },
        {
          "id": "5",
          "settingInstance": {
            "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
            "settingInstanceTemplateReference": null,
            "choiceSettingValue": {
              "children": [],
              "settingValueTemplateReference": null,
              "value": "device_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_silentaccountconfig_1"
            },
            "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_silentaccountconfig"
          }
        },
        {
          "id": "6",
          "settingInstance": {
            "@odata.type": "#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance",
            "settingInstanceTemplateReference": null,
            "choiceSettingValue": {
              "children": [],
              "settingValueTemplateReference": null,
              "value": "device_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_filesondemandenabled_1"
            },
            "settingDefinitionId": "device_vendor_msft_policy_config_onedrivengscv2~policy~onedrivengsc_filesondemandenabled"
          }
        }
      ],
      "assignments": [
        {
          "target": {
            "@odata.type" : "#microsoft.graph.allDevicesAssignmentTarget"
          }
        }
      ]
}