Microsoft Teams Connector 25.3
Microsoft Teams Connector Help

# PurgeMessageStateDataOlderThan

The connector stores information about the items it has synchronized. Set this parameter to limit the size of the state datastore, by deleting the state information for messages and attachments that have a last modified date older than the specified value.

When this parameter is set, the connector deletes the old state information at the end of each synchronize cycle.

After discarding the state information, the connector no longer has a record of the messages and attachments it has ingested. This means that if a message or attachment is subsequently deleted from Microsoft Teams, the change is not detected by the connector and the corresponding documents are not removed from the index. If a message or attachment is updated, the connector considers it to be new. This might result in some documents (such as those representing deleted subfiles in a ZIP attachment) not being removed from the index.

NOTE: The connector cannot purge state information for channel messages unless you set TeamMessageRetrievalMethod to `Export`.

Type: | Time duration The value of this parameter is a time duration. Specify a value using one or more of the following units:
         years      year      y
         months     month     m
         weeks      week      w    wks     wk
         days       day       d
         hours      hour      h    hrs     hr
         minutes    minute    n    mins    min
         seconds    second    s    secs    sec
Note that months abbreviates to m, minutes to n. If you want to specify the value in seconds, units are not required. For example, all of the following are equivalent:
         1minute 3seconds
         1n 3s
         63s
         63
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `PurgeMessageStateDataOlderThan=100 days`
See Also: | DatastoreFile

Copyright 2025 Open Text
Version 25.3 | Last updated July 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.3

Topic Title: PurgeMessageStateDataOlderThan