Applies ToMicrosoft Teams

Agents help you to quickly get information tailored to your project, team and tasks. When you are on a SharePoint site, you can choose an agent, grab a share link, and share it in Teams (or any other Microsoft 365 apps).

Note: The agent responds based on the permissions of the person asking the question. When you share an agent with others, they can only access the sources for which they have permissions. The permissions for the sites, pages, and files included in the agent do not automatically adjust when the agent is shared. Therefore, you may need to update the sharing permissions on the agent’s resources to ensure others can fully utilize the agent.

Share an agent in Teams

Add an agent to Teams chat

You can add a Copilot agent to Teams chat for your teammates to use.

Here is how you do it:

  1. Sign into SharePoint with your work account.

  2. Select the Copilot icon at the upper right from any site, page or document library.

  3. Find the agent you want to share from the agent list. ​​​​​​​

    Note: The ready-made agent for a SharePoint Site can't be shared.

  4. Select the ellipsis (the three dots) and then select Add to Teams.​​​​​​​

    Screenshot For the landing page share in Teams

  5. After you send the share link in a group chat or meeting within Teams, you will be prompted to add the agent to the conversation.​​​​​​​​​​​​​​

    Notes: 

    • If you don't select Add to this chat, the URL will still be visible to group chat members, but you won't be able to interact with the agent in the group chat.

    • SharePoint agents are supported in Teams group chats and meetings in the desktop client and the web. In the future, we have SharePoint agents supported in Channel and Mobile. Users will also be able to chat 1:1 with agents. In addition, external/guest users will be able to interact with agents.

    ​​​​​​​​​​​​​​ screenshot of add-copilot-agent-in-Teams-chat

  6. You can now @mention the copilot to make a query just like you can @mention an individual.Screenshot of chatting with an agent in Teams.​​​​​​​

Note: Only one agent can be added at a time. If you attempt to add an agent to a group chat that already has an agent, the former agent will be removed. Multi-agent support will come in future releases.

Remove an agent from Teams

You can remove an agent under “Manage apps” in the ellipses of the thread:

  1. Locate the chat which contains the agent on in the list of chats on the left rail of the Teams client.

  2. Select the ellipses and select Manage Apps.Screenshot of managing apps in a Teams chat​​​​​​​

  3. Select the ellipses next to the agent you want to drop from the chat and click Remove. Screenshot of removing an agent from Teams.

FAQ and data handling

To learn more about agent in SharePoint, see Frequently asked questions.

For more information on how Microsoft 365 Copilot works, see Data, Privacy, and Security for Microsoft 365 Copilot.​​​​​​​

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.