Build message extensions for Microsoft Teams and Microsoft Copilot for Microsoft 365

Microsoft Teams

Learn how to build message extensions that allow users to interact with external services within their flow of work in Microsoft Teams and Microsoft Copilot for Microsoft 365.


This content was partially created with the help of AI. An author reviewed and revised the content as needed. Read more.

Learning objectives

After completing this module, you should be able to:

  • Identify the appropriate type of message extension command for an app scenario.
  • Create an action-based message extension.
  • Create a search-based message extension.
  • Describe considerations for building message extensions to be used as plugins for Copilot for Microsoft 365.


  • Basic understanding of Microsoft Teams apps and their components, including adaptive cards and task modules
  • Ability to program with JavaScript, TypeScript, and Node.js
  • Experience using Visual Studio Code at the intermediate level