Microsoft Graph · Schema

microsoft.graph.directory

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
administrativeUnits array Conceptual container for user and group directory objects.
attributeSets array Group of related custom security attribute definitions.
customSecurityAttributeDefinitions array Schema of a custom security attributes (key-value pairs).
deletedItems array Recently deleted items. Read-only. Nullable.
deviceLocalCredentials array The credentials of the device's local administrator account backed up to Microsoft Entra ID.
federationConfigurations array Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.
onPremisesSynchronization array A container for on-premises directory synchronization functionalities that are available for the organization.
publicKeyInfrastructure object The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant.
subscriptions array List of commercial subscriptions that an organization acquired.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdirectory-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.directory",
  "title": "microsoft.graph.directory",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "directory",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "administrativeUnits": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.administrativeUnit"
          },
          "description": "Conceptual container for user and group directory objects.",
          "x-ms-navigationProperty": true
        },
        "attributeSets": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.attributeSet"
          },
          "description": "Group of related custom security attribute definitions.",
          "x-ms-navigationProperty": true
        },
        "customSecurityAttributeDefinitions": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.customSecurityAttributeDefinition"
          },
          "description": "Schema of a custom security attributes (key-value pairs).",
          "x-ms-navigationProperty": true
        },
        "deletedItems": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.directoryObject"
          },
          "description": "Recently deleted items. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "deviceLocalCredentials": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.deviceLocalCredentialInfo"
          },
          "description": "The credentials of the device's local administrator account backed up to Microsoft Entra ID.",
          "x-ms-navigationProperty": true
        },
        "federationConfigurations": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.identityProviderBase"
          },
          "description": "Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.",
          "x-ms-navigationProperty": true
        },
        "onPremisesSynchronization": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.onPremisesDirectorySynchronization"
          },
          "description": "A container for on-premises directory synchronization functionalities that are available for the organization.",
          "x-ms-navigationProperty": true
        },
        "publicKeyInfrastructure": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.publicKeyInfrastructureRoot"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant.",
          "x-ms-navigationProperty": true
        },
        "subscriptions": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.companySubscription"
          },
          "description": "List of commercial subscriptions that an organization acquired.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.directory"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphdirectory"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.