Teams/M365 messaging extension app handling (action-based) data retrieval and writing back
This sample is a Teams and M365 Messaging Extension app created using the Teams Toolkit with Visual Studio 2022. It is also intended to be used in Copilot. It retrieves a list of products to be further dealt with: Overview listed, order e.g. while all sent with Adaptive Cards in Teams or Outlook, resp Copilot ...
App result:
| Task Module to select a product |
|---|
![]() |
| Order Card result |
|---|
![]() |
| Order Card result in Oùtlook with weekday order option |
|---|
![]() |
| App in action |
|---|
![]() |
For further details see the author's blog post
This sample was created using the Teams Toolkit with Visual Studio 2022. Nearly the same sample was also realized with the using the Teams Toolkit with Visual Studio Code
| Version | Date | Author | Comments |
|---|---|---|---|
| 1.0 | January 31, 2024 | Markus Moeller | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone the repository
git clone https://github.com/mmsharepoint/msgext-action-search-data.git
- Open msgext-action-search-data.sln in Visual Studio 2022
- Perform first actions in GettingStarted.txt (before hitting F5)
- Now you should have prepared your app (will try local first)
- Create an Azure Data Table and put account name and insert AZURE_CONFIG_CONNECTION_STRING, AZURE_TABLE_ACCOUNTNAME and AZURE_TABLE_KEY to appsettings.json or better appsettings.Development.json
- When starting debug by F5 or "Microsoft Teams (browser)"




