Microsoft Graph · Schema

microsoft.graph.deviceCompliancePolicy

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
createdDateTime string DateTime the object was created.
description string Admin provided description of the Device Configuration.
displayName string Admin provided name of the device configuration.
lastModifiedDateTime string DateTime the object was last modified.
version number Version of the device configuration.
assignments array The collection of assignments for this compliance policy.
deviceSettingStateSummaries array Compliance Setting State Device Summary
deviceStatuses array List of DeviceComplianceDeviceStatus.
deviceStatusOverview object Device compliance devices status overview
scheduledActionsForRule array The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
userStatuses array List of DeviceComplianceUserStatus.
userStatusOverview object Device compliance users status overview
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdevicecompliancepolicy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.deviceCompliancePolicy",
  "title": "microsoft.graph.deviceCompliancePolicy",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "deviceCompliancePolicy",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "createdDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "DateTime the object was created.",
          "format": "date-time"
        },
        "description": {
          "type": "string",
          "description": "Admin provided description of the Device Configuration.",
          "nullable": true
        },
        "displayName": {
          "type": "string",
          "description": "Admin provided name of the device configuration."
        },
        "lastModifiedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "DateTime the object was last modified.",
          "format": "date-time"
        },
        "version": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Version of the device configuration.",
          "format": "int32"
        },
        "assignments": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.deviceCompliancePolicyAssignment"
          },
          "description": "The collection of assignments for this compliance policy.",
          "x-ms-navigationProperty": true
        },
        "deviceSettingStateSummaries": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.settingStateDeviceSummary"
          },
          "description": "Compliance Setting State Device Summary",
          "x-ms-navigationProperty": true
        },
        "deviceStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.deviceComplianceDeviceStatus"
          },
          "description": "List of DeviceComplianceDeviceStatus.",
          "x-ms-navigationProperty": true
        },
        "deviceStatusOverview": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.deviceComplianceDeviceOverview"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Device compliance devices status overview",
          "x-ms-navigationProperty": true
        },
        "scheduledActionsForRule": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.deviceComplianceScheduledActionForRule"
          },
          "description": "The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.",
          "x-ms-navigationProperty": true
        },
        "userStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.deviceComplianceUserStatus"
          },
          "description": "List of DeviceComplianceUserStatus.",
          "x-ms-navigationProperty": true
        },
        "userStatusOverview": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.deviceComplianceUserOverview"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Device compliance users status overview",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "This is the base class for Compliance policy. Compliance policies are platform specific and individual per-platform compliance policies inherit from here. ",
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.androidCompliancePolicy": "#/components/schemas/microsoft.graph.androidCompliancePolicy",
          "#microsoft.graph.androidWorkProfileCompliancePolicy": "#/components/schemas/microsoft.graph.androidWorkProfileCompliancePolicy",
          "#microsoft.graph.iosCompliancePolicy": "#/components/schemas/microsoft.graph.iosCompliancePolicy",
          "#microsoft.graph.macOSCompliancePolicy": "#/components/schemas/microsoft.graph.macOSCompliancePolicy",
          "#microsoft.graph.windows10CompliancePolicy": "#/components/schemas/microsoft.graph.windows10CompliancePolicy",
          "#microsoft.graph.windows10MobileCompliancePolicy": "#/components/schemas/microsoft.graph.windows10MobileCompliancePolicy",
          "#microsoft.graph.windows81CompliancePolicy": "#/components/schemas/microsoft.graph.windows81CompliancePolicy",
          "#microsoft.graph.windowsPhone81CompliancePolicy": "#/components/schemas/microsoft.graph.windowsPhone81CompliancePolicy"
        }
      }
    }
  ]
}

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-microsoftgraphdevicecompliancepolicy"
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.