Skip to main content

Teams crawl restrictions

  • Greenlist restrictions permit crawling only for the specified content.
  • Redlist restrictions prohibit crawling for the specified content.
Restriction TypeGreenlistRedlistDetails
Time-based RestrictionsRestrict crawling to include/exclude content created/modified/viewed after a certain date.
Identity-based RestrictionsRestrict crawling to include/exclude content created/modified/viewed by specific users or a specific group (plus public content).
Content-based RestrictionsRestrict crawling to include/exclude specific content, documents, messages, or objects.

Supported restrictions

RestrictionGreenlistRedlistDetails
Channel message ageSet the maximum age of channel messages to crawl, specified in seconds. Messages older than this limit will not be indexed.
Entra ID GroupRestrict 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 ageSet the maximum age of private chat messages to crawl, specified in seconds. Messages older than this limit will not be indexed.
TeamRestrict crawling to specific teams by Team ID.
ChannelRestrict crawling to specific channels within teams.

Limitations

Apply restrictions

MethodSupportedDetails
Admin UIRestrictions can be applied in the Admin UI under the connector settings.
Glean SupportRestrictions 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