Introduction

Users can interact with your Microsoft Teams apps though buttons and forms in the Microsoft Teams client. Messaging extensions enable users to execute search queries or trigger actions in external systems. The results of these actions are sent from your custom web service to the Microsoft Teams client as embedded web pages or richly formatted cards.

In this module, you'll learn how to create different types of messaging extensions in a custom Microsoft Teams app.

Prerequisites

  • Experience using Microsoft Teams at the intermediate level
  • Ability to program with JavaScript, TypeScript, and Node.js
  • Experience using Visual Studio Code at the intermediate level
  • Access to a Microsoft 365 tenant
  • Access to a Microsoft Azure subscription

Learning objectives

  1. Demonstrate how to create an action-based messaging extension for Microsoft Teams
  2. Demonstrate how to create search-based messaging extension for Microsoft Teams
  3. Demonstrate how to unfurl a URL with messaging extension for Microsoft Teams

Additional resources

Refer to the following repository for additional resources associated with this module. This repository includes completed code samples from the exercise units found in this module: 20 Task-oriented interactions in Microsoft Teams with messaging extensions.

This module is also available as the screencast Task-oriented interactions in Microsoft Teams with messaging extensions.