SiteTemplateCantHaveRegex

A regular expression to restrict the content that is retrieved by the connector. If the template ID for a site matches the regular expression, the site is not indexed.

You can use this parameter to exclude SharePoint sites that are generated by Microsoft 365 applications, such as Microsoft Teams or OneDrive for Business.

Type: String (Regular Expression)
Default:  
Required: No
Configuration Section: TaskName or Fetchtasks
Example: SiteTemplateCantHaveRegex=TEAMCHANNEL#0
See Also: SiteTemplateMustHaveRegex