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

# Microsoft Teams

> Provider ID: `MicrosoftTeams`

## Getting Started

### Setup

<Steps>
  <Step title="Create a Microsoft Account">
    [Sign up](https://signup.live.com/unified?wa=wsignin1.0\&lc=1033) for a free Microsoft account.
  </Step>

  <Step title="Register an Application in Azure AD">
    Go to the [Azure Active Directory (AAD)](https://aad.portal.azure.com/) and register a new application.

    1. Go to [App registrations](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps).
    2. Click on **New registration**.
    3. Fill in the required details:
       * Name: Enter a name for your application.
       * Supported account types: Choose the appropriate account type(s).
    4. Click **Register**.
    5. Note down the **Application (client) ID** and **Directory (tenant) ID**.
  </Step>

  <Step title="Create a Client Secret">
    1. In the Azure AD app registration, go to **Certificates & secrets**.
    2. Click on **New client secret**.
    3. Fill in the required details:
       * Description: Enter a description for your client secret, such as `Client secret for Strata integration`
       * Expires: Choose an expiry for the client secret.
    4. Click **Add**.
    5. Note down the secret **Value**.
  </Step>

  <Step title="Register Strata as a Redirect URI">
    1. In the app registration, go to **Authentication**.
    2. If you don't already have a `Web` platform set up, create one by clicking `Add a platform` and select `Web`.
       * If you already have a `Web` platform, click **Add URI**.
    3. Enter `https://connect.connectstrata.com/oauth/callback` for the Redirect URI value.
    4. Save changes by clicking **Configure** if creating a new platform, or scrolling to the bottom of the page and clicking **Save**.
  </Step>

  <Step title="Create a Microsoft Teams integration in Strata">
    Go to the [Strata Integration Catalog](https://app.connectstrata.com/integrations/catalog) and select Microsoft Teams. Input your application's client ID (your Application ID) and tenant ID from Step 1, your client secret from Step 2, and the space-separated scopes your application requires, for example `https://graph.microsoft.com/Calendars.Read offline_access`. Strata requires the `offline_access` scope to refresh its access token, and will automatically add that scope if you don't explicitly add it.
  </Step>
</Steps>
