--- title: "Get-MSTeamsDeviceHealth" slug: "get-msteamsdevicehealth" updated: 2024-08-21T16:15:00Z published: 2024-08-21T16:15:00Z canonical: "support.nectarcorp.com/get-msteamsdevicehealth" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.nectarcorp.com/llms.txt > Use this file to discover all available pages before exploring further. # Get-MSTeamsDeviceHealth Returns health details for a Microsoft Teams-enabled device. ## Syntax ``` Get-MSTeamsDeviceHealth -ID -TenantName -MSClientID -MSClientSecret -MSTenantID -AuthToken ``` ## Examples ### Example 1 ``` Get-MSTeamsDRCalls -MSClientID 41a228ad-db6c-4e4e-4184-6d8a1175a35f -MSClientSecret 43Rk5Xl3K349w-pFf0i_Rt45Qd~ArqkE32. -MSTenantID 17e1e614-8119-48ab-8ba1-6ff1d94a6930 ``` Returns all Teams DR calls for the specified tenant/clientID/secret combination ### Example 2 ``` Get-MSTeamsDRCalls -AuthToken $AuthToken ``` Returns all Teams DR calls using a previously obtained authtoken ## Parameters **-ID ** The GUID of a specific device to query | Parameter | Value | | --- | --- | | Required | true | | Position | 1 | | Required | true | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-TenantName ** The name of the Nectar DXP tenant. Used in multi-tenant configurations. | Parameter | Value | | --- | --- | | Required | false | | Position | 2 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-MSClientID ** The MS client ID for the application granted access to Azure AD. | Parameter | Value | | --- | --- | | Required | false | | Position | 3 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-MSClientSecret ** The MS client secret for the application granted access to Azure AD. | Parameter | Value | | --- | --- | | Required | false | | Position | 4 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-MSTenantID ** The MS tenant ID for the O365 customer granted access to Azure AD. | Parameter | Value | | --- | --- | | Required | false | | Position | 5 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-AuthToken ** The authorization token used for this request. Normally obtained via Get-MSGraphAccessToken | Parameter | Value | | --- | --- | | Required | false | | Position | 6 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false |