Get teamworkDeviceHealth
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters.
Note: Microsoft is temporarily offering usage of the APIs for managing Microsoft Teams-enabled devices at no charge. Microsoft expects to charge for the use of some or all of these APIs in the future. Microsoft will provide advanced notice of pricing changes. For details about the current licensing model, see Licensing and payment requirements.
This API is supported in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ✅ | ✅ | ✅ |
Permissions
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) | TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All |
HTTP request
GET /teamwork/devices/{teamworkDeviceId}/health
Optional query parameters
This operation supports the $select
and $expand
OData query parameters to customize the response.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. |
Request body
Do not supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and a teamworkDeviceHealth object in the response body.
Examples
Request
The following is an example of a request.
GET https://graph.microsoft.com/beta/teamwork/devices/d8214fe3-4fe3-d821-e34f-21d8e34f21d8/health
Response
The following is an example of 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
}
}
Feedback
Submit and view feedback for