Microsoft Teams

Microsoft Teams

Video Tutorial

Microsoft Teams

Watch on Tutorials page →

Info
Before following this section, add data to your AI Assistant as described in the Data Sources Section and test it in the AI Task Section.

There are two ways to connect your AI Assistant to Microsoft Teams. Pick the one that matches your setup.

Quick, per-user setup using the shared QAnswer Teams app. Best for individuals.

Prerequisites

Your Teams administrator must grant permission to install third-party apps before proceeding. Attempt to install the QAnswer app to verify access. If installation fails, contact your Teams administrator to install it for the organization or to grant the required permissions.

Install

In Teams:

  • Go to the Applications tab and Search for the QAnswer Agent app.
  • Click on Add to install the app.
teams setup

Setup

  • In the new conversation with the bot, type in the setup text field.
  • Enter the URL generated in the QAnswer Teams Expose page. This URL is unique to your AI Assistant — do not share it. Generating this link automatically creates a read-only API key for your AI Assistant.
Warning
You will only see it one time!
teams setup

Use the QAnswer app on Teams

After setup, click the Show the prompt (Afficher les invites) button in the top right corner of the chat bar to view available commands.

  • Help: display a link to this page.
  • Setup: configure another AI Assistant.
  • Status Switch: switch between assistants. The active assistant answers questions.
  • Unlink: remove all current assistants from the QAnswer app.
teams setup

Once the QAnswer Agent is set up, ask questions to your AI Assistant directly from Teams.

teams answer

Method 2: Custom Bot (Azure)

For organizations that want their own branded Teams bot. Publishes a tenant-branded Teams app linked to your assistant — no per-user setup link to share.

Info
You need an Azure Bot resource with an app registration (Azure bot ID and client secret). The QAnswer messaging endpoint must also be configured by an admin in Admin > Config before following these steps.

Step 1 — Create the Azure Bot

In the Azure portal, search for "Azure Bot" and create a new Azure Bot resource. Give it a bot handle, choose a subscription and resource group, and select your preferred Microsoft App ID type.

Open the Azure portal · Docs: Create an Azure Bot

Search for Azure Bot in the Azure portal

Step 2 — Set the messaging endpoint

Open the bot's Configuration page and set its Messaging endpoint to the URL shown in the QAnswer Teams integration page, then click Apply.

Set the messaging endpoint in Azure Bot Configuration

Step 3 — Enable the Microsoft Teams channel

In the Azure Bot, go to Channels, select Microsoft Teams, accept the Terms of Service, and confirm the channel shows as Healthy.

Docs: Connect a bot to Teams

Azure Bot Channels page showing Microsoft Teams option

Step 4 — Copy the bot ID and create a client secret

QAnswer signs in to Microsoft as your bot using two values from Azure — the bot ID and a client secret. Copy both:

  1. Bot ID: on the Azure Bot's Configuration page, copy the Microsoft App ID. QAnswer uses this same value as both the bot ID and the client ID.
  2. Open the app registration: click Manage Password next to the Microsoft App ID to open the bot's Microsoft Entra app registration.
  3. Create a client secret: under Certificates & secrets → Client secrets, click New client secret, add a description and an expiry, then click Add.
  4. Copy the secret value: copy the secret's Value (not the Secret ID) immediately — Azure only shows it once. You'll paste it into QAnswer in the next step.
Warning
Copy the secret value: copy the secret's Value (not the Secret ID) immediately — Azure only shows it once. You'll paste it into QAnswer in the next step.
Copy the Microsoft App ID from Azure Bot Configuration

Step 5 — Register the bot in QAnswer

In the QAnswer Teams integration page, fill in the registration form and click Save Teams app. Here is what each field means:

  • App nameApp name — the display name of your Teams app (e.g. "Simpsons Assistant"). This is what users see in the Teams app catalog.
  • Microsoft tenant IDMicrosoft tenant ID — your organization's Azure Active Directory tenant ID. Found in the Azure portal under Microsoft Entra ID > Overview.
  • Azure bot IDAzure bot ID — the Microsoft App ID you copied from the Azure Bot Configuration page in Step 4.
  • Client secretClient secret — paste the secret value you copied in Step 4. QAnswer uses the Azure bot ID as the client ID automatically.
  • Package version(Optional) Package version — the version number embedded in the Teams app package (default 1.0.0). Increment this when you re-download and re-publish an updated package.
  • ActiveActive — toggle this off to temporarily disable the bot without deleting the registration.
QAnswer Teams bot registration form showing app name, tenant ID, Azure bot ID, client secret, package version and active toggle

After saving, the bot appears in the table below the form with its generated Teams app ID and lookup key. Use the download button to get the .zip package you will upload in Step 6.

Step 6 — Download and import the package

Download the generated Teams package (.zip) from the QAnswer Teams integration page. Then, in the Teams Developer Portal, choose Import app and upload the .zip — it should validate with no issues.

Open the Teams Developer Portal · Docs: Upload a custom app

Import the Teams app package in the Teams Developer Portal

Step 7 — Publish to your organization

In the Teams Developer Portal, open Publish → Publish to your org and submit the app. Your Teams admin approves it, after which it appears in your organization's app catalog.

Open the Teams Developer Portal · Docs: Publish to your org

Publish the app to your organization in the Teams Developer Portal

Step 8 — Start using it

Once installed from your organization's catalog, open the app in Teams and start chatting. It is already linked to this assistant — no setup link to share.

Chat with your custom QAnswer bot in Microsoft Teams

Features

Upload documents

Users can attach files directly in the Teams chat. The bot processes the document and answers questions about it.

Uploading a document in Teams chat and asking the bot to summarize it

Suggested replies

If Suggested Replies are enabled in your AI Assistant's Chat task settings, they will also appear in Teams after each answer, helping users continue the conversation with one click. How to enable Suggested Replies.

Suggested replies appearing below a bot answer in Microsoft Teams

For setup issues, contact info@the-qa-company.com.