Microsoft Entra · Schema

DirectoryObject

Base type for many directory resources including users, groups, and service principals

Access ManagementAuthenticationAzure ADEntraIdentityIdentity GovernanceMicrosoftNetwork SecuritySecurityZero Trust

Properties

Name Type Description
@odata.type string The OData type string for the directory object
id string Unique identifier for the directory object
displayName stringnull The display name of the directory object
View JSON Schema on GitHub

JSON Schema

microsoft-entra-directoryobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DirectoryObject",
  "title": "DirectoryObject",
  "type": "object",
  "description": "Base type for many directory resources including users, groups, and service principals",
  "properties": {
    "@odata.type": {
      "type": "string",
      "description": "The OData type string for the directory object",
      "examples": [
        "#microsoft.graph.user",
        "#microsoft.graph.group",
        "#microsoft.graph.servicePrincipal"
      ]
    },
    "id": {
      "type": "string",
      "description": "Unique identifier for the directory object",
      "example": "abc123"
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The display name of the directory object",
      "example": "example_value"
    }
  }
}