Microsoft Teams (Lite) icon

Microsoft Teams (Lite)

Consume Microsoft Teams API in a admin friendly way (Lite)

Actions11

Chat Message → Get Many

AI-generated

Summary

Retrieve multiple messages from a Microsoft Teams chat.

Inputs

  • chatId (required) — Select the chat from the list, by URL, or by ID (find the chat ID after conversations/ in the URL). Modes include From List (searchable via getChats) and By ID (supports full chat ID format with URL template).
  • returnAll — Whether to return all results or only up to a given limit. Defaults to false.
  • limit — Max number of messages to return. Only shown when returnAll is false. Defaults to 50.

Output shape

array

Array of message objects from Microsoft Graph endpoint GET /v1.0/chats/{chatId}/messages. When returnAll is false, returns up to limit messages (default 50). When returnAll is true, returns all available messages paginated through the API.

Examples

Example 1: Get the 20 most recent messages from a selected chat.

Set chatId via From List or By ID, set returnAll to false, and set limit to 20.

Links

Discussion