DSCResources/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10/settings.json

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