DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/settings.json

{
    "resourceName": "IntuneDeviceConfigurationCustomPolicyWindows10",
    "description": "This resource configures an Intune Device Configuration Custom Policy for Windows10.",
    "permissions": {
    "graph": {
                  "delegated": {
                                    "read": [
                                                {
                                                    "name": "Group.Read.All"
                                                },
                                                {
                                                     "name": "DeviceManagementConfiguration.Read.All"
                                                 }
                                             ],
                                    "update": [
                                                   {
                                                       "name": "DeviceManagementConfiguration.ReadWrite.All"
                                                   }
                                               ]
                                },
                  "application": {
                                                "read": [
                                                    {
                                                        "name": "Group.Read.All"
                                                    },
                                                    {
                                                       "name": "DeviceManagementConfiguration.Read.All"
                                                   }
                                               ],
                                      "update": [
                                                     {
                                                         "name": "DeviceManagementConfiguration.ReadWrite.All"
                                                     }
                                                 ]
                                  }
              }
}
 
}