# Outlook Calendar

Rep.ai integration with Outlook Calendar automatically sets your Rep.ai availability based on Outlook Calendar meetings. Having all your agents activate will prevent your team from ever missing a call because agents are in another meeting.

{% hint style="warning" %}
Only events from your default Outlook calendar get synced into Rep.ai.
{% endhint %}

## Installing the Outlook Calendar Integration

To give Rep.ai access to your Outlook Calendar, go to the [user Integrations page](https://app.rep.ai/settings/user-integrations) in your Rep.ai settings, find the Outlook Calendar card, and click the Manage button. You'll be redirected to Outlook's to authorize access.

<figure><img src="https://1505458698-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRrdcXUz0ewZ6h-36nQ%2Fuploads%2F2ZafFdoJxiEx9Y1NoZmE%2Fimage.png?alt=media&#x26;token=54afcd79-de00-4959-ba0d-b4fb83114b6c" alt=""><figcaption><p>User integrations page</p></figcaption></figure>

\
For the Rep.ai Outlook Calendar integration to function correctly, it must be granted access to the Microsoft Graph with the following permissions: `Calendars.ReadWrite` and `User.Read`. Please ask your Microsoft Outlook administrator to follow these steps to whitelist the Rep.ai Outlook app:

## Whitelisting Rep.ai app in Azure Conditional Access

1. **Identify the Application ID**: The Rep.ai Outlook integration app has the ID `dc61d5cb-8275-42f1-b339-2f67f059add1`.
2. **Access Conditional Access in Azure AD**:
   * Go to the Azure portal ([portal.azure.com](https://portal.azure.com/)).
   * Navigate to **Azure Active Directory** > **Security** > **Conditional Access**.
3. **Create or Edit a Conditional Access Policy**:
   * To create a new policy, click on **+ New policy**.
   * To edit an existing policy, select the policy from the list.
4. **Configure the Policy to Exclude the App**:
   * In the **Assignments** section, under **Users and groups**, select the users, groups, or roles this policy will apply to. While you can apply the policy to all users, you may choose to exclude certain users or groups if necessary.
   * Under **Cloud apps or actions**, select **Include** to choose which apps the policy applies to. You have the option to apply the policy to **All cloud apps** or select specific apps.
   * To whitelist (exclude) the Rep.ai Outlook app, switch to the **Exclude** tab within the **Cloud apps or actions** section. Click on **Select excluded apps** and then search for and select the Rep.ai app using its Application ID. This configuration instructs Azure AD to apply the policy to all selected apps except the ones you've excluded, effectively whitelisting the Rep.ai app.
