Update userExperienceAnalyticsAppHealthOSVersionPerformance

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

Update the properties of a userExperienceAnalyticsAppHealthOSVersionPerformance object.

Prerequisites

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) DeviceManagementManagedDevices.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application DeviceManagementManagedDevices.ReadWrite.All

HTTP Request

PATCH /deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/{userExperienceAnalyticsAppHealthOSVersionPerformanceId}

Request headers

Header Value
Authorization Bearer <token> Required.
Accept application/json

Request body

In the request body, supply a JSON representation for the userExperienceAnalyticsAppHealthOSVersionPerformance object.

The following table shows the properties that are required when you create the userExperienceAnalyticsAppHealthOSVersionPerformance.

Property Type Description
id String The unique identifier of the user experience analytics OS version performance object.
osVersion String The OS version installed on the device.
osBuildNumber String The OS build number installed on the device.
activeDeviceCount Int32 The number of active devices for the OS version. Valid values -2147483648 to 2147483647
meanTimeToFailureInMinutes Int32 The mean time to failure for the OS version in minutes. Valid values -2147483648 to 2147483647
osVersionAppHealthScore Double The app health score of the OS version. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
osVersionAppHealthStatus String The overall app health status of the OS version.

Response

If successful, this method returns a 200 OK response code and an updated userExperienceAnalyticsAppHealthOSVersionPerformance object in the response body.

Example

Request

Here is an example of the request.

PATCH https://graph.microsoft.com/beta/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/{userExperienceAnalyticsAppHealthOSVersionPerformanceId}
Content-type: application/json
Content-length: 357

{
  "@odata.type": "#microsoft.graph.userExperienceAnalyticsAppHealthOSVersionPerformance",
  "osVersion": "Os Version value",
  "osBuildNumber": "Os Build Number value",
  "activeDeviceCount": 1,
  "meanTimeToFailureInMinutes": 10,
  "osVersionAppHealthScore": 7.666666666666667,
  "osVersionAppHealthStatus": "Os Version App Health Status value"
}

Response

Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 406

{
  "@odata.type": "#microsoft.graph.userExperienceAnalyticsAppHealthOSVersionPerformance",
  "id": "7c28e16b-e16b-7c28-6be1-287c6be1287c",
  "osVersion": "Os Version value",
  "osBuildNumber": "Os Build Number value",
  "activeDeviceCount": 1,
  "meanTimeToFailureInMinutes": 10,
  "osVersionAppHealthScore": 7.666666666666667,
  "osVersionAppHealthStatus": "Os Version App Health Status value"
}