Skip to content

Communication

Connect Microsoft Teams to Crewhir

Work in your Teams chats and channels. This guide covers how to connect Microsoft Teams, the permissions Crewhir asks for, what it can read and modify, how to test it, and how to disconnect it.

Connects with
OAuth 2.0 (sign in to Microsoft Teams)
Reads
11 actions, always on
Changes
7 actions, off by default, each one approved

How to connect Microsoft Teams

Anyone with a Crewhir account can connect Microsoft Teams. It takes about a minute, and you can connect more than one Microsoft Teams account.

  1. Sign in to Crewhir at app.crewhir.com and open Integrations in the sidebar.
  2. Find Microsoft Teams and open it, then click Connect Microsoft Teams (or Add account if one is already connected).
  3. Optionally give the account a nickname, then click Continue to Microsoft Teams.
  4. Microsoft Teams opens and asks you to sign in and choose the workspace or account to connect. Review the permissions it lists (they are explained below) and click Allow.
  5. You come back to Crewhir and the account shows Connected.
The Connect Microsoft Teams dialog in the Crewhir app (illustration)

Permissions Crewhir requests

Crewhir requests 13 OAuth permissions from Microsoft Teams. Microsoft Teams shows them on its consent screen before you allow access.

Permission
Sign you in
See your basic profile
Stay connected without signing in again
Read your profile
See your teams
See channel names
Read channel messages
Send channel messages
Read and send chat messages
Read your email
Send email as you
Read and save your files
Read and edit your calendar

A permission lets Crewhir ask; it doesn’t mean Crewhir acts on its own. Changes stay off until you turn them on, and each one waits for your approval.

What Crewhir can read and modify in Microsoft Teams

This is the complete list. Crewhir can’t call anything in Microsoft Teams that isn’t here. Reading happens only when someone asks Crewhir for something that needs it.

Read

Always on. Runs when you ask.

  • Check which account is connected
  • List teams
  • List channels
  • List chats
  • List chat messages
  • Read chat message
  • List channel messages
  • List channel replies
  • List drive files
  • List mail messages
  • List calendar events

Modify

Off until you turn it on. Approved one at a time.

  • Upload a file
  • Send mail
  • Create event
  • Update event
  • Send chat message
  • Send channel message
  • Reply channel message

To let Crewhir make a change, open Microsoft Teams in Integrations and turn it on under What Crewhir can change. Even then, Crewhir stops and asks before each change, and drops it if nobody answers within 15 minutes. Everything it changes is listed under Recent changes.

Microsoft Teams in Crewhir: a connected account and the changes it may make (illustration)

Test the integration

1. Check the connection

On the Microsoft Teams page in Crewhir, click Check next to the account. Crewhir calls Microsoft Teams with the stored credentials and confirms which account answered. You’ll see “account is working”.

Check confirms the connection works (illustration)

2. Run a read action

Start a new chat. In the message box, open the tools menu and make sure Microsoft Teams is ticked, then send:

Using Microsoft Teams, list teams.
Choose Microsoft Teams in the tools menu (illustration)
Crewhir reads from Microsoft Teams and answers (illustration)

3. Test a change (with approval)

Turn on Upload a file for the account, then ask Crewhir to do it. Crewhir stops and shows what it’s about to send to Microsoft Teams. Click Approve to run it, or Decline to drop it. Nothing changes in Microsoft Teams until you approve.

Crewhir waits for a yes before it changes anything in Microsoft Teams (illustration)

How to disconnect Microsoft Teams

  1. In Crewhir, open Integrations, then Microsoft Teams.
  2. Click ⋯ next to the account and choose Disconnect. (With several accounts, the menu at the top also offers Disconnect all accounts.)
  3. Confirm with Disconnect.
The account menu (illustration)
Confirm to disconnect (illustration)

Crewhir deletes the connection and its stored access and refresh tokens straight away. From then on it can’t read or change anything in Microsoft Teams.

To revoke the grant on Microsoft Teams’s side as well, remove Crewhir from the connected apps in your Microsoft Teams settings.

Data and security

  • Credentials are encrypted at rest and never shown back to anyone, including your workspace admins.
  • Crewhir only calls the 18 actions listed above, and only when someone in your workspace asks for something that needs Microsoft Teams.
  • Changes are off by default, need your approval each time, and are logged under Recent changes.
  • Disconnecting deletes the stored credentials immediately.

Read more on our security page and in the privacy policy. Questions about this integration: [email protected].