Microsoft Graph · Schema

deviceEnrollmentFailureReason

Top level failure categories for enrollment.

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
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"
      }
    ]
  }
}