Teams crawl restrictions
- Greenlist restrictions permit crawling only for the specified content.
- Redlist restrictions prohibit crawling for the specified content.
| Restriction Type | Greenlist | Redlist | Details |
|---|---|---|---|
| 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
| Restriction | Greenlist | Redlist | Details |
|---|---|---|---|
| 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
| Method | Supported | Details |
|---|---|---|
| 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