Microsoft Teams Connector 25.4
Microsoft Teams Connector Help

# TeamMessageRetrievalMethod

Specifies how to retrieve messages from Teams channels. You can set this parameter to one of the following values.

- `Crawl` - This is the default method. The connector crawls every team, channel, and message on each synchronize cycle, and keeps track of the messages that it has seen.

- `Export` - The connector requests information about messages that were added, updated, or deleted since the last synchronize cycle. This is more efficient and can reduce the amount of time required for an incremental synchronize.

  NOTE: To use `TeamMessageRetrievalMethod=Export` you must have an appropriate Microsoft 365 license that allows you to use the channel: getAllMessages endpoint. This might require payment to Microsoft (see the Microsoft documentation and use the parameter ModelLicense to specify your license model). You must also have a service application that satisfies the Teams Export APIs prerequisites at https://learn.microsoft.com/en-us/microsoftteams/export-teams-content. For information about setting up a service application, see Set up an OAuth Service Application.

Type: | String
Default: | Crawl
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `TeamMessageRetrievalMethod=Export`
See Also: | ModelLicense

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Microsoft Teams Connector 25.4

Topic Title: TeamMessageRetrievalMethod