To use Microsoft's APIs to monitor your MTR (Microsoft Teams Rooms), you need to:
Start by creating the Azure AD application and the external service by following this guide:
Ms Graph External Service
Then, add the devices by configuring their MTR drivers:
You can use one of the following methods:
Use PowerShell or another language to call the endpoint (in beta):
`https://graph.microsoft.com/beta/teamwork/devices`
Example in PowerShell:
$token = "YOUR_ACCESS_TOKEN"
$headers = @{ Authorization = "Bearer $token" }
$devices = Invoke-RestMethod -Method Get -Uri "https://graph.microsoft.com/beta/teamwork/devices" -Headers $headers
$devices | ConvertTo-Json
Using these methods, you can easily retrieve your Microsoft Teams ID.
The probe must be able to establish outbound connections (https, 443) to 'https://graph.microsoft.com'.