Control Microsoft Teams with a Stream Deck
Tags: teams, streamdeck, tutorial, productivity
Published: 2023-02-03 21:54:18

---
title: Control Microsoft Teams with a Stream Deck
published: true
date: 2023-02-02 00:00:00 UTC
tags: Teams,StreamDeck,tutorial,productivity
canonical_url: https://jimbobbennett.dev/blogs/teams-streamdeck/
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/88lwe72q60xcerscmxp4.png
---

> Already have a Stream Deck and just want to get it working with Teams? [Jump to the instructions to set this up](#set-up-your-stream-deck-for-teams)

Like a lot of folks, I spend time in Microsoft Teams. It’s where I chat to my team and others at Microsoft, and it’s where I take most of my meetings.

Although Teams has a lot of good features, the UI can sometimes be a pain to use in meetings - especially as a Microsoft employee where we get to try the dogfood versions and things move all the time. There have been loads of occasions where I have tried to give a reaction and put up my hand by mistake, or tried to mute and left the call. WHat I really need is a tool to allow me to control teams without using the UI.

Makers have worked on hacks for this. For example, the key combination `ctrl+shift+m` toggles muting on teams. Add a big red button that simulates this key press and you have a quick way to mute or unmute. Here’s one example of this from [Jen Fox on Hackster](https://www.hackster.io/jenfoxbot/microsoft-teams-mute-button-7e9186).

![A white box with a big red button on top with a hand about to press the button. On the front of the bix is a circuit playground express with crocodile clips connecting it to the white box. In the background is a laptop showing a Microsoft teams meeting](https://hackster.imgix.net/uploads/attachments/1234030/_5g18grpTco.blob?auto=compress%2Cformat&w=900&h=675&fit=min)

For those with a less maker mindset, there’s now a new way to do this - using a Stream deck!

![A stream deck with Teams buttons](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/88lwe72q60xcerscmxp4.png)

If you’ve not come across a Stream Deck before, its a neat little gadget that comes in different sizes and has an array of LCD buttons. You can set these buttons up to do things like control apps, or make REST requests, and as each button is an LCD screen you can fully customize what is displayed. For example, you can use one of these to control apps like OBS to switch scenes, or start streaming to Twitch.

There’s a whole Stream Deck store with plugins to extend the capabilities by controlling other apps or hardware (such as Phillips Hue lights). A Teams plugin has just been released!

## Set up your Stream Deck for Teams

To set up the Stream Deck, you need an API key for Teams to allow external apps to control it - makes sense really as Teams gives access to confidential work stuff, so you don’t want any app to be able to get access. Then you install the plug in, and set it up.

### Get an API key

To get an API key:

1. Select the ellipses from the top-right corner of Teams, then select **Settings**

  ![The settings menu in Teams under the ellipses](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sbwir705xnqsj05pof6x.png)

2. Select the _Privacy_ tab, then scroll down to the _Third-party app API section_ and select **Manage API**

  ![The privacy tab](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xeaddmkzp9r31kx5mqel.png)

3. From the API settings, copy the API token. Use the **Generate** button to generate a new API key if needed. And yes, the UI is terrible and the key wraps out of the text box… 🤷

  ![The Teams API key dialog](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4edmkt0ell4n59dj8iba.png)

Now you have your key, you can set up your Stream Deck!

### Set up the Stream Deck

Teams is managed from a plugin from the Stream Deck store.

1. Open the Stream Deck store from the menu/taskbar icon

  ![The store menu item](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8csygywp4u02ptfrs7zu.png)

2. Search for Teams in the store, and install the Microsoft Teams plugin with the **install** button

  ![The Teams item in the store](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dn6xwtrnktvd4jip19fd.png)

3. Once installed, configure your Stream Deck using the Teams options. I did mine by creating a new profile that is activated when Teams is active.

  ![Stream deck configuration showing a profile called Teams that is set to activate when Microsoft Teams is active](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9cojp1hnqagtvkpsf3vv.png)

4. Once your profile is ready, select it then add buttons by dragging them from the Microsoft Teams group in the menu. After adding each button, you will need to set the _API token_ field to the API key you copied from Teams.

  ![Stream deck configuration showing a profile called Teams that is set to activate when Microsoft Teams is active](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ik14m2vixeylgxeurzg.png)

Done! You can now control Teams using your Stream Deck.

<hr>

Be sure to follow me for more cool posts!

{% embed https://dev.to/jimbobbennett %}