Microsoft Teams | Qlik Cloud Help
Skip to main content Skip to complementary content

Microsoft Teams 

Microsoft Teams is Microsoft's cloud-based team collaboration platform, part of the Microsoft 365 suite. It provides persistent chat channels, video conferencing, file storage, and integration with other Microsoft 365 services.

Microsoft Teams integration replicates data using the Microsoft Graph API.

See the Schema section for a list of objects available for replication.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

To set up your Microsoft Teams account, you need:

  • A Microsoft 365 account with Microsoft Teams deployed in your organization.
  • An Azure subscription with access to the Azure portal (portal.azure.com) or Entra Admin Center (entra.microsoft.com).
  • Permission to register applications and grant admin consent in your Microsoft Entra ID tenant (Global Administrator or Application Administrator role).

To register a Microsoft Entra ID application and grant API permissions:

  1. Log into your Microsoft Entra admin center account.
  2. Navigate to Entra ID > App registrations.
  3. Click New registration.
  4. Enter a name for the application (for example, QlikDataIntegration), select Accounts in this organizational directory only, and click Register.
  5. On the application's Overview page, copy the Application (client) ID and the Directory (tenant) ID and paste them into a secured file.
  6. Navigate to Certificates & secrets > Client secrets > New client secret.
  7. Enter a description and expiration date, and click Add.

    Copy and paste the secret Value into a secured file.

  8. Navigate to API permissions > Add a permission > Microsoft Graph > Application permissions.
  9. Add the following permissions:
    • User.Read.All — required for the users stream.
    • Group.Read.All — required for the groups, group_members, group_owners, channels, channel_members, channel_tabs, channel_messages, channel_message_replies, conversations, conversation_threads, and conversation_posts streams.
    • Files.Read.All — required for the team_drives stream.
    • Reports.Read.All — required for the team_device_usage_report stream.
  10. Click Grant admin consent for [your organization] and confirm.

    All permissions must show a green “Granted” status before the connector will work.

Creating the connection

For more information, see Connecting to SaaS applications.

  1. Fill in the required connection properties.
  2. Provide a name for the connection in Connection name.

  3. Select Open connection metadata to define metadata for the connection when it has been created.

  4. Click Create.

Connection settings
SettingDescription
Data gateway

Select a Data Movement gateway if required by your use case.

Information note

This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.

For information on the benefits of Data Movement gateway and use cases that require it, see Qlik Data Gateway - Data Movement.

Start Date

Enter the date, in the format MM/DD/YYYY, from which the data must be replicated from your source to your target.

Tenant IDDirectory (tenant) ID.
OAuth Application IDApplication (client) ID.
Application SecretClient secret.

Limitations and considerations

  • Authentication uses application (client credentials) permissions. A Global Administrator or Application Administrator must grant admin consent for all required API permissions.
  • The team_device_usage_report stream calls the Microsoft Graph reports endpoint, which returns data for the past 28 days only. By default, Microsoft 365 anonymizes user identity columns (user_principal_name, user_id) in usage reports. To retrieve actual user identities, a tenant admin can enable Display concealed user, group, and site names in all reports in the Microsoft 365 admin center under Settings > Org settings > Services > Reports.
  • Incremental streams use a mix of server-side and client-side bookmark filtering. The channel_messages stream uses the Graph /messages/delta endpoint with a $filter query. The team_device_usage_report stream iterates day-by-day using a date URL parameter. The channel_message_replies, conversations, conversation_threads, conversation_posts, and team_drives streams retrieve all records and filter client-side because the underlying endpoints do not support $filter on the bookmark field.
  • Groups without "Team" in the resourceProvisioningOptions property are excluded from Teams-specific stream queries (such as channels, channel_messages, channel_members, and so on).
  • Field names are normalized from camelCase to snake_case during extraction.
  • Microsoft Graph API throttling limits apply. The connector handles rate limiting automatically with retry logic.

Schema

Information note

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

The schema and info displayed below is for version 1.

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

channel_members

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

Replication Method

Full Table

Primary Keys

id

group_id

channel_id

Useful links

Microsoft Teams API method

channel_message_replies

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

Replication Method

CDC

Primary Keys

id

group_id

channel_id

message_id

Replication Key

created_date_time

Useful links

Microsoft Teams API method

channel_messages

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

Replication Method

CDC

Primary Keys

id

group_id

channel_id

Replication Key

last_modified_date_time

Useful links

Microsoft Teams API method

channel_tabs

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

Replication Method

Full Table

Primary Keys

id

group_id

channel_id

Useful links

Microsoft Teams documentation

Microsoft Teams API method

channels

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

Replication Method

Full Table

Primary Keys

id

group_id

Useful links

Microsoft Teams API method

conversation_posts

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

Replication Method

CDC

Primary Keys

id

change_key

group_id

conversation_id

thread_id

Replication Key

last_modified_date_time

Useful links

Microsoft Teams documentation

Microsoft Teams API method

conversation_threads

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

Replication Method

CDC

Primary Keys

id

conversation_id

group_id

Replication Key

last_delivered_date_time

Useful links

Microsoft Teams documentation

Microsoft Teams API method

conversations

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

Replication Method

CDC

Primary Keys

id

group_id

Replication Key

last_delivered_date_time

Useful links

Microsoft Teams documentation

Microsoft Teams API method

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

Full Table

Primary Keys

id

group_id

Useful links

Microsoft Teams API method

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

Full Table

Primary Keys

id

group_id

Useful links

Microsoft Teams API method

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.

Replication Method

Full Table

Primary Key

id

Useful links

Microsoft Teams API method

team_device_usage_report

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

Replication Method

CDC

Primary Keys

user_principal_name

report_refresh_date

Replication Key

report_refresh_date

Useful links

Microsoft Teams API method

team_drives

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

Replication Method

CDC

Primary Keys

id

group_id

Replication Key

last_modified_date_time

Useful links

Microsoft Teams API method

users

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

Replication Method

Full Table

Primary Key

id

Useful links

Microsoft Teams documentation

Microsoft Teams API method

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!