List Chat Messages

Retrieve and filter Microsoft Teams chat messages by creation date.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/naftiko/microsoft-teams-sandbox --skill list-chat-messages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: List Chat Messages
Source: https://github.com/naftiko/microsoft-teams-sandbox/tree/main/skills/list-chat-messages
Command: npx skills add https://github.com/naftiko/microsoft-teams-sandbox --skill list-chat-messages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows users to easily retrieve messages from specific chat conversations within Microsoft Teams, providing a way to access historical communication.

Core Features & Use Cases

  • Access Chat History: View messages within a particular Teams chat.
  • Filter and Sort: Optionally limit the number of messages and sort them by creation date.
  • Use Case: A project manager needs to quickly review the discussion history for a specific project chat to catch up on decisions made.

Quick Start

List the 10 most recent messages from the chat with ID 'chat-123'.

Frequently Asked Questions about List Chat Messages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve Microsoft Teams chat messages for a specific conversation?

To retrieve Microsoft Teams chat messages, you need the chat's unique identifier and an access token with the Chat.Read scope. The Skill fetches the communication history and allows you to filter results by count and sort by creation date.

What do I need to access chat history in Microsoft Teams?

You need a valid access token configured with the Chat.Read scope and the unique identifier for the target Teams chat conversation to successfully access chat history and retrieve messages.

Can I filter and sort messages when listing Teams chat history?

Yes, you can filter Teams chat history by limiting the number of messages returned and sort the retrieved messages by their creation date to view the most recent communication.

How does listing chat messages help with project management?

Listing chat messages allows project managers to quickly review the discussion history within a specific Teams chat, helping them catch up on decisions made and track project communication.

Is there a limit to the number of messages I can pull from a Teams chat?

You can optionally limit the number of messages returned by specifying a filter for the number of results when retrieving the chat history from your specified Microsoft Teams conversation.

Why does accessing Teams chat messages require a specific chat ID?

Accessing Teams chat messages requires a specific chat ID because the system needs the exact unique identifier to target and retrieve the correct communication history from the specified conversation.