{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-user-experience-analytics-work-from-anywhere-metric-schema.json",
  "title": "microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-userexperienceanalyticsworkfromanywheremetric-api-openapi.yml#/components/schemas/microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "userExperienceAnalyticsWorkFromAnywhereMetric",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "metricDevices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.userExperienceAnalyticsWorkFromAnywhereDevice"
          },
          "description": "The work from anywhere metric devices. Read-only.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "The user experience analytics metric for work from anywhere report."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "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"
        }
      }
    },
    "microsoft.graph.operatingSystemUpgradeEligibility": {
      "title": "operatingSystemUpgradeEligibility",
      "enum": [
        "upgraded",
        "unknown",
        "notCapable",
        "capable",
        "unknownFutureValue"
      ],
      "type": "string",
      "description": "Work From Anywhere windows device upgrade eligibility status.",
      "x-ms-enum": {
        "name": "operatingSystemUpgradeEligibility",
        "modelAsString": false,
        "values": [
          {
            "value": "upgraded",
            "description": "The device is upgraded to latest version of windows.",
            "name": "upgraded"
          },
          {
            "value": "unknown",
            "description": "Not enough data available to compute the eligibility of device for windows upgrade.",
            "name": "unknown"
          },
          {
            "value": "notCapable",
            "description": "The device is not capable for windows upgrade.",
            "name": "notCapable"
          },
          {
            "value": "capable",
            "description": "The device is capable for windows upgrade.",
            "name": "capable"
          },
          {
            "value": "unknownFutureValue",
            "description": "Evolvable enumeration sentinel value. Do not use.",
            "name": "unknownFutureValue"
          }
        ]
      }
    },
    "microsoft.graph.userExperienceAnalyticsHealthState": {
      "title": "userExperienceAnalyticsHealthState",
      "enum": [
        "unknown",
        "insufficientData",
        "needsAttention",
        "meetingGoals",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "userExperienceAnalyticsHealthState",
        "modelAsString": false,
        "values": [
          {
            "value": "unknown",
            "description": "Indicates that the health state is unknown.",
            "name": "unknown"
          },
          {
            "value": "insufficientData",
            "description": "Indicates that the health state is insufficient data.",
            "name": "insufficientData"
          },
          {
            "value": "needsAttention",
            "description": "Indicates that the health state needs attention.",
            "name": "needsAttention"
          },
          {
            "value": "meetingGoals",
            "description": "Indicates that the health state is meeting goals.",
            "name": "meetingGoals"
          },
          {
            "value": "unknownFutureValue",
            "description": "Evolvable enumeration sentinel value. Do not use.",
            "name": "unknownFutureValue"
          }
        ]
      }
    },
    "microsoft.graph.userExperienceAnalyticsWorkFromAnywhereDevice": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "userExperienceAnalyticsWorkFromAnywhereDevice",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "autoPilotProfileAssigned": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates the intune device's autopilot profile is assigned. When FALSE, indicates it's not Assigned. Supports: $select, $OrderBy. Read-only."
            },
            "autoPilotRegistered": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates the intune device's autopilot is registered. When FALSE, indicates it's not registered. Supports: $select, $OrderBy. Read-only."
            },
            "azureAdDeviceId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The Azure Active Directory (Azure AD) device Id. Supports: $select, $OrderBy. Read-only."
            },
            "azureAdJoinType": {
              "type": [
                "string",
                "null"
              ],
              "description": "The work from anywhere device's Azure Active Directory (Azure AD) join type. Supports: $select, $OrderBy. Read-only."
            },
            "azureAdRegistered": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates the device's Azure Active Directory (Azure AD) is registered. When False, indicates it's not registered. Supports: $select, $OrderBy. Read-only."
            },
            "cloudIdentityScore": {
              "oneOf": [
                {
                  "type": [
                    "number",
                    "null"
                  ],
                  "format": "double"
                },
                {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                {
                  "$ref": "#/$defs/ReferenceNumeric"
                }
              ],
              "description": "Indicates per device cloud identity score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
            },
            "cloudManagementScore": {
              "oneOf": [
                {
                  "type": [
                    "number",
                    "null"
                  ],
                  "format": "double"
                },
                {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                {
                  "$ref": "#/$defs/ReferenceNumeric"
                }
              ],
              "description": "Indicates per device cloud management score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
            },
            "cloudProvisioningScore": {
              "oneOf": [
                {
                  "type": [
                    "number",
                    "null"
                  ],
                  "format": "double"
                },
                {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                {
                  "$ref": "#/$defs/ReferenceNumeric"
                }
              ],
              "description": "Indicates per device cloud provisioning score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
            },
            "compliancePolicySetToIntune": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates the device's compliance policy is set to intune. When FALSE, indicates it's not set to intune. Supports: $select, $OrderBy. Read-only."
            },
            "deviceId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The Intune device id of the device. Supports: $select, $OrderBy. Read-only."
            },
            "deviceName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The name of the device. Supports: $select, $OrderBy. Read-only."
            },
            "healthStatus": {
              "$ref": "#/$defs/microsoft.graph.userExperienceAnalyticsHealthState"
            },
            "isCloudManagedGatewayEnabled": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates the device's Cloud Management Gateway for Configuration Manager is enabled. When FALSE, indicates it's not enabled. Supports: $select, $OrderBy. Read-only."
            },
            "managedBy": {
              "type": [
                "string",
                "null"
              ],
              "description": "The management agent of the device. Supports: $select, $OrderBy. Read-only."
            },
            "manufacturer": {
              "type": [
                "string",
                "null"
              ],
              "description": "The manufacturer name of the device. Supports: $select, $OrderBy. Read-only."
            },
            "model": {
              "type": [
                "string",
                "null"
              ],
              "description": "The model name of the device. Supports: $select, $OrderBy. Read-only."
            },
            "osCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates OS check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "osDescription": {
              "type": [
                "string",
                "null"
              ],
              "description": "The OS description of the device. Supports: $select, $OrderBy. Read-only."
            },
            "osVersion": {
              "type": [
                "string",
                "null"
              ],
              "description": "The OS version of the device. Supports: $select, $OrderBy. Read-only."
            },
            "otherWorkloadsSetToIntune": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates the device's other workloads is set to intune. When FALSE, indicates it's not set to intune. Supports: $select, $OrderBy. Read-only."
            },
            "ownership": {
              "type": [
                "string",
                "null"
              ],
              "description": "Ownership of the device. Supports: $select, $OrderBy. Read-only."
            },
            "processor64BitCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates processor hardware 64-bit architecture check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "processorCoreCountCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates processor hardware core count check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "processorFamilyCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates processor hardware family check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "processorSpeedCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates processor hardware speed check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "ramCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates RAM hardware check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "secureBootCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates secure boot hardware check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "serialNumber": {
              "type": [
                "string",
                "null"
              ],
              "description": "The serial number of the device. Supports: $select, $OrderBy. Read-only."
            },
            "storageCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates storage hardware check failed for device to upgrade to the latest version of windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "tenantAttached": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates the device is Tenant Attached. When FALSE, indicates it's not Tenant Attached. Supports: $select, $OrderBy. Read-only."
            },
            "tpmCheckFailed": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "When TRUE, indicates Trusted Platform Module (TPM) hardware check failed for device to the latest version of upgrade to windows. When FALSE, indicates the check succeeded. Supports: $select, $OrderBy. Read-only."
            },
            "upgradeEligibility": {
              "$ref": "#/$defs/microsoft.graph.operatingSystemUpgradeEligibility"
            },
            "windowsScore": {
              "oneOf": [
                {
                  "type": [
                    "number",
                    "null"
                  ],
                  "format": "double"
                },
                {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                {
                  "$ref": "#/$defs/ReferenceNumeric"
                }
              ],
              "description": "Indicates per device windows score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
            },
            "workFromAnywhereScore": {
              "oneOf": [
                {
                  "type": [
                    "number",
                    "null"
                  ],
                  "format": "double"
                },
                {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                {
                  "$ref": "#/$defs/ReferenceNumeric"
                }
              ],
              "description": "Indicates work from anywhere per device overall score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
            },
            "@odata.type": {
              "type": "string"
            }
          },
          "description": "The user experience analytics device for work from anywhere report."
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.userExperienceAnalyticsWorkFromAnywhereDevice"
    }
  }
}