편집

다음을 통해 공유


Message extensions for Microsoft 365 Copilot

What are message extensions?

Message extensions are a powerful feature in Microsoft Teams, and 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 Microsoft 365 Copilot, 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

Message Extensions as Copilot plugins are currently in public preview with limited functionalities. Message extension plugins can be worked standalone in Microsoft 365 Copilot in Teams, Word and PowerPoint however, cannot be added from declarative agents.

The following illustration shows how a user interaction with a message extension on Teams client and Microsoft 365 Copilot 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 Microsoft 365 Copilot, 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 build one with Bot Framework SDK, commonly used to create various 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 Microsoft 365 Copilot: