# Microsoft Teams (v1)

Information note **Microsoft Teams is in beta**   
Microsoft Teams is currently in beta. The info in this guide is subject to change.

Information note **Microsoft Teams extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Microsoft Teams tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-ms-teams).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## Microsoft Teams integration summary

Stitch’s Microsoft Teams integration replicates data using the [Microsoft Graph API](https://docs.microsoft.com/en-us/graph/). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#schema) section for a list of objects available for replication.

## Microsoft Teams feature snapshot

A high-level look at Stitch's Microsoft Teams (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Beta | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-ms-teams](https://github.com/singer-io/tap-ms-teams) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Microsoft Teams

### Microsoft Teams setup requirements

To set up Microsoft Teams in Stitch, you need:

* **A Microsoft Azure account**.

### Step 1: Add Microsoft Teams as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Microsoft Teams** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Microsoft Teams” would create a schema called `stitch_microsoft_teams` in the destination. **Note**: Schema names cannot be changed after you save the integration.

### Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Microsoft Teams integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Microsoft Teams’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 3: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Microsoft Teams integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 4: Authorize Stitch to access Microsoft Teams

1. Next, you’ll be redirected to Microsoft Teams.
2. Log into your Microsoft Teams account and complete the authorization process. When finished, you’ll be redirected back to Stitch.
3. Click **All Done**.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Microsoft Teams integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Microsoft Teams, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Microsoft Teams table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the Microsoft Teams integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### channel\_members

The `channel_members` table contains information about conversation members within a chat or channel in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [channel_members schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/channel_members.json "Opens in new tab: channel_members schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/conversationmember-list?view=graph-rest-beta&tabs=http "Opens in new tab: Microsoft Teams API method") |

channel\_members table foreign keys

| Join channel\_members with | on |
| --- | --- |
| [channels](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channels) | ```<br>channel_members.channel_id = channels.id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>channel_members.channel_id = channel_tabs.channel_id<br>``` |
| [channel_messages](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-messages) | ```<br>channel_members.channel_id = channel_messages.channel_identity.channel_id<br>```<br><br>```<br>channel_members.user_id = channel_messages.from.user.id<br>```<br><br>```<br>channel_members.user_id = channel_messages.mentions.mentioned.user.id<br>```<br><br>```<br>channel_members.user_id = channel_messages.reactions.user.user.id<br>``` |
| [channel_message_replies](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-message-replies) | ```<br>channel_members.channel_id = channel_message_replies.channel_identity.channel_id<br>```<br><br>```<br>channel_members.user_id = channel_message_replies.from.user.id<br>```<br><br>```<br>channel_members.user_id = channel_message_replies.mentions.mentioned.user.id<br>```<br><br>```<br>channel_members.user_id = channel_message_replies.reactions.user.user.id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#users) | ```<br>channel_members.user_id = users.id<br>``` |

channel\_members table schema

| **channel\_id**<br><br><br>STRING |
| --- |
| **display\_name**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **roles**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **user\_id**<br><br><br>STRING |

### channel\_message\_replies

The `channel_message_replies` table contains information about message replies within a channel in one of your Microsoft teams.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | last\_modified\_date\_time |
| **Useful links** | [channel_message_replies schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/channel_message_replies.json "Opens in new tab: channel_message_replies schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/channel-list-messagereplies?view=graph-rest-beta&tabs=http "Opens in new tab: Microsoft Teams API method") |

channel\_message\_replies table foreign keys

| Join channel\_message\_replies with | on |
| --- | --- |
| [channels](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channels) | ```<br>channel_message_replies.channel_identity.channel_id = channels.id<br>``` |
| [channel_members](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-members) | ```<br>channel_message_replies.channel_identity.channel_id = channel_members.channel_id<br>```<br><br>```<br>channel_message_replies.from.user.id = channel_members.user_id<br>```<br><br>```<br>channel_message_replies.mentions.mentioned.user.id = channel_members.user_id<br>```<br><br>```<br>channel_message_replies.reactions.user.user.id = channel_members.user_id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>channel_message_replies.channel_identity.channel_id = channel_tabs.channel_id<br>``` |
| [channel_messages](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-messages) | ```<br>channel_message_replies.channel_identity.channel_id = channel_messages.channel_identity.channel_id<br>```<br><br>```<br>channel_message_replies.from.user.id = channel_messages.from.user.id<br>```<br><br>```<br>channel_message_replies.mentions.mentioned.user.id = channel_messages.from.user.id<br>```<br><br>```<br>channel_message_replies.reactions.user.user.id = channel_messages.from.user.id<br>```<br><br>```<br>channel_message_replies.from.user.id = channel_messages.mentions.mentioned.user.id<br>```<br><br>```<br>channel_message_replies.mentions.mentioned.user.id = channel_messages.mentions.mentioned.user.id<br>```<br><br>```<br>channel_message_replies.reactions.user.user.id = channel_messages.mentions.mentioned.user.id<br>```<br><br>```<br>channel_message_replies.from.user.id = channel_messages.reactions.user.user.id<br>```<br><br>```<br>channel_message_replies.mentions.mentioned.user.id = channel_messages.reactions.user.user.id<br>```<br><br>```<br>channel_message_replies.reactions.user.user.id = channel_messages.reactions.user.user.id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#users) | ```<br>channel_message_replies.from.user.id = users.id<br>```<br><br>```<br>channel_message_replies.mentions.mentioned.user.id = users.id<br>```<br><br>```<br>channel_message_replies.reactions.user.user.id = users.id<br>``` |

channel\_message\_replies table schema

| **attachments**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand attachments<br><br><table> <tr> <td> <p> <strong>								content							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								content_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								content_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								thumbnail_url							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **body**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand body<br><br><table> <tr> <td> <p> <strong>								content							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								content_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **channel\_identity**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand channel\_identity<br><br><table> <tr> <td> <p> <strong>								channel_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								teamId							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **chat\_id**<br><br><br>STRING |
| **created\_date\_time**<br><br><br>DATE-TIME |
| **deleted\_date\_time**<br><br><br>DATE-TIME |
| **etag**<br><br><br>STRING |
| **from**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand from<br><br><table> <tr> <td> <p> <strong>								application							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								conversation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user_identity_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **importance**<br><br><br>STRING |
| **last\_modified\_date\_time**<br><br><br>DATE-TIME |
| **locale**<br><br><br>STRING |
| **mentions**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand mentions<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								mention_text							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mentioned							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand mentioned</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								application							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								conversation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user_identity_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **message\_type**<br><br><br>STRING |
| **policy\_violation**<br><br><br>STRING |
| **reactions**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand reactions<br><br><table> <tr> <td> <p> <strong>								created_date_time							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								reaction_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								application							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								conversation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user_identity_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **reply\_to\_id**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **summary**<br><br><br>STRING |
| **web\_url**<br><br><br>STRING |

### channel\_messages

The `channel_messages` table contains information about messages in a channel, without replies, in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | lastModified\_date\_time |
| **Useful links** | [channel_messages schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/channel_messages.json "Opens in new tab: channel_messages schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/chatmessage-delta?view=graph-rest-beta&tabs=http "Opens in new tab: Microsoft Teams API method") |

channel\_messages table foreign keys

| Join channel\_messages with | on |
| --- | --- |
| [channels](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channels) | ```<br>channel_messages.channel_identity.channel_id = channels.id<br>``` |
| [channel_members](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-members) | ```<br>channel_messages.channel_identity.channel_id = channel_members.channel_id<br>```<br><br>```<br>channel_messages.from.user.id = channel_members.user_id<br>```<br><br>```<br>channel_messages.mentions.mentioned.user.id = channel_members.user_id<br>```<br><br>```<br>channel_messages.reactions.user.user.id = channel_members.user_id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>channel_messages.channel_identity.channel_id = channel_tabs.channel_id<br>``` |
| [channel_message_replies](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-message-replies) | ```<br>channel_messages.channel_identity.channel_id = channel_message_replies.channel_identity.channel_id<br>```<br><br>```<br>channel_messages.from.user.id = channel_message_replies.from.user.id<br>```<br><br>```<br>channel_messages.mentions.mentioned.user.id = channel_message_replies.from.user.id<br>```<br><br>```<br>channel_messages.reactions.user.user.id = channel_message_replies.from.user.id<br>```<br><br>```<br>channel_messages.from.user.id = channel_message_replies.mentions.mentioned.user.id<br>```<br><br>```<br>channel_messages.mentions.mentioned.user.id = channel_message_replies.mentions.mentioned.user.id<br>```<br><br>```<br>channel_messages.reactions.user.user.id = channel_message_replies.mentions.mentioned.user.id<br>```<br><br>```<br>channel_messages.from.user.id = channel_message_replies.reactions.user.user.id<br>```<br><br>```<br>channel_messages.mentions.mentioned.user.id = channel_message_replies.reactions.user.user.id<br>```<br><br>```<br>channel_messages.reactions.user.user.id = channel_message_replies.reactions.user.user.id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#users) | ```<br>channel_messages.from.user.id = users.id<br>```<br><br>```<br>channel_messages.mentions.mentioned.user.id = users.id<br>```<br><br>```<br>channel_messages.reactions.user.user.id = users.id<br>``` |

channel\_messages table schema

| **attachments**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand attachments<br><br><table> <tr> <td> <p> <strong>								content							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								content_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								content_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								thumbnail_url							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **body**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand body<br><br><table> <tr> <td> <p> <strong>								content							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								content_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **channel\_identity**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand channel\_identity<br><br><table> <tr> <td> <p> <strong>								channel_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								teamId							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **chat\_id**<br><br><br>STRING |
| **created\_date\_time**<br><br><br>DATE-TIME |
| **deleted\_date\_time**<br><br><br>DATE-TIME |
| **etag**<br><br><br>STRING |
| **from**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand from<br><br><table> <tr> <td> <p> <strong>								application							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								conversation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user_identity_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **importance**<br><br><br>STRING |
| **lastModified\_date\_time**<br><br><br>DATE-TIME |
| **locale**<br><br><br>STRING |
| **mentions**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand mentions<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								mention_text							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mentioned							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand mentioned</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								application							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								conversation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								userIdentity_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **message\_type**<br><br><br>STRING |
| **policy\_violation**<br><br><br>STRING |
| **reactions**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand reactions<br><br><table> <tr> <td> <p> <strong>								created_date_time							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								reaction_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								application							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								conversation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								user_identity_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **reply\_to\_id**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **summary**<br><br><br>STRING |
| **web\_url**<br><br><br>STRING |

### channel\_tabs

The `channel_tabs` table contains information about tabs within a channel in one of your Microsoft teams.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Microsoft Teams documentation](https://docs.microsoft.com/en-us/graph/api/teamstab-list?view=graph-rest-beta "Opens in new tab: Microsoft Teams documentation")<br><br><br>[channel_tabs schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/channel_tabs.json "Opens in new tab: channel_tabs schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/teamstab-list?view=graph-rest-1.0 "Opens in new tab: Microsoft Teams API method") |

channel\_tabs table foreign keys

| Join channel\_tabs with | on |
| --- | --- |
| [channels](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channels) | ```<br>channel_tabs.channel_id = channels.id<br>``` |
| [channel_members](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-members) | ```<br>channel_tabs.channel_id = channel_members.channel_id<br>``` |
| [channel_messages](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-messages) | ```<br>channel_tabs.channel_id = channel_messages.channel_identity.channel_id<br>``` |
| [channel_message_replies](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-message-replies) | ```<br>channel_tabs.channel_id = channel_message_replies.channel_identity.channel_id<br>``` |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#groups) | ```<br>channel_tabs.group_id = groups.id<br>``` |
| [group_owners](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#group-owners) | ```<br>channel_tabs.group_id = group_owners.group_id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversations) | ```<br>channel_tabs.group_id = conversations.group_id<br>``` |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-threads) | ```<br>channel_tabs.group_id = conversation_threads.group_id<br>``` |
| [team_drives](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#team-drives) | ```<br>channel_tabs.group_id = team_drives.owner.group.id<br>``` |

channel\_tabs table schema

| **channel\_id**<br><br><br>STRING |
| --- |
| **configuration**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand configuration<br><br><table> <tr> <td> <p> <strong>								content_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								has_content							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								remove_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								website_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								wiki_default_tab							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								wiki_tab_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **display\_name**<br><br><br>STRING |
| **group\_id**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **sort\_order\_index**<br><br><br>STRING |
| **teams\_app**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand teams\_app<br><br><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								distribution_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **web\_url**<br><br><br>STRING |

### channels

The `channels` table contains information about the channels within a team in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [channels schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/channels.json "Opens in new tab: channels schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/channel-list?view=graph-rest-1.0&tabs=http "Opens in new tab: Microsoft Teams API method") |

channels table foreign keys

| Join channels with | on |
| --- | --- |
| [channel_members](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-members) | ```<br>channels.id = channel_members.channel_id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>channels.id = channel_tabs.channel_id<br>``` |
| [channel_messages](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-messages) | ```<br>channels.id = channel_messages.channel_identity.channel_id<br>``` |
| [channel_message_replies](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-message-replies) | ```<br>channels.id = channel_message_replies.channel_identity.channel_id<br>``` |

channels table schema

| **description**<br><br><br>STRING |
| --- |
| **display\_name**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **web\_url**<br><br><br>STRING |

### conversation\_posts

The `conversation_posts` table contains information about the posts within a conversation thread in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | last\_modified\_date\_time |
| **Useful links** | [Microsoft Teams documentation](https://docs.microsoft.com/en-us/graph/api/conversationthread-list-posts?view=graph-rest-beta&tabs=http "Opens in new tab: Microsoft Teams documentation")<br><br><br>[conversation_posts schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/conversation_posts.json "Opens in new tab: conversation_posts schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/conversationthread-list-posts?view=graph-rest-1.0&tabs=http "Opens in new tab: Microsoft Teams API method") |

conversation\_posts table foreign keys

| Join conversation\_posts with | on |
| --- | --- |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversations) | ```<br>conversation_posts.conversation_id = conversations.id<br>``` |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-threads) | ```<br>conversation_posts.conversation_id = conversation_threads.conversation_id<br>```<br><br>```<br>conversation_posts.thread_id = conversation_threads.id<br>``` |

conversation\_posts table schema

| **body**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand body<br><br><table> <tr> <td> <p> <strong>								content							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								content_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **categories**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **change\_key**<br><br><br>STRING |
| **conversation\_id**<br><br><br>STRING |
| **created\_date\_time**<br><br><br>DATE-TIME |
| **from**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand from<br><br><table> <tr> <td> <p> <strong>								emailAddress							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand emailAddress</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								address							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **has\_attachments**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **last\_modified\_date\_time**<br><br><br>DATE-TIME |
| **received\_date\_time**<br><br><br>DATE-TIME |
| **sender**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand sender<br><br><table> <tr> <td> <p> <strong>								emailAddress							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand emailAddress</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								address							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **thread\_id**<br><br><br>STRING |

### conversation\_threads

The `conversation_threads` table contains information about threads in a group conversation in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | last\_delivered\_date\_time |
| **Useful links** | [Microsoft Teams documentation](https://docs.microsoft.com/en-us/graph/api/conversation-list-threads?view=graph-rest-beta&tabs=http "Opens in new tab: Microsoft Teams documentation")<br><br><br>[conversation_threads schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/conversation_threads.json "Opens in new tab: conversation_threads schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/group-list-threads?view=graph-rest-1.0&tabs=http "Opens in new tab: Microsoft Teams API method") |

conversation\_threads table foreign keys

| Join conversation\_threads with | on |
| --- | --- |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversations) | ```<br>conversation_threads.conversation_id = conversations.id<br>```<br><br>```<br>conversation_threads.group_id = conversations.group_id<br>``` |
| [conversation_posts](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-posts) | ```<br>conversation_threads.conversation_id = conversation_posts.conversation_id<br>```<br><br>```<br>conversation_threads.id = conversation_posts.thread_id<br>``` |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#groups) | ```<br>conversation_threads.group_id = groups.id<br>``` |
| [group_owners](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#group-owners) | ```<br>conversation_threads.group_id = group_owners.group_id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>conversation_threads.group_id = channel_tabs.group_id<br>``` |
| [team_drives](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#team-drives) | ```<br>conversation_threads.group_id = team_drives.owner.group.id<br>``` |

conversation\_threads table schema

| **conversation\_id**<br><br><br>STRING |
| --- |
| **group\_id**<br><br><br>STRING |
| **has\_attachments**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **is\_locked**<br><br><br>BOOLEAN |
| **last\_delivered\_date\_time**<br><br><br>DATE-TIME |
| **preview**<br><br><br>STRING |
| **topic**<br><br><br>STRING |
| **unique\_senders**<br><br><br>STRING |

### conversations

The `conversations` table contains information about conversations within a group in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | last\_delivered\_date\_time |
| **Useful links** | [Microsoft Teams documentation](https://docs.microsoft.com/en-us/graph/api/group-list-conversations?view=graph-rest-beta&tabs=http "Opens in new tab: Microsoft Teams documentation")<br><br><br>[conversations schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/conversations.json "Opens in new tab: conversations schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/group-list-conversations?view=graph-rest-1.0&tabs=http "Opens in new tab: Microsoft Teams API method") |

conversations table foreign keys

| Join conversations with | on |
| --- | --- |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-threads) | ```<br>conversations.id = conversation_threads.conversation_id<br>```<br><br>```<br>conversations.group_id = conversation_threads.group_id<br>``` |
| [conversation_posts](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-posts) | ```<br>conversations.id = conversation_posts.conversation_id<br>``` |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#groups) | ```<br>conversations.group_id = groups.id<br>``` |
| [group_owners](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#group-owners) | ```<br>conversations.group_id = group_owners.group_id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>conversations.group_id = channel_tabs.group_id<br>``` |
| [team_drives](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#team-drives) | ```<br>conversations.group_id = team_drives.owner.group.id<br>``` |

conversations table schema

| **group\_id**<br><br><br>STRING |
| --- |
| **has\_attachments**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **last\_delivered\_date\_time**<br><br><br>DATE-TIME |
| **preview**<br><br><br>STRING |
| **topic**<br><br><br>STRING |
| **unique\_senders**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |

### group\_members

The `group_members` table contains information about group members in your Microsoft account. Members can be users, organizational contacts, devices, service principals, and other groups.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [group_members schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/group_members.json "Opens in new tab: group_members schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http "Opens in new tab: Microsoft Teams API method") |

group\_members table schema

| **business\_phones**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| --- |
| **display\_name**<br><br><br>STRING |
| **given\_name**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **job\_title**<br><br><br>STRING |
| **mail**<br><br><br>STRING |
| **mobile\_phone**<br><br><br>STRING |
| **office\_location**<br><br><br>STRING |
| **preferred\_language**<br><br><br>STRING |
| **surname**<br><br><br>STRING |
| **user\_principal\_name**<br><br><br>STRING |

### group\_owners

The `group_owners` table contains information about groups’ owners in your Microsoft account. The owners can be a set of users or service principals that have modifying priviliges.

**Note**: Groups created in Microsoft Exchange will not be available in this table.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [group_owners schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/group_owners.json "Opens in new tab: group_owners schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/group-list-owners?view=graph-rest-1.0&tabs=http "Opens in new tab: Microsoft Teams API method") |

group\_owners table foreign keys

| Join group\_owners with | on |
| --- | --- |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#groups) | ```<br>group_owners.group_id = groups.id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>group_owners.group_id = channel_tabs.group_id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversations) | ```<br>group_owners.group_id = conversations.group_id<br>``` |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-threads) | ```<br>group_owners.group_id = conversation_threads.group_id<br>``` |
| [team_drives](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#team-drives) | ```<br>group_owners.group_id = team_drives.owner.group.id<br>``` |

group\_owners table schema

| **business\_phones**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| --- |
| **display\_name**<br><br><br>STRING |
| **given\_name**<br><br><br>STRING |
| **group\_id**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **job\_title**<br><br><br>STRING |
| **mail**<br><br><br>STRING |
| **mobile\_phone**<br><br><br>STRING |
| **office\_location**<br><br><br>STRING |
| **preferred\_language**<br><br><br>STRING |
| **surname**<br><br><br>STRING |
| **user\_principal\_name**<br><br><br>STRING |

### groups

The `groups` table contains information about groups in your organization within your Microsoft account. Some old teams in your account will not have a `resource_provisioning_options` value. For more information, refer to [Microsoft’s docs](https://docs.microsoft.com/en-us/graph/known-issues#missing-teams-in-list-all-teams).

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [groups schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/groups.json "Opens in new tab: groups schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/teams-list-all-teams?context=graph%2Fapi%2Fbeta&view=graph-rest-beta "Opens in new tab: Microsoft Teams API method") |

groups table foreign keys

| Join groups with | on |
| --- | --- |
| [group_owners](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#group-owners) | ```<br>groups.id = group_owners.group_id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>groups.id = channel_tabs.group_id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversations) | ```<br>groups.id = conversations.group_id<br>``` |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-threads) | ```<br>groups.id = conversation_threads.group_id<br>``` |
| [team_drives](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#team-drives) | ```<br>groups.id = team_drives.owner.group.id<br>``` |

groups table schema

| **classification**<br><br><br>STRING |
| --- |
| **created\_date\_time**<br><br><br>DATE-TIME |
| **creation\_options**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **deleted\_date\_time**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **display\_name**<br><br><br>STRING |
| **expiration\_date\_time**<br><br><br>DATE-TIME |
| **group\_types**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **id**<br><br><br>STRING |
| **is\_assignable\_to\_role**<br><br><br>BOOLEAN |
| **mail**<br><br><br>STRING |
| **mail\_enabled**<br><br><br>BOOLEAN |
| **mail\_nickname**<br><br><br>STRING |
| **membership\_rule**<br><br><br>STRING |
| **membership\_rule\_processing\_state**<br><br><br>STRING |
| **onPremises\_domain\_name**<br><br><br>STRING |
| **on\_premises\_last\_sync\_date\_time**<br><br><br>DATE-TIME |
| **on\_premises\_net\_bios\_name**<br><br><br>STRING |
| **on\_premises\_provisioning\_errors**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **on\_premises\_sam\_account\_name**<br><br><br>STRING |
| **on\_premises\_security\_identifier**<br><br><br>STRING |
| **on\_premises\_sync\_enabled**<br><br><br>BOOLEAN |
| **preferred\_data\_location**<br><br><br>STRING |
| **preferred\_language**<br><br><br>STRING |
| **proxy\_addresses**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **renewed\_date\_time**<br><br><br>DATE-TIME |
| **resource\_behavior\_options**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **resource\_provisioning\_options**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **security\_edentifier**<br><br><br>STRING |
| **security\_enabled**<br><br><br>BOOLEAN |
| **theme**<br><br><br>STRING |
| **visibility**<br><br><br>STRING |

### team\_device\_usage\_report

The `team_device_usage_report` table contains information about a group’s device usage in Microsoft Teams.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | user\_principal\_name<br><br>report\_refresh\_date |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | report\_refresh\_date |
| **Useful links** | [team_device_usage_report schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/team_device_usage_report.json "Opens in new tab: team_device_usage_report schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/reportroot-getteamsdeviceusageuserdetail?view=graph-rest-beta "Opens in new tab: Microsoft Teams API method") |

team\_device\_usage\_report table schema

| **deleted\_date**<br><br><br>STRING |
| --- |
| **is\_deleted**<br><br><br>STRING |
| **last\_activity\_date**<br><br><br>STRING |
| **report\_period**<br><br><br>STRING |
| **report\_refresh\_date**<br><br><br>STRING |
| **used\_android\_phone**<br><br><br>STRING |
| **used\_i\_os**<br><br><br>STRING |
| **used\_mac**<br><br><br>STRING |
| **used\_web**<br><br><br>STRING |
| **used\_windows**<br><br><br>STRING |
| **used\_windows\_phone**<br><br><br>STRING |
| **user\_principal\_name**<br><br><br>STRING |

### team\_drives

The `team_drives` table contains information about the drive that your team is on in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | last\_modified\_date\_time |
| **Useful links** | [team_drives schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/team_drives.json "Opens in new tab: team_drives schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/drive-get?view=graph-rest-beta&tabs=http#get-the-document-library-associated-with-a-group "Opens in new tab: Microsoft Teams API method") |

team\_drives table foreign keys

| Join team\_drives with | on |
| --- | --- |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#groups) | ```<br>team_drives.owner.group.id = groups.id<br>``` |
| [group_owners](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#group-owners) | ```<br>team_drives.owner.group.id = group_owners.group_id<br>``` |
| [channel_tabs](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-tabs) | ```<br>team_drives.owner.group.id = channel_tabs.group_id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversations) | ```<br>team_drives.owner.group.id = conversations.group_id<br>``` |
| [conversation_threads](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#conversation-threads) | ```<br>team_drives.owner.group.id = conversation_threads.group_id<br>``` |

team\_drives table schema

| **created\_by**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand created\_by<br><br><table> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| --- |
| **drive\_type**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **last\_modified\_date\_time**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **owner**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand owner<br><br><table> <tr> <td> <p> <strong>								group							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand group</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **quota**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand quota<br><br><table> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								remaining							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								total							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								used							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **web\_url**<br><br><br>STRING |

### users

The `users` table contains information about users in your Microsoft account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Microsoft Teams documentation](hhttps://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-beta "Opens in new tab: Microsoft Teams documentation")<br><br><br>[users schema on GitHub](https://github.com/singer-io/tap-ms-teams/blob/master/tap_ms_teams/schemas/users.json "Opens in new tab: users schema on GitHub")<br><br><br>[Microsoft Teams API method](https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http "Opens in new tab: Microsoft Teams API method") |

users table foreign keys

| Join users with | on |
| --- | --- |
| [channel_members](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-members) | ```<br>users.id = channel_members.user_id<br>``` |
| [channel_message_replies](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-message-replies) | ```<br>users.id = channel_message_replies.from.user.id<br>```<br><br>```<br>users.id = channel_message_replies.mentions.mentioned.user.id<br>```<br><br>```<br>users.id = channel_message_replies.reactions.user.user.id<br>``` |
| [channel_messages](https://help.qlik.com/en-US/stitch/integrations/saas/microsoft-teams#channel-messages) | ```<br>users.id = channel_messages.from.user.id<br>```<br><br>```<br>users.id = channel_messages.mentions.mentioned.user.id<br>```<br><br>```<br>users.id = channel_messages.reactions.user.user.id<br>``` |

users table schema

| **business\_phones**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| --- |
| **display\_name**<br><br><br>STRING |
| **given\_name**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **job\_title**<br><br><br>STRING |
| **mail**<br><br><br>STRING |
| **mobile\_phone**<br><br><br>STRING |
| **office\_location**<br><br><br>STRING |
| **preferred\_language**<br><br><br>STRING |
| **surname**<br><br><br>STRING |
| **user\_principal\_name**<br><br><br>STRING |