Message extensions for Microsoft Copilot for Microsoft 365

What are message extensions?

Message extensions are a powerful feature in Microsoft Teams, as well as in Outlook, designed to facilitate user engagement with your web service. Additionally, they allow users to interact with your app directly from the chat interface.

These interactions are typically triggered via buttons and forms within Microsoft Teams and Outlook clients. This mechanism allows users to search or initiate actions in an external system, right from the compose message area, or even directly from a message. The outcomes of these interactions are delivered back to the client in the form of a richly formatted card.

Important

Message extensions are available in Government Community Cloud (GCC), GCC-High, and Department of Defense (DOD) environments.

Watch the overview

Message extension with Copilot

With the introduction of Copilot for Microsoft 365, the game has changed. Users can now leverage natural language input to invoke a message extension's search function, bypassing the need for specific user-interface (UI) commands. In essence, your users’ words become the catalyst for Copilot’s actions, calling the appropriate plugin for their request.

Important

  • Plugins for Microsoft Copilot for Microsoft 365 are in public preview and only work in Microsoft 365 Chat in Microsoft Teams.
  • The capability is enabled by default in all Microsoft 365 Copilot licensed tenants. Admins can disable this functionality on a user and group basis and control how individual plugins are approved for use, and which plugins are enabled. For details see: Manage Plugins for Copilot in Integrated Apps.

The following illustration shows how a user interaction with a message extension on Teams client and Copilot for Microsoft 365 differ:

Illustration of two different user experiences for message extensions,  one way is to invoke from Teams client and another is with Copilot

Your users can do so much more than just getting search queries. With the integration of message extensions and Copilot for Microsoft 365, they can ask all sorts of follow-up questions. As Copilot is powered by Generative AI, it can understand, summarize, predict, and generate content across a multitude of Microsoft 365 applications, thereby boosting user productivity and creativity.

A user can ask about what’s in stock for a product, then, for example, she can also request Copilot to populate a table with various products. Moreover, she can even instruct Copilot to draft an email summarizing the inventory as a reminder for the supplier!

Build message extensions using Bot Framework

There are a few ways to build message extensions, but to extend the capabilities for Copilot, you need to built one with Bot Framework SDK, commonly used to create a variety of bots, including Teams bots.

For development, you can use Teams Toolkit for Visual Studio Code to build your message extensions. The toolkit helps you to create a project by scaffolding a template that suits your needs!

Next step

Get ready to build plugins for Copilot for Microsoft 365: