The Microsoft Teams connector synchronizes messages from Microsoft Teams channels via Microsoft Graph API.
Authentication
OAuth — requires scopes:
ChannelMessage.Read.AllChannel.ReadBasic.All
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
| Team | Selector / Input | Yes | The Microsoft Teams team |
| Channel | Selector / Input | Yes | Channel name or ID |
| Max Messages | Input | No | Maximum messages (default: 1000) |
How It Works
- Channel Resolution — Resolves channel name to ID via Microsoft Graph
- Message Fetching — Fetches messages using
$toppagination with@odata.nextLink - HTML Handling — Converts HTML message bodies to plain text
- System Filtering — Only
messageType: 'message'(no system events)
Document Format
[ISO timestamp] username: message text
[ISO timestamp] otheruser: reply textMetadata Tags
| Tag | Type | Description |
|---|---|---|
| Channel Name | Text | The Teams channel name |
| Message Count | Number | Number of synced messages |
| Last Activity | Date | Most recent message timestamp |

