GroupCreate

Properties required when creating a new group.

AuthenticationAuthorizationIdentityMicrosoftMicrosoft EntraOAuthOpenID ConnectSAMLSCIMSingle Sign-OnZero Trust

Properties

Name Type Description
displayName string The display name for the group.
description string
groupTypes array Set to ["Unified"] for Microsoft 365 groups. Omit for security groups.
mailEnabled boolean
mailNickname string
securityEnabled boolean
visibility string
isAssignableToRole boolean
[email protected] array List of directory object URLs to add as members. Example: https://graph.microsoft.com/v1.0/directoryObjects/{id}
[email protected] array List of directory object URLs to set as owners.
View JSON Schema on GitHub

JSON Schema

microsoft-graph-identity-group-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GroupCreate",
  "type": "object",
  "description": "Properties required when creating a new group.",
  "properties": {
    "displayName": {
      "type": "string",
      "description": "The display name for the group."
    },
    "description": {
      "type": "string"
    },
    "groupTypes": {
      "type": "array",
      "description": "Set to [\"Unified\"] for Microsoft 365 groups. Omit for security groups."
    },
    "mailEnabled": {
      "type": "boolean"
    },
    "mailNickname": {
      "type": "string"
    },
    "securityEnabled": {
      "type": "boolean"
    },
    "visibility": {
      "type": "string"
    },
    "isAssignableToRole": {
      "type": "boolean"
    },
    "[email protected]": {
      "type": "array",
      "description": "List of directory object URLs to add as members. Example: https://graph.microsoft.com/v1.0/directoryObjects/{id}"
    },
    "[email protected]": {
      "type": "array",
      "description": "List of directory object URLs to set as owners."
    }
  }
}