Deploy agent to Microsoft Teams

Scenario

In this exercise, you will:

  • Deploy an agent to the Microsoft Teams channel

This exercise will take approximately 10 minutes to complete.

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 the back arrow in the top-left of the pane.

  7. Select See agent in Teams

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

  9. Select Use the web app instead.

  10. Select Add.

    Screenshot of dialog to add the app to Teams.

  11. In the left-hand rail in Microsoft Teams, select the ellipses (…) to View more apps and search for Real Estate.

  12. Select the Real Estate Booking Service.

  13. Test the agent.

    Screenshot of the agent in Teams.