Edit

Share via


Publish agents to Microsoft 365 Copilot and Microsoft Teams

Use this article to make your Microsoft Foundry agent available in Microsoft 365 Copilot and Microsoft Teams.

Prerequisites

  • Access to Microsoft Foundry
  • A tested agent that you want to publish
  • Azure subscription and permissions to create Azure Bot Service and Microsoft Entra ID apps

Publish your agent as an agent application

Note

You can also use the available C# sample to work programatically.

  1. In the Microsoft Foundry portal, select your agent version.

  2. Select Publish and create an agent application.

    A screenshot showing the button to publish an agent in the Microsoft Foundry.

  3. Select Publish again, and then select Publish to Teams and Microsoft 365 Copilot.

  4. Enter the information in the window that appears. An application ID and tenant ID will be provisioned automatically.

    1. Select Create an Azure Bot Service in the drop-down menu. An Azure Bot Service will be automatically generated.
  5. Fill in the required metadata, including a name, description, icons, publisher info, privacy policy, and terms of use.

  6. Select Prepare Agent to start packaging the agent.

  7. Once the Microsoft 365 publishing package is prepared, you can download the package for local testing or manual deployment to Microsoft Partner Center. You can also continue publishing to Microsoft Teams and Microsoft 365 Copilot.

  8. Choose your publish scope:

    Shared Scope: The agent will appear under Your agents in the agent store for Microsoft 365 Copilot.

    Organization Scope: The agent will appear under Built by your org in the agent store for Microsoft 365 Copilot. This requires admin approval in the Microsoft Admin Center.

    A screenshot showing the agent store in Microsoft 365.