{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-managed-device-overview-schema.json",
  "title": "microsoft.graph.managedDeviceOverview",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-manageddeviceoverview-api-openapi.yml#/components/schemas/microsoft.graph.managedDeviceOverview",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "managedDeviceOverview",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "deviceExchangeAccessStateSummary": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.deviceExchangeAccessStateSummary"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Distribution of Exchange Access State in Intune"
        },
        "deviceOperatingSystemSummary": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.deviceOperatingSystemSummary"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Device operating system summary."
        },
        "dualEnrolledDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The number of devices enrolled in both MDM and EAS",
          "format": "int32"
        },
        "enrolledDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Total enrolled device count. Does not include PC devices managed via Intune PC Agent",
          "format": "int32"
        },
        "mdmEnrolledCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The number of devices enrolled in MDM",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Summary data for managed devices"
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.managedDeviceOverview",
  "$defs": {
    "microsoft.graph.deviceExchangeAccessStateSummary": {
      "title": "deviceExchangeAccessStateSummary",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "allowedDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Total count of devices with Exchange Access State: Allowed.",
          "format": "int32"
        },
        "blockedDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Total count of devices with Exchange Access State: Blocked.",
          "format": "int32"
        },
        "quarantinedDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Total count of devices with Exchange Access State: Quarantined.",
          "format": "int32"
        },
        "unavailableDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Total count of devices for which no Exchange Access State could be found.",
          "format": "int32"
        },
        "unknownDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Total count of devices with Exchange Access State: Unknown.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Device Exchange Access State summary"
    },
    "microsoft.graph.deviceOperatingSystemSummary": {
      "title": "deviceOperatingSystemSummary",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "androidCorporateWorkProfileCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647",
          "format": "int32"
        },
        "androidCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of android device count.",
          "format": "int32"
        },
        "androidDedicatedCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of dedicated Android devices.",
          "format": "int32"
        },
        "androidDeviceAdminCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of device admin Android devices.",
          "format": "int32"
        },
        "androidFullyManagedCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of fully managed Android devices.",
          "format": "int32"
        },
        "androidWorkProfileCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of work profile Android devices.",
          "format": "int32"
        },
        "configMgrDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of ConfigMgr managed devices.",
          "format": "int32"
        },
        "iosCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of iOS device count.",
          "format": "int32"
        },
        "macOSCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of Mac OS X device count.",
          "format": "int32"
        },
        "unknownCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of unknown device count.",
          "format": "int32"
        },
        "windowsCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of Windows device count.",
          "format": "int32"
        },
        "windowsMobileCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of Windows mobile device count.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Device operating system summary."
    },
    "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"
        }
      }
    }
  }
}