Skip to main content
Back to messaging or digital channels Integrate your agent into Microsoft Teams channels, chats, and Microsoft 365 Copilot through an Azure Bot registration and a Teams application.

Before you begin

Complete the following tasks in Microsoft before you create the channel connection in Artemis. You need administrator access to the Azure Portal, the Microsoft Teams Developer Portal, and the Teams Admin Center.
1

Create an Azure Bot

  1. Sign in to the Azure Portal and search for Azure Bot in Marketplace.
  2. Select Create and complete the bot registration.
  3. When the deployment completes, select Go to resource under Next steps.
2

Create a client secret and copy the IDs

  1. In the Azure Bot resource, go to Settings -> Configuration.
  2. Select the Manage password link beside the Microsoft App ID. This opens the app registration’s Certificates & secrets page.
  3. Select + New client secret and create the secret.
  4. Copy the secret value immediately and store it securely.
  5. Go to the app registration’s Overview page and copy the Application (client) ID. This is your Microsoft App ID, also called the Enterprise App ID later in this article.
  6. Copy the Directory (tenant) ID from the same page.
When you copy the client secret, use the Value, not the Secret ID. The Secret ID won’t authenticate. The Value appears only once. If you navigate away before copying it, create a new client secret.
3

Configure supported account types

  1. In the app registration, go to Authentication (Preview) -> Supported accounts.
  2. Select Multiple Entra ID tenants, choose Allow all tenants, and save.
4

Enable the Microsoft Teams and Microsoft 365 channels

  1. Return to the Azure Bot resource and go to Settings -> Channels.
  2. Enable Microsoft Teams and Microsoft 365.
5

Create or import the Teams application

  1. Sign in to the Microsoft Teams Developer Portal.
  2. Create a new application or import an existing manifest.
  3. Go to Configure -> Basic information, enter the Short name and Long name, and set the Application (client) ID to the Microsoft App ID you copied in step 2.
6

Configure the bot, commands, and scopes

  1. Go to Configure -> App features and select Bot.
  2. Enter the Enterprise App ID as the bot ID.
  3. Add the project commands, utterances, and descriptions.
  4. Select the Personal, Team, and Group Chat scopes.
7

Update the app package

  1. Go to App package editor -> Actions -> Edit to open manifest.json.
  2. Update the Web App ID (webApplicationInfo.id) and the Copilot/Agents ID (copilotAgents.customEngineAgents.id) to the Enterprise App ID in both locations.
  3. To support file attachments, set bots[0].supportsFiles to true.
  4. Select Update and confirm.
Attachment ingestion currently supports personal chat scope only.
8

Publish the application

  1. In the Teams Developer Portal, go to Publish -> Publish to org, select Get started, and publish the application.
  2. Open the Teams Admin Center and go to Teams apps -> Manage apps.
  3. Search for the application, open it, and publish it.

Create the channel connection in Artemis

1

Enter the connection details

Open Artemis, select the required project, and go to Deployments -> Channels -> MESSAGING -> Microsoft Teams -> + New. On the New Microsoft Teams Connection dialog, provide the following fields.
Bot App ID and App ID both take a Microsoft App ID. The app ID of your Teams app must match the app ID in the Azure Bot registration and the values you enter here. A mismatch is the most common cause of a Teams integration that won’t connect.
Select Create.
2

Configure the messaging endpoint

  1. Open the connection you created and copy the Webhook URL from the Overview tab.
  2. In the Azure Portal, open the Azure Bot resource and go to Configuration.
  3. Paste the Webhook URL into the Messaging endpoint field.
  4. Enable the Streaming Endpoint and select Apply.
3

Test the agent in Teams and Copilot

  1. Open Teams and go to Apps.
  2. Search for the published application, open it, and select Add. To test in Copilot, select Open with Copilot.
  3. Trigger the configured queries and verify the Artemis response.

Key values reference

Manage the channel connection

Opening a channel from Deployments -> Channels -> MESSAGING -> Microsoft Teams shows four tabs: Overview, Credentials, Configuration, and Deployment.
The Connection Summary shows these fields.Under Setup Instructions, the tab shows the Webhook URL to set as the bot’s messaging endpoint in Azure, the Bot App ID for reference, and the Require verified Teams identity toggle.

Require verified Teams identity

Turn this on to require Microsoft-resolved Teams profile identity before the connection starts or resumes a session. Leave it off for baseline Teams conversations.When the toggle is on, Runtime resolves the sender’s Microsoft profile email or UPN through the Bot Connector member endpoint before it allows the turn. If the identity can’t be resolved, the turn doesn’t proceed. This confirms that the person on the other end is the Teams user their profile claims they are, which matters for agents that act on a user’s behalf or return information scoped to that user.The toggle relies on the credentials already configured for this connection or its selected auth profile, and on the bot staying installed and reachable in Teams. It doesn’t use Microsoft Graph consent, OBO settings, or Graph scopes.The Stronger identity verification setup panel below the toggle lists the specific requirements to complete when you enable it.