Skip to main content

Each message in a channel (Teams)

Go through a Teams channel's posts (as Get channel messages reads them), one a turn: id, created, from, subject, text, body, content_type, reply_to_id, web_url.

Loop type in the Microsoft 365 toolkit · id ooa.microsoft365/channel_messages · 6 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoMicrosoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Team IDStringYesTeam id.
Channel IDStringYesChannel id.
SinceDateTimeNoOnly posts created at or after this time (UTC); all posts when empty.
Maximum resultsNumberNo100Most posts to go through.
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.