Skip to main content

Prerequisites

This guide is for Langdock administrators. If you’re a user looking to set up the Teams Bot, share this page with your workspace admin. In addition to Langdock admin rights, you’ll also need:
  1. Admin access to the Teams Admin Center
  2. Azure admin rights
Only members of your Langdock workspace whose Microsoft user principal name matches their Langdock email or stored User Principal can chat with the Teams Bot. Adding someone to the workspace does not set their User Principal.

Step 1: Locate Langdock Application

In the Teams Admin Center, navigate to Teams apps > Manage apps and search for “Langdock”.

Step 2: Configure App Availability Settings

  1. Click on the Langdock application to open its settings
  2. In the Users and groups tab, click Edit availability to configure who can access the app (organization-wide, specific groups, or blocked)

Step 3: Review App Permissions

  1. Navigate to the Permissions tab
  2. Have your Azure admin consent to the required permissions
Teams admins are not necessarily Azure admins. Make sure the person with Azure admin rights completes this step.

Step 4: Configure App Setup Policies

  1. Navigate to Teams apps > Setup policies
  2. Select Global (Org-wide default) (or your preferred policy)
  3. In the Installed apps section, click Add apps
Pro tip: Enable User pinning so users can pin the Langdock app to their Teams sidebar for quick access.

Step 5: Add Your App to the Setup Policy

  1. Search for “langdock” and select the application
  2. Click Add
  3. (Optional) Add Langdock to Pinned apps for easy access
  4. Click Save

Step 6: Connect Your Langdock Workspace

  1. Go to Add-ins in your Langdock workspace settings
  2. Click Connect next to Microsoft Teams bot
  3. Repeat this step for any additional Langdock workspaces you want to make available in Teams
  4. When the card shows the count, for example 1 Microsoft organization connected, click Add organization and choose the Microsoft account for the organization you want to add
  5. If the Microsoft Teams bot card on Add-ins shows Connection expired, please reconnect, click Reconnect to run the connect flow again
Microsoft Teams bot card on Add-ins with 1 Microsoft organization connected, Add organization, and Disconnect Microsoft Teams bot card on Add-ins with the connection expired warning and Reconnect button
You need admin access to your Langdock workspace to complete this step. Each workspace that should be available in the Teams Bot must be connected separately. Add organization connects another Microsoft organization in this workspace, separate from another Langdock workspace and from Reconnect. The warning appears after someone messages the bot.If your Microsoft user principal name differs from your Langdock email, Connect stores it as User Principal on your own account when that field is empty and the domain is Verified under Workspace > Security > Email domains (on a dedicated deployment, listing the domain there is enough). See the SAML setup guide to add and verify a domain.Workspace admins cannot manually set or edit User Principal for themselves or other members. Once stored, it appears read-only under Account > Profile. Signing in to Langdock with Microsoft stores or updates a member’s User Principal. SAML and SCIM do not.
Done! Users in your workspace whose Microsoft organization is connected can use the Langdock app in private Chat or in your Teams Channel by tagging @Langdock. For a detailed guide on how to use the Langdock app in Teams, please refer to the Langdock Teams Bot User Guide.
For additional support or questions about the Teams Bot setup, please contact your Langdock administrator or reach out to support@langdock.com.