Deploy agent to Microsoft Teams

Scenario

In this lab, you will:

  • Create agent actions

What you will learn

  • How to deploy an agent to Microsoft Teams

High-level lab steps

  • Publish
  • Deploy agent to Microsoft Teams

Prerequisites

  • Must have completed Lab: Use Generative AI in Microsoft Copilot Studio

Detailed steps

Exercise 1 - Publish the agent

Task 1.1 - Publish the latest content

  1. Navigate to the Microsoft Copilot Studio portal https://copilotstudio.microsoft.com and ensure you are in the appropriate environment.

  2. Select Agents from the left navigation pane.

  3. Select the agent you created in the earlier lab.

  4. Select Publish and select Publish again.

    Note: Publishing can take a few minutes.

Exercise 2 - Channels

With your agent published, you can make your agent available to users in Teams. This way you, your teammates, and your broader organization can interact with it.

Task 2.1 - Microsoft Teams channel

  1. With your agent open in Microsoft Copilot Studio, select the Channels tab.

  2. Select the Teams and Microsoft 365 Copilot tile.

  3. Select Add channel.

  4. Select Availability options.

    Screenshot of the Teams channel availability options.

  5. Select Copy link.

  6. Select Show to my teammates and shared users.

  7. Select your user.

  8. Select the back arrow in the top-left of the pane.

  9. Select See agent in Teams

  10. Select Cancel in the dialog box for This site is trying to open Microsoft Teams.

  11. Select Use the web app instead.

  12. Select Add.

    Screenshot of dialog to add the app to Teams.

  13. Test the agent.

    Screenshot of the agent in Teams.