Skip to main content

OneDrive 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
Entra ID Group✅❌Restrict crawling to only drives owned by members of a specific Azure AD group (Product Access Group).

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 this restriction, use the following config key:

  • Entra ID Group: productAccessGroupIds

OneNote​

OneNote notebooks stored in OneDrive inherit the same crawling restrictions as OneDrive. Restrictions applied to a user's OneDrive also apply to their OneNote notebooks. For more information, see OneNote.