| title | Get teamworkDeviceHealth |
|---|---|
| description | Get the health details of a Microsoft Teams-enabled device. |
| author | adsrivastava2 |
| ms.localizationpriority | medium |
| ms.subservice | teams |
| doc_type | apiPageType |
| ms.date | 04/04/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-deprecation-disclaimer]
[!INCLUDE beta-disclaimer]
Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters.
[!INCLUDE teamworkdevice-api-disclaimer]
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
GET /teamwork/devices/{teamworkDeviceId}/healthThis operation supports the $select and $expand OData query parameters to customize the response.
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a teamworkDeviceHealth object in the response body.
The following example shows a request.
GET https://graph.microsoft.com/beta/teamwork/devices/d8214fe3-4fe3-d821-e34f-21d8e34f21d8/health
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": {
"@odata.type": "#microsoft.graph.teamworkDeviceHealth",
"id": "d8214fe3-4fe3-d821-e34f-21d8e34f21d8",
"connection": {
"connectionStatus": "disconnected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
},
"loginStatus": {
"exchangeConnection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
},
"teamsConnection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
},
"skypeConnection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
},
"peripheralsHealth": {
"roomCameraHealth": {
"isOptional": false,
"connection": {
"connectionStatus": "disconnected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
},
"contentCameraHealth": {
"isOptional": true,
"connection": {
"connectionStatus": "unknown",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
},
"speakerHealth": {
"isOptional": false,
"connection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
},
"communicationSpeakerHealth": {
"isOptional": false,
"connection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
},
"displayHealthCollection": [
{
"isOptional": false,
"connection": {
"connectionStatus": "disconnected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
},
{
"isOptional": true,
"connection": {
"connectionStatus": "disconnected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
}
],
"microphoneHealth": {
"isOptional": false,
"connection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
}
},
"softwareUpdateHealth": {
"companyPortalSoftwareUpdateStatus": null,
"firmwareSoftwareUpdateStatus": null,
"partnerAgentSoftwareUpdateStatus": null,
"adminAgentSoftwareUpdateStatus": {
"softwareFreshness": "latest",
"currentVersion": "2021.4.4.8",
"availableVersion": null
},
"teamsClientSoftwareUpdateStatus": null,
"operatingSystemSoftwareUpdateStatus": null
},
"hardwareHealth": {
"computeHealth": {
"isOptional": false,
"connection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
},
"hdmiIngestHealth": {
"isOptional": false,
"connection": {
"connectionStatus": "connected",
"lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
}
}
},
"createdDateTime": "2021-03-19T19:00:04.000Z",
"lastModifiedDateTime": "2021-06-19T19:01:04.185Z",
"createdBy": null,
"lastModifiedBy": null
}
}