DSCResources/MSFT_AADUser/settings.json

{
  "resourceName": "AADUser",
  "description": "",
  "roles": {
    "read": [],
    "update": [
      "User Administrator"
    ]
  },
  "permissions": {
    "graph": {
      "delegated": {
        "read": [
          {
            "name": "RoleManagement.Read.Directory"
          },
          {
            "name": "User.Read.All"
          },
          {
            "name": "Group.Read.All"
          },
          {
            "name": "GroupMember.Read.All"
          }
        ],
        "update": [
          {
            "name": "Organization.Read.All"
          },
          {
            "name": "RoleManagement.ReadWrite.Directory"
          },
          {
            "name": "User.ReadWrite.All"
          },
          {
            "name": "Group.ReadWrite.All"
          },
          {
            "name": "GroupMember.ReadWrite.All"
          }
        ]
      },
      "application": {
        "read": [
          {
            "name": "RoleManagement.Read.Directory"
          },
          {
            "name": "User.Read.All"
          }
        ],
        "update": [
          {
            "name": "Organization.Read.All"
          },
          {
            "name": "RoleManagement.ReadWrite.Directory"
          },
          {
            "name": "User.ReadWrite.All"
          },
          {
            "name": "Group.ReadWrite.All"
          },
          {
            "name": "GroupMember.ReadWrite.All"
          }
        ]
      }
    }
  },
  "requiredModules": [
    "Microsoft.Graph.Authentication",
    "Microsoft.Graph.Beta.Identity.DirectoryManagement",
    "Microsoft.Graph.Beta.Identity.Governance",
    "Microsoft.Graph.Groups",
    "Microsoft.Graph.Users",
    "Microsoft.Graph.Users.Actions"
  ],
  "supportedEnvironments": [
    "Global",
    "USGov"
  ],
  "mode": "Data",
  "commands": [
    {
      "module": "Microsoft.Graph.Beta.Identity.DirectoryManagement",
      "cmdlets": [
        "Get-MgBetaSubscribedSku"
      ]
    },
    {
      "module": "Microsoft.Graph.Beta.Identity.Governance",
      "cmdlets": [
        "Get-MgBetaRoleManagementDirectoryRoleAssignment",
        "Get-MgBetaRoleManagementDirectoryRoleDefinition",
        "New-MgBetaRoleManagementDirectoryRoleAssignment",
        "Remove-MgBetaRoleManagementDirectoryRoleAssignment"
      ]
    },
    {
      "module": "Microsoft.Graph.Groups",
      "cmdlets": [
        "Get-MgGroup",
        "New-MgGroupMember",
        "Remove-MgGroupMemberDirectoryObjectByRef"
      ]
    },
    {
      "module": "Microsoft.Graph.Users",
      "cmdlets": [
        "Get-MgUser",
        "New-MgUser",
        "Remove-MgUser",
        "Update-MgUser"
      ]
    },
    {
      "module": "Microsoft.Graph.Users.Actions",
      "cmdlets": [
        "Set-MgUserLicense"
      ]
    }
  ]
}