Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt

Use this file to discover all available pages before exploring further.

Connect your Idun agent to Microsoft Teams so users can interact with it through @mentions and direct messages. The integration is single-tenant: each deployment registers its own Microsoft app in its own Azure AD and runs its own engine against it.

Prerequisites

  • A running Idun agent (engine)
  • An Azure tenant where you can register an application
  • Your engine must be publicly reachable (use ngrok or Bot Framework’s tunnel for local development)

Setup

1

Open the integrations admin page

Navigate to /admin/integrations/ in the running standalone. The channel catalog shows WhatsApp, Discord, Google Chat, Slack, and Microsoft Teams as active channels.
2

Create the Teams integration

Click Microsoft Teams and fill in the credentials from your Azure AD app registration.
FieldValue
app_idMicrosoft App ID (the Application/Client ID from the Azure AD app registration)
app_passwordClient secret from the Azure AD app registration
app_tenant_idAzure AD tenant ID that owns the app registration
Add Microsoft Teams integration
3

Save

Save the form. The reload pipeline registers the Teams webhook handler on the running engine; the agent now responds to messages forwarded by the Bot Framework.

How it works

  1. User sends a message in Teams (DM or @mention in a channel)
  2. Bot Framework POSTs the activity to your engine’s /integrations/teams/messages webhook
  3. The engine validates the Bot Framework signature against the configured tenant + app credentials
  4. The engine invokes the agent with the message text
  5. The engine sends the agent’s reply back through the Bot Framework adapter
Session tracking: the Teams user identifier is used as the session ID, so conversation context is maintained per user across messages.

Next steps

Slack

Connect your agent to Slack DMs and channels.

Discord

Reach the same agent through Discord slash commands.

Production hardening

Secure the engine before exposing webhooks to the public internet.
Last modified on May 20, 2026