Microsoft Teams Integration

2 min

This Domotz KB page explains how to configure your Azure account so that Domotz can integrate with Microsoft Teams and retrieve information about rooms, devices (e.g., screens where Teams is configured) etc. allowing these details to be available within Domotz as well.

Table of Contents


In Azure


Open the Azure Portal and navigate to “App registrations”, click on “New registration”:

Name your application and click “Register”

Once created you’ll land on the “Overview” section of the new application, note down the ‘Application (client) Id’ and the “Directory (tenant) ID” which you’ll need later. 

Save them on a notepad as your “ClientID” and “TenantID”. This value will be asked during the Domotz custom driver setup. 

On the left menu navigate to  “Manage -> Certificates and secrets”, on the central pane click on “New client secret”A screenshot of a computer

AI-generated content may be incorrect., Picture 

Enter a description for the new secret, set the expiration days and click on “Add”

Once the new secret is created, make sure to record it immediately – this is the only time it will be visible. It won’t be shown again.  

Save it on a notepad as your “ClientSecret”. This value will be asked during the Domotz custom driver setup. 

Navigate to “Manage -> API permissions” and click on “Add permissions”.

In the new pane click on “Microsoft Graph” 

In the next pane select “Application permissions” 

Search and add the following permissions: 

  • Calendars.Read 
  • Calendars.ReadBasic.All 
  • CallRecords.Read.All 
  • DeviceManagementManagedDevices.Read.All 
  • Directory.Read.All 
  • OnlineMeetingArtifact.Read.All 
  • OnlineMeetingRecording.Read.All 
  • OnlineMeetings.Read.All 
  • Place.Read.All 
  • Presence.Read.All 
  • Reports.Read.All 
  • TeamworkDevice.Read.All 
  • User.Read.All 

Once done click on “Grant admin consent for [name of your tenant]A screenshot of a computer

AI-generated content may be incorrect., Picture 

You should now have green checkmarks for each assigned permission 

Now that the Azure-side configuration has been completed, you can proceed with the Domotz-side setup. 

In Domotz

From the Domotz webapp, go to “Integration” and then to “Automation & Scripts”. 

Click on the “View all XYZ Pre-Configured Scripts” button on the right hand side of the page as shown in the picture below. 

Search for Microsoft Teams custom script: 

And select the script you want to use. 

Click the “Use the Script” button in the bottom of the modal: 

Select the device you want to attach the script to and press the button +: 

The following modal appears: 

Copy and paste the values saved before during the Azure configuration process and click Apply. 

If the Azure app where correctly configured then the appropriate table should appear on the device: 

Share via Social Networks

You might also like…

Read more top posts in this category

Want more tips on Network Monitoring?

Ready to Get Started?

  • Uncover Network Blind Spots
  • Resolve Issues Faster and Easier
  • Exceed Service Delivery Expectations