Exchange Web Service Connector 25.4
Exchange Web Service Connector Help

# FolderMustHaveRegex

A regular expression to restrict the folders that are processed.

Folders with paths that match the regular expression are processed.

Folders with paths that do not match the regular expression are excluded. If a folder is excluded by this parameter, its subfolders are not excluded unless they also have paths that do not match the regular expression.

To exclude a large number of folders, consider using `FolderMustHaveRegexToCrawl`.

Type: | Regular Expression
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: |
    FolderMustHaveRegex=^//Top of Information Store/Inbox/Folder(/.*)?$
The connector only retrieves messages from `//Top of Information Store/Inbox/Folder` and its subfolders.
    FolderMustHaveRegex=^//Top of Information Store/Inbox/Folder$
The connector only retrieves messages from `//Top of Information Store/Inbox/Folder`. The connector does not retrieve items from subfolders of `Folder`.
See Also: | FolderCantHaveRegex FolderCantHaveRegexToCrawl FolderMustHaveRegexToCrawl

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 Exchange Web Service Connector 25.4

Topic Title: FolderMustHaveRegex