Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Message → Export All Messages (Metered)

AI-generated

Summary

Exports a user's Microsoft Teams chat messages through the metered Microsoft Graph export endpoint. Use the date range and model to filter the export, then either retrieve all pages automatically or resume from a supplied next link.

Inputs

  • Count — Number of messages requested per page (default 10; range 1–50).
  • From DateTime — Optional ISO 8601 start time for the export.
  • Model — Payment model for the metered endpoint: Evaluation (default), Model A, or Model B.
  • Return All — When enabled, automatically follows pages to retrieve all matching messages. Defaults to false.
  • Next Link — Optional @odata.nextLink used to continue an earlier export when Return All is disabled.
  • To DateTime — Optional ISO 8601 end time for the export.

Output shape

A single result containing the Graph export response, including the returned messages and pagination data when provided.

The export is scoped to chat messages for the user associated with the Teams credentials; this operation does not expose a User ID input. The endpoint is metered, and page size, date filters, model, and next link are passed to it.

Links

Discussion