# Outlook Calendar

> Source: https://truto.one/docs/integration-guides/outlookcalendar/

Outlook Calendar connects through Microsoft Graph when a user signs in with their Microsoft work or school account (OAuth 2.0), through Truto's Microsoft app or your own.

## Install the Outlook Calendar integration

Install Outlook Calendar from [Available integrations](https://app.truto.one/integrations/available/7d830117-fd1f-4b94-9b63-e502651fc0d0) in each environment you connect accounts from.

## Use your own Outlook Calendar OAuth app (optional)

Truto ships an Outlook Calendar OAuth app, so OAuth 2.0 works without any setup. To show your own app on the consent screen instead, register an app in Microsoft Entra ID that allows accounts in any organizational directory, register the redirect URL below, and set the app's Client ID and Client Secret on the installed integration. See [Overriding OAuth credentials](/docs/guides/integrations/overriding-oauth-credentials).

```text
https://api.truto.one/connect/outlookcalendar/callback
```

If you [use a redirect URL on your own domain](/docs/guides/integrations/overriding-oauth-credentials#use-a-redirect-url-on-your-own-domain), register that URL instead.

By default, Truto asks Outlook Calendar for these scopes. The Connect UI lists them under **Permissions required**, and you can change them when you override the OAuth credentials.

- `email`
- `offline_access`
- `openid`
- `profile`
- `https://graph.microsoft.com/Calendars.ReadWrite`
- `https://graph.microsoft.com/Calendars.ReadWrite.Shared`
- `https://graph.microsoft.com/User.Read`
- `https://graph.microsoft.com/People.Read`

Enable the same scopes on your app. If your app allows fewer, change the list under **Use your own OAuth settings** → **Scopes** on the installed integration's **Configuration** tab to match.

## Connect an Outlook Calendar account

1. In [Integrated Accounts](https://app.truto.one/integrated-accounts), click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a **Tenant ID** (your customer's ID; Truto creates the tenant if it is new), or pick one under **Existing tenant (optional)**. Check the **Environment** and the **Region** (where Truto places the account; Western North America by default). To open the link straight on Outlook Calendar, pick it under **Advanced settings** → **Integration (optional)**. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Click the open-in-new-tab button, or click **Copy** and send the link to your customer so they connect their own Outlook Calendar account. The link works for 7 days, until an account is connected with it.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Click **Get Started** if it shows, then select **Outlook Calendar**.
5. Pick **OAuth 2.0** and click **Connect**.
6. Sign in with a Microsoft account and allow access. Only work or school accounts can sign in.
7. Close the tab when you see **Connection successful**. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
