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