# Integrate with Microsoft Teams

When the integration mode is Custom App, proceed with the following steps:

#### Prerequisites

\- Microsoft 365 Business or Enterprise account\
\- Azure Active Directory (Entra ID) Admin access\
\- Access to Azure Portal\
\- Redirect URI from Artha integration screen

{% hint style="info" %}
The integration type can be either Centralized or an Individual Employer account.
{% endhint %}

#### Step 1: Create an App Registration in Azure

1. Go to <https://portal.azure.com>
2. Click on App registrations
3. Click New registration
4. Enter app name (e.g., Artha Teams Integration)
5. For, supported account type, choose "Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts".
6. Click Add a platform → Web.
7. Add the Redirect URIs  provided by Artha
   1. <mark style="color:$success;">**<https://api.arthajobboard.com/admin/app-center/oauth/callback>**</mark>
   2. <mark style="color:$success;">**<https://api.arthajobboard.com/client/api/v1/app-center/oauth/callback>**</mark>
8. Click Register.
9. Copy the Client ID.<br>

   <figure><img src="/files/Uu7xgqMXMjI8oSWnByLz" alt=""><figcaption></figcaption></figure>

#### Step 2: Configure Redirect URI

1. Open the registered app
2. Go to Manage -> Authentication
3. Click on Add Redirect URI button
4. Click on Web -> Select
5. Add the second Redirect URI provided by Artha
6. Save changes / Configure.\ <br>

   <figure><img src="/files/wxMgg09rBSYWLf4sYwcv" alt=""><figcaption></figcaption></figure>

#### Step 3: Create Client Secret

1. Go to Manage -> Certificates & secrets
2. Click "New client secret".
3. Add description and expiry for integration&#x20;
4. Click Add
5. Copy the Client Secret.<br>

   <figure><img src="/files/jrja6iCby0Cdg9hEpjVc" alt=""><figcaption></figcaption></figure>

#### Step 4: Configure API Permissions

1. Go to Manage -> API permissions
2. Click Add a permission
3. Select Microsoft Graph
4. Choose Application permissions
5. Search the following permissions and add:\
   &#x20; \- OnlineMeetings.ReadWrite.All\
   &#x20; \- Calendars.ReadWrite
6. Choose Delegated permissions
7. Search the following permissions and add:\
   &#x20; \- Calendars.ReadWrite.Shared\
   &#x20; \- User.Read\
   &#x20; \- Calendars.ReadWrite\
   &#x20; \- OnlineMeetings.ReadWrite
8. Click Grant admin consent from the modal.<br>

   <figure><img src="/files/6PQJEHqczQ3U8KpY96AY" alt=""><figcaption></figcaption></figure>

#### Step 5: Enable Teams Interop

1. Navigate to <https://admin.microsoft.com>.
2. Navigate to "Users. Next to the user, go to "Manage product licenses".
3. Under Apps, find Microsoft Teams and enable if not done, and save.

#### Step 6: Enter Details on the platform.

1. Client ID
2. Client Secret
3. Click on "Connect".

<figure><img src="/files/9IV0OTcmhwVoObbTeCAb" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arthajobboard.com/admin/manage-portal/app-center/interview-integration/integrate-with-microsoft-teams.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
