Microsoft Graph · Schema

microsoft.graph.deviceLogCollectionResponse

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
id string The unique identifier for an entity. Read-only.
@odata.type string
enrolledByUser stringnull The User Principal Name (UPN) of the user that enrolled the device.
expirationDateTimeUTC stringnull The DateTime of the expiration of the logs.
initiatedByUserPrincipalName stringnull The UPN for who initiated the request.
managedDeviceId string Indicates Intune device unique identifier.
receivedDateTimeUTC stringnull The DateTime the request was received.
requestedDateTimeUTC stringnull The DateTime of the request.
sizeInKB object The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
status object
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoft-graph-device-log-collection-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-device-log-collection-response-schema.json",
  "title": "microsoft.graph.deviceLogCollectionResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-manageddevice-api-openapi.yml#/components/schemas/microsoft.graph.deviceLogCollectionResponse",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "deviceLogCollectionResponse",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "enrolledByUser": {
          "type": [
            "string",
            "null"
          ],
          "description": "The User Principal Name (UPN) of the user that enrolled the device."
        },
        "expirationDateTimeUTC": {
          "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",
            "null"
          ],
          "description": "The DateTime of the expiration of the logs.",
          "format": "date-time"
        },
        "initiatedByUserPrincipalName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The UPN for who initiated the request."
        },
        "managedDeviceId": {
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "description": "Indicates Intune device unique identifier.",
          "format": "uuid"
        },
        "receivedDateTimeUTC": {
          "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",
            "null"
          ],
          "description": "The DateTime the request was received.",
          "format": "date-time"
        },
        "requestedDateTimeUTC": {
          "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",
            "null"
          ],
          "description": "The DateTime of the request.",
          "format": "date-time"
        },
        "sizeInKB": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "status": {
          "$ref": "#/$defs/microsoft.graph.appLogUploadState"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Windows Log Collection request entity."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.deviceLogCollectionResponse",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft.graph.appLogUploadState": {
      "title": "appLogUploadState",
      "enum": [
        "pending",
        "completed",
        "failed",
        "unknownFutureValue"
      ],
      "type": "string",
      "description": "AppLogUploadStatus",
      "x-ms-enum": {
        "name": "appLogUploadState",
        "modelAsString": false,
        "values": [
          {
            "value": "pending",
            "description": "Default. Indicates that request is waiting to be processed or under processing.",
            "name": "pending"
          },
          {
            "value": "completed",
            "description": "Indicates that request is completed with file uploaded to Azure blob for download.",
            "name": "completed"
          },
          {
            "value": "failed",
            "description": "Indicates that request is completed with file uploaded to Azure blob for download.",
            "name": "failed"
          },
          {
            "value": "unknownFutureValue",
            "description": "Evolvable enumeration sentinel value. Do not use.",
            "name": "unknownFutureValue"
          }
        ]
      }
    },
    "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"
        }
      }
    }
  }
}

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-microsoft-graph-device-log-collection-response"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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