{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-external-connectors-external-group-schema.json",
  "title": "microsoft.graph.externalConnectors.externalGroup",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-connections-externalgroup-api-openapi.yml#/components/schemas/microsoft.graph.externalConnectors.externalGroup",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "externalGroup",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The description of the external group. Optional."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The friendly name of the external group. Optional."
        },
        "members": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.externalConnectors.identity"
          },
          "description": "A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.externalConnectors.externalGroup",
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.externalConnectors.identity": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "identity",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "type": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.externalConnectors.identityType"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The type of identity. The possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.externalConnectors.identity"
    },
    "microsoft.graph.externalConnectors.identityType": {
      "title": "identityType",
      "enum": [
        "user",
        "group",
        "externalGroup",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}