Actions57
- Card Actions
- Card Builder Actions
- Channel Actions
- Chat Actions
- Message Actions
- Analyze Reactions
- Delete
- Delta (All Chats)
- Export All Messages (Metered)
- Export Retained Messages (Metered)
- Generate Thumbnail
- Get
- Get Many
- Get Pinned Messages
- Get Reaction Analytics
- List Messages
- List Replies
- Monitor Upload
- Pin Message
- Pin Channel Message
- Process File
- Reply
- Reply with Attachment
- Send
- Send and Wait
- Send File Link
- Send with Attachment
- Set Reaction
- Soft Delete
- Undo Delete
- Unpin Message
- Unpin Channel Message
- Unset Reaction
- Update
- Upload to OneDrive
- Subscriptions Actions
- Team Actions
- User Actions
Message → Export Retained Messages (Metered)
AI-generatedSummary
Exports retained Microsoft Teams chat messages for a specified user through the metered Microsoft Graph export endpoint. Optionally filters by date range and model, and can fetch additional pages automatically or continue from a supplied next link.
Inputs
- User ID (required) — Microsoft Entra user ID whose retained chat messages to export.
- Count — Number of messages requested per page; defaults to 10 and accepts 1–50.
- From DateTime — Optional ISO 8601 start time for the export filter.
- To DateTime — Optional ISO 8601 end time for the export filter.
- Model — Payment model for the metered export endpoint: Evaluation (default), Model A, or Model B.
- Return All — When enabled, retrieves pages automatically; may return a large result. Defaults to false.
- Next Link — Optional @odata.nextLink used to continue an earlier export when Return All is disabled.
Output shape
A list of exported message records.
With Return All enabled, the operation follows pagination and returns records from all retrieved pages; otherwise it returns the current page. The export is metered and may depend on the selected model and Graph API permissions.