Microsoft Graph · Schema

deviceEnrollmentFailureReason

Top level failure categories for enrollment.

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdeviceenrollmentfailurereason-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.deviceEnrollmentFailureReason",
  "title": "deviceEnrollmentFailureReason",
  "enum": [
    "unknown",
    "authentication",
    "authorization",
    "accountValidation",
    "userValidation",
    "deviceNotSupported",
    "inMaintenance",
    "badRequest",
    "featureNotSupported",
    "enrollmentRestrictionsEnforced",
    "clientDisconnected",
    "userAbandonment"
  ],
  "type": "string",
  "description": "Top level failure categories for enrollment.",
  "x-ms-enum": {
    "name": "deviceEnrollmentFailureReason",
    "modelAsString": false,
    "values": [
      {
        "value": "unknown",
        "description": "Default value, failure reason is unknown.",
        "name": "unknown"
      },
      {
        "value": "authentication",
        "description": "Authentication failed",
        "name": "authentication"
      },
      {
        "value": "authorization",
        "description": "Call was authenticated, but not authorized to enroll.",
        "name": "authorization"
      },
      {
        "value": "accountValidation",
        "description": "Failed to validate the account for enrollment. (Account blocked, enrollment not enabled)",
        "name": "accountValidation"
      },
      {
        "value": "userValidation",
        "description": "User could not be validated. (User does not exist, missing license)",
        "name": "userValidation"
      },
      {
        "value": "deviceNotSupported",
        "description": "Device is not supported for mobile device management.",
        "name": "deviceNotSupported"
      },
      {
        "value": "inMaintenance",
        "description": "Account is in maintenance.",
        "name": "inMaintenance"
      },
      {
        "value": "badRequest",
        "description": "Client sent a request that is not understood/supported by the service.",
        "name": "badRequest"
      },
      {
        "value": "featureNotSupported",
        "description": "Feature(s) used by this enrollment are not supported for this account.",
        "name": "featureNotSupported"
      },
      {
        "value": "enrollmentRestrictionsEnforced",
        "description": "Enrollment restrictions configured by admin blocked this enrollment.",
        "name": "enrollmentRestrictionsEnforced"
      },
      {
        "value": "clientDisconnected",
        "description": "Client timed out or enrollment was aborted by enduser.",
        "name": "clientDisconnected"
      },
      {
        "value": "userAbandonment",
        "description": "Enrollment was abandoned by enduser. (Enduser started onboarding but failed to complete it in timely manner)",
        "name": "userAbandonment"
      }
    ]
  }
}

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-microsoftgraphdeviceenrollmentfailurereason"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.