> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rootly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Connect Microsoft Teams to Rootly by authorizing OAuth access and installing the Rootly bot for incident channel creation, notifications, and meetings.

Setting up the Microsoft Teams integration involves two steps that work together. First, you authorize Rootly via OAuth so it can call the Microsoft Teams API on your behalf. Then, you install the Rootly bot directly inside Teams so it can create channels and post messages. Both steps are required — OAuth alone isn't enough to create channels or send messages.

## Prerequisites

<Warning>
  **Before you start:**

  * Rootly account with Admin permissions
  * Microsoft Teams account with access to the workspace you want to connect
  * Ability to install apps in your Teams workspace (or admin approval from your Microsoft 365 admin)
</Warning>

<Note>
  We recommend connecting with a **service account** rather than a personal account. This ensures the integration stays active if team members leave your organization.
</Note>

***

## Part 1: Connect via OAuth

The OAuth flow grants Rootly permission to interact with your Microsoft Teams workspace through the API. You'll be redirected to Microsoft to sign in and approve the required permissions, then returned to Rootly automatically.

<Steps>
  <Step title="Open Integrations">
    In Rootly, go to **Configuration → Integrations** and search for **Microsoft Teams**.

    <img alt="Rootly integrations page with Microsoft Teams search" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-1.1.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=33f857a3d811296663e8bc0a9c788a04" width="331" height="509" data-path="images/integrations/microsoft-teams/installation/image-1.1.png" />
  </Step>

  <Step title="Start Setup">
    Click **Setup** on the Microsoft Teams integration to begin the OAuth flow.

    <img alt="Microsoft Teams integration setup button" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-1.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=6e6d761aebdfca35aabfa90241143b68" width="656" height="422" data-path="images/integrations/microsoft-teams/installation/image-1.png" />
  </Step>

  <Step title="Sign in to Microsoft">
    You'll be redirected to Microsoft. Select your Microsoft 365 work account — this should be the service account you intend to use for the integration.

    <img alt="Microsoft account selection screen" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-2.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=2a022bbdb9263adb4db44cd0001aca96" width="441" height="338" data-path="images/integrations/microsoft-teams/installation/image-2.png" />
  </Step>

  <Step title="Review and approve permissions">
    Microsoft will show you the permissions Rootly is requesting. Review them and click **Accept** to grant access.

    <img alt="Microsoft Teams permission approval screen" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-3.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=c84e4812e15b18b0fa7d539b7a237282" width="294" height="628" data-path="images/integrations/microsoft-teams/installation/image-3.png" />

    <img alt="Microsoft Teams consent confirmation" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-4.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=c6f90bf2e846a9ddfafd32c573ad192c" width="399" height="288" data-path="images/integrations/microsoft-teams/installation/image-4.png" />
  </Step>

  <Step title="Confirm connection">
    After approving, you'll be redirected back to Rootly. A success message confirms the integration is connected.

    <img alt="Rootly showing Microsoft Teams connected successfully" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-5.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=429548af7f9fe28adca5d68bb86ff17f" width="938" height="454" data-path="images/integrations/microsoft-teams/installation/image-5.png" />
  </Step>
</Steps>

<Check>Microsoft Teams is now connected to Rootly.</Check>

### Required OAuth Permissions

<Accordion title="View all OAuth scopes">
  | Permission                                  | Purpose                                                     |
  | ------------------------------------------- | ----------------------------------------------------------- |
  | `offline_access`                            | Keeps the Rootly → Teams connection active between sessions |
  | `User.Read`                                 | Identifies the account connecting to Rootly                 |
  | `Team.ReadBasic.All`                        | Lets Rootly see your Teams and channels                     |
  | `ChatMessage.Send`                          | Rootly can post messages in chats and channels              |
  | `Channel.Create`                            | Rootly can create incident channels                         |
  | `Channel.ReadBasic.All`                     | Read channel names and descriptions                         |
  | `ChannelMessage.Send`                       | Rootly can send channel messages                            |
  | `ChannelMessage.ReadWrite`                  | Rootly can update messages it posts                         |
  | `ChannelSettings.ReadWrite.All`             | Allows Rootly to manage channel settings                    |
  | `ChannelMember.ReadWrite.All`               | Rootly can add and remove users in incident channels        |
  | `TeamsTab.ReadWriteSelfForChat`             | Rootly can install tabs in chats                            |
  | `TeamsTab.ReadWriteSelfForTeam`             | Rootly can install tabs in teams                            |
  | `TeamsAppInstallation.ReadWriteSelfForTeam` | Rootly can install itself in teams                          |
  | `TeamsAppInstallation.ReadWriteSelfForChat` | Rootly can install itself in chats                          |
  | `Chat.Create`                               | Rootly can create group and one-on-one chats                |
  | `Chat.ReadWrite`                            | Rootly can read and send messages in chats                  |
</Accordion>

***

## Part 2: Install the Rootly Bot

OAuth gives Rootly API access, but channel creation and messaging also require the Rootly bot to be present inside Microsoft Teams. Without the bot installed, workflows that create channels or send messages will fail. You install it directly from the Teams app store.

<Steps>
  <Step title="Open Apps in Teams">
    In Microsoft Teams, click **Apps** in the left sidebar and search for **Rootly**.

    <img alt="Microsoft Teams Apps store with Rootly search" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-6.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=70be8fa415a433acfdcb5e35a2f49674" width="353" height="567" data-path="images/integrations/microsoft-teams/installation/image-6.png" />
  </Step>

  <Step title="Add Rootly">
    Click **Add** on the Rootly app listing.

    <img alt="Rootly app in Teams store with Add button" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-7.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=908d48a54b6bb24da103765e3915482d" width="802" height="666" data-path="images/integrations/microsoft-teams/installation/image-7.png" />
  </Step>

  <Step title="Choose a team">
    Select the team where you want to install Rootly. We recommend starting with the General channel of your primary incident response team.

    <img alt="Team selection for Rootly bot installation" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-8.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=8bdc3ebf7a99c919619c727fae30d5cb" width="519" height="509" data-path="images/integrations/microsoft-teams/installation/image-8.png" />
  </Step>

  <Step title="Installation complete">
    The Rootly bot is now installed in your team and ready to create channels and send messages.

    <img alt="Rootly bot installation confirmation" src="https://mintcdn.com/rootly/_CGYMlZfaYjpTtE8/images/integrations/microsoft-teams/installation/image-9.png?fit=max&auto=format&n=_CGYMlZfaYjpTtE8&q=85&s=59b4a046c8ef331643e903bbded9aac0" width="600" height="603" data-path="images/integrations/microsoft-teams/installation/image-9.png" />
  </Step>
</Steps>

<Note>
  You'll need to repeat the bot installation for each team where you want Rootly to create incident channels. The service account must be a member of each team.
</Note>

***

## Verify Installation

Once both parts are complete, confirm everything is working before setting up workflows:

1. **Check Rootly** — The integration status shows **Connected** on the integrations page
2. **Check Teams** — The Rootly app appears in your team's installed apps
3. **Test end-to-end** — Create a test incident in Rootly and verify a Teams channel is created automatically

<Tip>
  If channels aren't being created, check your workflow configuration first. The bot must be installed in the specific team referenced in the workflow action.
</Tip>

***

## Microsoft Teams Meeting

The **Microsoft Teams Meeting** integration is a separate OAuth connection that enables creating video meetings directly from Rootly incidents. It uses a different set of permissions than the main Teams integration and must be connected independently — even if you've already set up the main Teams integration.

Once connected, a **Create a Microsoft meeting** button appears in the incident header, letting anyone on the response team spin up a live video call with one click.

### Setup

1. Go to **Configuration → Integrations** and search for **Microsoft Teams Meeting**
2. Click **Setup** and sign in with your Microsoft 365 work account
3. Approve the requested permissions
4. Once connected, the **Create a Microsoft meeting** button will appear on every incident

<Note>
  We recommend connecting with a **service account** so the meeting integration stays active if a user leaves your organization.
</Note>

### Required OAuth Permissions

| Permission                 | Purpose                                                                    |
| -------------------------- | -------------------------------------------------------------------------- |
| `offline_access`           | Required for OAuth authentication                                          |
| `User.Read`                | Identifies the account connecting to Rootly                                |
| `OnlineMeetings.ReadWrite` | Allows Rootly to create online meetings on behalf of the connected account |

### Uninstall

1. Log into your **Microsoft Teams Meeting** account
2. Click **Manage → Installed Apps** or search for the **Rootly** app
3. Click the **Rootly** app and click **Uninstall**

***

## Uninstall

To remove the main Microsoft Teams integration from Rootly:

1. Go to **Configuration → Integrations** and find **Microsoft Teams**
2. Click **Connected** to reveal the disconnect option
3. Click **Disconnect**

<Frame>
  <img src="https://mintcdn.com/rootly/QMD-dNqeYW4BA9dg/images/integrations/common/uninstall-connected.png?fit=max&auto=format&n=QMD-dNqeYW4BA9dg&q=85&s=dbb790e2576c8969bba96bc26c95265f" alt="Click Connected to reveal the Disconnect option" width="319" height="188" data-path="images/integrations/common/uninstall-connected.png" />
</Frame>

<Warning>
  Disconnecting from Rootly does not remove the Rootly bot from Teams. To fully uninstall, open **Microsoft Teams → Apps → Manage your apps**, find **Rootly**, and click **Uninstall**.
</Warning>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Rootly not showing in Microsoft Teams" icon="circle-xmark">
    After completing OAuth, Rootly doesn't appear as a connected app in Teams.

    **Solutions:**

    * Verify you completed OAuth using the same email as your Teams account
    * Make sure Rootly was installed in a specific team, not just your personal app space
    * Try uninstalling and reinstalling the Rootly app from the Teams store
    * Check if your organization restricts third-party app installations — a Microsoft 365 admin may need to approve Rootly
  </Accordion>

  <Accordion title="Cannot add Rootly to a team" icon="circle-xmark">
    Teams shows an error when trying to add Rootly to a team.

    **Solutions:**

    * Ensure you have owner or admin permissions in the team
    * Ask a Team Owner or Microsoft 365 admin to approve the Rootly app
    * Verify that third-party app installations are enabled in your Microsoft 365 admin center
  </Accordion>

  <Accordion title="Email not associated with account" icon="circle-xmark">
    Teams reports that the signed-in email isn't linked to a Rootly account.

    **Solutions:**

    * Verify the OAuth email matches exactly the email registered in Rootly
    * Confirm this email exists as a user in Rootly
    * Add the email under **Rootly → Organization Settings → Members** if needed
    * Disconnect and reconnect the Microsoft Teams integration
  </Accordion>

  <Accordion title="Channels not being created" icon="circle-xmark">
    Workflows run successfully but no Teams channels appear.

    **Solutions:**

    * Verify the Rootly bot is installed in the specific team referenced in the workflow action
    * Check workflow run logs for errors: **Workflows → Your Workflow → ... → View Runs**
    * Confirm the team name in the workflow action exactly matches the team in Teams
  </Accordion>
</AccordionGroup>
