DSCResources/MSFT_IntuneDeviceCompliancePolicyWindows10/settings.json

{
  "resourceName": "IntuneDeviceCompliancePolicyWindows10",
  "description": "This resource configures the settings of Windows 10 compliance policies in your cloud-based organization.",
  "permissions": {
    "graph": {
      "delegated": {
        "read": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementConfiguration.Read.All"
          },
          {
            "name": "DeviceManagementScripts.Read.All"
          }
        ],
        "update": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementConfiguration.ReadWrite.All"
          }
        ]
      },
      "application": {
        "read": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementConfiguration.Read.All"
          },
          {
            "name": "DeviceManagementScripts.Read.All"
          }
        ],
        "update": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementConfiguration.ReadWrite.All"
          }
        ]
      }
    }
  },
  "requiredModules": [
    "Microsoft.Graph.Authentication",
    "Microsoft.Graph.Beta.DeviceManagement",
    "Microsoft.Graph.Groups"
  ],
  "supportedEnvironments": [
    "Global",
    "USGov"
  ],
  "mode": "Configuration",
  "commands": [
    {
      "module": "Microsoft.Graph.Authentication",
      "cmdlets": [
        "Invoke-MgGraphRequest"
      ]
    },
    {
      "module": "Microsoft.Graph.Beta.DeviceManagement",
      "cmdlets": [
        "Get-MgBetaDeviceManagementAssignmentFilter",
        "Get-MgBetaDeviceManagementDeviceCompliancePolicy",
        "Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment",
        "Get-MgBetaDeviceManagementNotificationMessageTemplate",
        "New-MgBetaDeviceManagementDeviceCompliancePolicy",
        "Remove-MgBetaDeviceManagementDeviceCompliancePolicy",
        "Update-MgBetaDeviceManagementDeviceCompliancePolicy"
      ]
    },
    {
      "module": "Microsoft.Graph.Groups",
      "cmdlets": [
        "Get-MgGroup"
      ]
    }
  ]
}