Connect Microsoft Teams to give Dosu access to knowledge from your channel conversations and a place to answer questions where your team already works. This page covers what the connection gives you, what you need, how to set it up, and what Dosu does with Teams data.
What connecting Microsoft Teams gives you#
Microsoft Teams works two ways in Dosu, and you can use either or both.
- As a Source, Dosu reads the conversations in the channels you connect to and uses that knowledge to answer questions and write Documents. Sources are read-only.
- As an Agent, Dosu joins the channels you choose and answers questions in the conversation, either when mentioned or as a drafted or automatic reply. Agents can post back.
Connecting Teams brings the decisions, fixes, and team knowledge buried in chat into the same knowledge base as your code and your other Sources, so people and coding agents can find them later.
Availability and prerequisites#
- Microsoft Teams is not yet generally available. It requires the Teams plan and is set up with help from Dosu, so contact Dosu for access. To compare plans, see the pricing page.
- You need a Microsoft 365 tenant with Teams.
- You need permission in Microsoft Teams to add the Dosu app to a team.
- You need an Owner or Admin role in your Dosu organization to create or change an Agent.
How to connect#
Microsoft Teams uses a guided setup. Adding it involves registering your Microsoft tenant with Dosu and installing the Dosu app in Teams, so plan to make the initial connection with help from Dosu.
- Open Agents and choose Microsoft Teams. If your organization is not on the Teams plan yet, Dosu will prompt you to upgrade in Settings, Organization, Billing.
- Register your Microsoft tenant with Dosu so the Dosu app can connect. Have your Microsoft 365 tenant ID ready.
- Add the Dosu app to the team you want Dosu in. During installation, grant the requested permission so Dosu can read messages in the channels where it is added.
- Once the app is installed, Dosu syncs the list of channels in that team and shows them in Dosu.
- Create an Agent for the specific channels Dosu should respond to, and choose the reply mode (mention only, draft a reply, or auto-reply).
- To use channel history as knowledge, add Microsoft Teams as a Source inside a Library. Open or create a Library at Libraries and add the Source there.
You can connect multiple Teams workspaces to a single Dosu organization by repeating the registration process for each tenant.
What Dosu does with it#
- Reading channels. As a Source, Dosu reads conversations in connected channels and uses them to answer and write Documents. Both standard and private channels are supported.
- Answering in Teams. As an Agent, Dosu replies in the channels you configure. Ask by mentioning Dosu or by posting a question, and Dosu answers from your connected knowledge.
- Sync cadence. Teams channel data syncs by polling, about every six hours, so newly posted messages become available to Dosu on that schedule rather than the instant they are sent.
Notes and limits#
- Channels are not answered automatically. Dosu only acts in a channel once you create an Agent for it.
- If the bot is not responding, confirm the Dosu app is installed in that Teams workspace and added to the specific channel.
- Slack is the other chat Source and Agent on the Teams plan, and it syncs in real time. If you want immediate ingestion, see Slack.
- Drafts stay in your control. Review what Dosu plans to post before it goes out on the Review page. See Review.