Skip to main content

Teams crawl restrictions

  • Use Greenlist restrictions to allow crawling only for content that you specify.
  • Use Redlist restrictions to prevent Glean from crawling content that you specify.
Restriction TypeGreenlistRedlistDetails
Time-based Restrictions✅❌Restrict crawling to include/exclude content created/modified/viewed after a certain date.
Identity-based Restrictions✅❌Restrict crawling to include/exclude content created/modified/viewed by specific users or a specific group (plus public content).
Content-based Restrictions✅❌Restrict crawling to include/exclude specific content, documents, messages, or objects.

Supported restrictions​

RestrictionGreenlistRedlistDetails
Channel message age✅❌Set the maximum age of channel messages to crawl, specified in seconds. Messages older than this limit will not be indexed.
Entra ID Group✅❌Restrict crawling of direct messages to only users in a specific Azure AD group (Product Access Group). All public channels will still be crawled.
Private chat message age✅❌Set the maximum age of private chat messages to crawl, specified in seconds. Messages older than this limit will not be indexed.
Team✅❌Restrict crawling to specific teams by Team ID.
Channel✅❌Restrict crawling to specific channels within teams.

Limitations​

Apply restrictions​

MethodSupportedDetails
Admin UI❌Restrictions can be applied in the Admin UI under the connector settings.
Glean Support✅Restrictions can be applied by Glean support on request.
note

When contacting Glean Support to apply these restrictions, use the following config keys:

  • Entra ID Group: productAccessGroupIds
  • Team: teamsGreenlist
  • Channel: channelsGreenlist
  • Private chat message age: crawl.privateChatsMaxAgeSecs
  • Channel message age: crawl.channelMessagesMaxAgeSecs
Was this page helpful?