Real Studios

Microsoft Teams Chatbot: How UK Businesses Build One

Watercolor title card with clear center

A Microsoft Teams chatbot is an app that answers questions and completes tasks inside Teams chats and channels, so staff never have to leave the tool they already use. You can build one in three ways: a no-code agent in Copilot Studio, custom code on the Teams SDK, or simple webhooks and connectors. The right route depends on how much data the bot must reach and how much control you need.

This guide covers what a Teams chatbot does, how the build options compare, how to publish it, how to run a helpdesk bot with human escalation, and what to check on security and cost before launch.

TL;DR

  • A Teams bot is a text-based app inside Teams. An AI-powered bot understands natural language and handles more tasks than a rule-based one.
  • Pick the build route by need: no-code for simple FAQs, the Teams SDK for custom logic and integrations, webhooks for basic notifications.
  • A helpdesk bot works best when it answers common questions itself and hands over to a person, with a summary, when it cannot.
  • Check data access, authentication limits in group chats, admin approval and contract terms before rollout.
  • Fixed scope, a working demo and post-launch support make the project far easier to run.

Table of Contents

What a Microsoft Teams chatbot actually is

Microsoft describes bots as software applications that interact with users through text-based conversations. Some follow predefined rules to answer questions or do specific tasks. AI-powered bots use artificial intelligence to understand natural language, hold more complex conversations and handle more tasks. They range from basic scripts to systems that learn and adapt.

The same Microsoft page lists the business benefits: automating repetitive tasks, working round the clock, managing several tasks at once, giving instant responses and scaling as needs grow.

A bot can sit in a one-to-one conversation, a group chat or a channel. Users interact through text, interactive cards and task modules. A ShareGate guide notes that the value lies in staying in context: instead of switching apps, you talk to the bot and it passes the information to the relevant system.

Common business uses

  • IT and HR helpdesk: answering password, policy and onboarding questions.
  • Workflow triggers: starting an approval, logging a request or raising a ticket from a chat message.
  • Knowledge search: answering questions from internal documents.
  • Notifications: posting alerts from other systems into a channel.

Bot or agent: what changed

Microsoft now uses the word agent for the newer generation. Agents in Teams are conversational apps built with the Teams SDK. They use natural language through a large language model, connect to business data and perform actions on behalf of users. Examples include summarising conversations, drafting documents, managing tasks and automating processes.

In practice, the difference is this. A classic bot matches a question to a scripted answer. An agent interprets the request, looks up data and takes action. Most businesses searching for a Teams chatbot today want the second kind, even if they use the first word.

Three ways to build a Teams chatbot

Microsoft's documentation on bots and SDKs sets out the options. The Bot Framework SDK supports C#, Java, Python and JavaScript. Power Virtual Agents offers a guided no-code interface that can integrate with Teams. Webhooks and connectors cover basic interactions and simple workflows.

RouteBest forSkills neededLimits
No-code agent in Copilot StudioFAQs, simple internal Q&A, quick pilotsBusiness user or makerConstrained by the platform's connectors and channel rules
Custom agent on the Teams SDKCustom logic, several data sources, bespoke handoverDevelopers, Azure hostingMore build and maintenance effort
Webhooks and connectorsOne-way alerts, simple triggersMinimalNo real conversation

No-code with Copilot Studio

Makers with a Teams plan can use Copilot Studio to build classic agents for Teams with built-in natural language processing and a graphical interface. To publish, the maker selects Publish, opens the Channels page, chooses the Microsoft 365 and Microsoft Teams channel and shares the agent with the organisation, which needs admin approval.

This route suits a first pilot, such as an internal HR FAQ. It gets quickly to a working version, but it works within the platform's boundaries.

Custom code on the Teams SDK

A custom bot has three parts: a Teams app package connecting the client to a web service, a Bot Framework registration, and a publicly accessible web service that you host. Microsoft's quickstart explains that Teams must reach your bot over public HTTPS. During development you start a tunnel such as Dev Tunnels or ngrok, then run the registration command, which returns a Teams app ID and an install link and writes credentials to your environment file.

Teams chatbot components and development connections

In the TypeScript quickstart, the bot reads credentials from the environment file, handles incoming messages through a message handler and replies in the same conversation.

To configure a bot as a capability in an existing Teams app, you need the app manifest, a Microsoft 365 account for testing and an Azure account. The bot capability is set in the manifest with a bot ID and scopes such as group chat.

Choosing your AI layer

The Teams SDK has moved away from its own AI libraries. Microsoft's AI integrations guide says the SDK deprecated those packages in favour of dedicated AI frameworks. The recommended pattern is to bring the OpenAI SDK or any other framework and wire MCP and A2A directly into the Teams app.

For developers, the AI agent sample walkthrough shows the split of work. The chat client runs the agent loop, including model calls, tool calls and conversation history, while the Teams SDK handles activity routing, streaming and Teams-native features such as Adaptive Cards and feedback controls.

This split matters for model choice. Because the AI stack is yours to select, you can match the model to the task and the data, rather than accept a fixed one.

What you need before you start

At a minimum, Microsoft's app creation guide says you need a Microsoft 365 organisation with custom app uploading enabled, or a development organisation, plus a way to deploy and host web services. Local work can use a tunnel. Production should run on a cloud provider such as Azure, and web services must be publicly accessible over HTTPS.

A practical checklist for UK teams:

  1. Confirm your tenant admin allows custom app uploads.
  2. Name an owner for the bot, someone who maintains answers and approves changes.
  3. List the systems the bot must read from or write to.
  4. Decide which questions it answers alone and which go to a person.
  5. Agree where the bot is hosted and who pays for it.

Publishing and distribution

The same guide lists three ways to distribute a custom app. You can publish to the public app store, which requires a rigorous review. You can publish to your organisational app catalogue, where a tenant administrator uploads the app and anyone in the organisation can install it. Or you can share the package directly with users, which suits limited audiences and testing.

For an internal bot, the organisational catalogue is the usual choice. For Copilot Studio agents, Microsoft's publishing page says you must publish at least once before users can interact with the agent, and the organisation must allow Power Platform apps to be added to Teams. Admins manage agents in the Built for your org section of the Teams admin centre.

Building a helpdesk bot that escalates well

A helpdesk bot earns trust when it knows its limits. The pattern that works has three parts.

  1. Answer the top ten. Start with the questions your service desk gets most: password resets, VPN access, leave policy, expenses, device requests.
  2. Take action where safe. Let the bot raise a ticket, book a slot or start an approval, with the request details captured from the conversation.
  3. Hand over cleanly. If the user asks for a person, or the bot cannot resolve the issue, pass the case to staff along with the context.

Microsoft's GenesysHandoff sample shows the handover pattern. A Copilot Studio agent in Teams hands a conversation to a live agent in Genesys Cloud. The user stays in the same Teams chat, an Escalate topic fires on phrases such as asking for a human agent, and a conversation summary goes to the person so the user does not repeat themselves. Your service desk tool will differ, but the design principle carries across: keep the user in one chat and send the summary with the case.

The AI integrations guide describes two further patterns. Turning your bot into an MCP server lets external agents reach real users through Teams chat with tools such as find user, notify, ask and request approval, which suits human-in-the-loop workflows. With the A2A protocol, two Teams bots, each backed by its own agent, can hand users to each other and open a proactive chat so the conversation continues.

Measuring a helpdesk bot

Track a few numbers from week one:

  • Share of questions resolved without a person.
  • Share of conversations escalated, and why.
  • Time from escalation to first human reply.
  • Questions the bot could not match, which become next month's content.

Integrating with Outlook, Planner and other tools

A common request is a bot that works with Outlook and Planner, for example logging a tech support request as a task. The mechanics are the same for any system: the bot receives a message, decides what the user wants and calls the other tool through its API or a workflow layer. What matters is getting the workflow design right, because a bot that writes to several systems needs to handle failures and repeat requests without creating duplicates. This is the point made in cross-app workflow design, where idempotency comes before any AI agent touches the process.

Before you connect a system, define:

  • What the bot may read, and what it may change.
  • Which actions need a human approval step.
  • What happens if the downstream system is unavailable.
  • How an incorrect action is reversed.

Our automations and workflow design service covers this layer: mapping the process, connecting the systems and building in approvals.

Security, privacy and operating limits

Security decisions belong at the start, not after a pilot. Three points from Microsoft's documentation affect design directly.

  • Group chats and channels. Copilot Studio agents cannot use knowledge sources that need end-user authentication, such as SharePoint, in Teams group chats and channels. Microsoft says this is by design to prevent unintended data exposure. These agents are supported only in one-to-one chats, and group and meeting chats do not support agents configured for manual authentication with single sign-on.
  • Rate limiting. Teams applies rate limiting to agents, so Microsoft suggests keeping agent content concise where business needs allow.
  • Sign-out. If your agent supports user authentication, users cannot explicitly sign out. This affects Teams Marketplace certification, though not personal or tenant use.

For organisations in regulated sectors, or those that need data to stay in a controlled environment, a private AI chatbot deployment raises useful questions about where models run and who can access them.

As a UK business you also have data protection duties for any personal data the bot handles. Involve your data protection lead before launch so that the data the bot can reach, how long conversations are kept and how requests for access are handled are all decided in advance.

What to check on cost and contracts

Bot projects have three cost layers: the platform licences you already pay Microsoft, any usage-based charges for agent platforms or model calls, and the build and support fees from your delivery partner. Licensing and pricing change often, so confirm current figures on Microsoft's own pricing pages for your plan.

The ICAEW checklist for implementing software gives a sound list for any supplier. Check that the software meets regulatory and legal requirements. Look at pricing, including trial periods, notice periods, contract length, automatic renewals and the risk of price rises mid-contract or after it. Review service level agreements, including data access fees, bespoke report development and audit support charges.

What to check on cost and contracts

For a delivery partner, ask for a defined scope, a fixed price against that scope, clear ownership of what is built and a support arrangement after launch.

Our perspective

Most Teams chatbot projects stall for the same reason: the bot is built before the process is understood. A bot that answers questions from a document set is a start. A bot that resolves a request, updates the right systems and knows when to hand over is what changes how a team works.

We build agents on the stack that suits the job. That can mean a quick MVP so a team sees a working demo within days, followed by a production build with proper integrations, approvals and support after launch. We believe in fixed pricing, GDPR-conscious design and full client ownership of what we deliver, so you are never locked into a black box.

Teams is where your staff already work. Putting a well-designed agent there, connected to your real data and processes, is one of the fastest routes to measurable efficiency.

Oded

Plan a Teams chatbot with Real Studios

We are a Manchester-based AI consultancy building tailored AI agents, automations and integrations for UK businesses. If you want a Teams chatbot for helpdesk, internal knowledge or workflow requests, our AI Integrations and Enablement service connects agents to the systems you use, and our Rapid MVPs offer gets a working demo in front of your team quickly. See everything we offer on our services page.

FAQ

Can I build a Microsoft Teams chatbot without coding?

Yes. Makers with a Teams plan can use Copilot Studio to build agents with a graphical interface and built-in natural language processing, then publish them to Teams. Publishing to the organisation needs admin approval. For custom logic, several data sources or bespoke handover, a code-based build on the Teams SDK gives you more control.

What is the difference between a Teams bot and a Teams agent?

A classic bot follows predefined rules to answer questions or do set tasks. An agent uses a large language model to understand natural language, connects to business data and takes actions for users. Microsoft documents agents as apps built with the Teams SDK.

Can a Teams helpdesk bot pass a conversation to a person?

Yes. A common design keeps the user in the same Teams chat, triggers an escalation when the user asks for a human, and passes a conversation summary to the staff member. Microsoft's Genesys handoff sample shows this pattern for a Copilot Studio agent.

Does a Teams chatbot work in group chats and channels?

It can, with limits. Copilot Studio agents cannot use knowledge sources that need end-user authentication, such as SharePoint, in group chats and channels. Agents using manual authentication with single sign-on are not supported there, so plan for one-to-one chats where those sources matter.

Where should the bot be hosted?

For local development, a tunnelling service such as ngrok is fine. For production, Microsoft advises deploying to a cloud provider such as Azure. The web service must be publicly accessible over HTTPS.

Sources

Recommended

All guides