Create and Set Up AI Agents in MS Teams [Step-By-Step Guide]
The integration of custom AI agents into Microsoft Teams is changing how organizations interact with their internal data. Instead of digging through endless folders and documents, teams can now rely on intelligent assistants that instantly surface the exact information they need.
When combined with Microsoft SharePoint, AI agents turn static document libraries into dynamic, searchable knowledge hubs. This means your employee handbooks, pricing sheets, reports, or even internal recipes are no longer buried in folders. They become part of an interactive system that responds to questions in real time.
Unlike general-purpose AI tools, these agents are highly focused. They only use the data you allow them to access. This ensures responses are accurate, relevant, and aligned with your organization’s internal policies. On top of that, they provide citations, so users can always verify the source of the information.
In this guide, you will learn exactly how to create and set up AI agents for Microsoft Teams using SharePoint as the backbone.
What do AI Agents in MS Teams Actually Do?
An AI agent in Microsoft Teams is essentially a smart assistant that interacts with users through chat. It can respond to queries, automate workflows, fetch data, and integrate with other tools.
These agents are typically built using tools like Microsoft Copilot Studio or Power Virtual Agents, which allow you to create conversational bots without heavy coding.
AI agents can handle tasks like answering HR questions, generating reports, scheduling meetings, or even pulling live data from systems like CRM or project management tools.
Having clarity about the purpose of your agent helps you design it better. Without this, you risk building something that is either too complex or not useful enough.
Create and set up AI agents in MS Teams [Step-By-Step Guide]

To create and set up AI agents in Microsoft Teams, select a SharePoint-based knowledge source, create and personalize the agent, configure its behavior and data access, and then deploy it to Teams for real-time interaction with users.
Let’s see in detail!
Step 1: Select Your Knowledge Base
The first and most important step is choosing the right data source for your AI agent. This determines how useful and accurate your agent will be.
Start by opening your web browser and logging into your Microsoft 365 account. From the App Launcher, also known as the waffle icon, navigate to SharePoint.
Once inside SharePoint, locate the site that contains the documents you want your AI agent to use. These could include PDFs, Excel sheets, Word documents, or even structured folders containing critical business information.
Select the specific files or folders that will act as your knowledge base. Microsoft typically allows you to select multiple items, giving you flexibility to combine different sources into a single agent.
This step is crucial because your AI agent will only respond based on the data you choose here. A well-curated knowledge base ensures that the agent provides precise and reliable answers instead of vague or irrelevant ones.
Step 2: Initialize and Personalize Your AI Agent
Once your knowledge base is ready, the next step is to create the AI agent.
After selecting your files in SharePoint, you will see an option to create an agent. Click on Create an agent or right-click on your selection and choose the same option. This action will launch a setup panel labeled as your new agent.
Now move into customization mode by clicking the Edit option. Under the Identity section, assign a meaningful name to your agent. For example, you might name it Customer Order Assistant or HR Policy Guide, depending on its role.
Next, update the icon by uploading a custom image, such as your company logo. This gives your agent a recognizable identity within Teams.
In the description field, write a short explanation of what the agent does. This helps users understand its purpose before they start interacting with it.
Personalization is not just about appearance. It directly impacts user adoption. A clearly defined and well-presented agent feels more intuitive and trustworthy to use.
Step 3: Configure Knowledge Sources and Agent Behavior
With the identity set, the next step is to refine how your AI agent works and interacts with users.
Navigate to the Sources tab in the agent editor. Here, you can review the files you initially selected. If needed, you can expand the knowledge base by adding more SharePoint sites or documents. This is useful if your agent needs access to broader information.
After configuring the data sources, switch to the Behavior tab. This is where you shape the user experience.
Start by customizing the welcome message. Instead of a generic greeting, tailor it to your department or use case. For example, a sales agent might greet users with a message about helping with pricing or product details.
Next, update the starter prompts. These are suggested questions that guide users on how to interact with the agent. Including relevant prompts makes the agent easier to use, especially for first-time users.
At the bottom, you will find the instructions section. This is where you define the agent’s personality. You can instruct it to use a casual tone, a professional tone, or something in between, depending on your company culture.
Once everything is configured, save your changes to finalize the setup.
Step 4: Add the Agent to Microsoft Teams
After setting up your AI agent, the final step is to bring it into Microsoft Teams, where users can actually interact with it.
Open the Copilot panel associated with your agent and click on the three-dot menu in the top-right corner. From there, select the option to copy a link for Teams.
Now switch to Microsoft Teams and go to the chat or channel where you want to add the agent. Paste the copied link into the message box and send it.
The agent will appear as a card within the conversation. To activate it for everyone, click on Add to this chat. This allows all members of the chat or channel to access the agent.
Once added, users can interact with the agent by typing the at symbol followed by the agent’s name. The agent will respond using SharePoint data and include citations that link back to the original documents.
This seamless integration makes the agent feel like a natural part of your team’s workflow.
FAQs
What makes SharePoint-based AI agents different from general AI tools?
SharePoint-based AI agents only use selected internal data, ensuring responses are accurate, secure, and relevant to your organization.
Can I change the tone of my AI agent?
Yes, you can modify the tone, welcome message, and personality from the Behavior tab in the agent editor.
How do users interact with the AI agent in Teams?
Users can mention the agent using the at symbol followed by its name and then type their query.
Is the data used by AI agents secure?
Yes, since the agent is built on SharePoint, it follows your organization’s existing security policies and permissions.
Can I update the knowledge base later?
Yes, you can always add or remove files from the Sources tab to keep your agent updated.
Summary
Creating AI agents for Microsoft Teams using SharePoint is one of the most practical ways to unlock the value of your organization’s data. Instead of letting important information sit unused in document libraries, you turn it into an accessible, interactive resource.
The process starts with selecting the right knowledge base, followed by creating and personalizing the agent, configuring its behavior, and finally deploying it into Teams. Each step plays a key role in ensuring your agent is both functional and user-friendly.
What makes this approach powerful is its focus. Unlike general AI tools, these agents are trained only on your data, which means they deliver precise answers with verifiable sources.
Over time, as you refine and expand your agent, it becomes more than just a chatbot. It becomes a reliable digital assistant that improves productivity, reduces manual effort, and helps your team make faster, more informed decisions.
