Type something to search...
Exceeding the SharePoint limit for auto-labeling in Purview

Exceeding the SharePoint limit for auto-labeling in Purview


Introduction

An auto-labeling policy in Microsoft Purview applies a Sensitivity Label to existing files in SharePoint and OneDrive without manual intervention, unlike manual labeling or client-side labeling in Office apps. Until now, extending a single policy to a large number of SharePoint sites ran into a configuration limit that was a real constraint for large organizations. Microsoft updated the documentation to clarify how to work around it.


The manual site selection limit

In the auto-labeling policy creation wizard, the location selection page allows you to explicitly choose up to 1,000 SharePoint sites. For organizations managing several thousand sites, this limit forced a choice between multiplying the number of policies or targeting broader, less precise locations.

Another point of friction concerned retroactively labeling files that already existed : the documentation recommends processing sites in batches of 10 at a time, validating the results, then swapping in the next batch, a repetitive manual operation across a large scope.


SharePoint adaptive scopes, up to 50,000 sites

To work around this limit, Microsoft Purview relies on adaptive scopes, dynamic queries already used by other compliance policies, which re-evaluate membership daily based on site properties rather than a fixed list of URLs. For an auto-labeling policy, a SharePoint-type adaptive scope can target up to 50,000 sites in a single policy.

An adaptive scope is built on indexed site properties, such as the URL, the site name, or the SiteTemplate property, which lets you include or exclude entire types of sites (communication sites, sites connected to a Microsoft 365 group, Teams private channel sites, OneDrive sites, etc). Once the adaptive scope is created in the Purview portal, it’s attached to an auto-labeling policy through the -SharePointAdaptiveScopes parameter of the New-AutoSensitivityLabelPolicy cmdlet.

note

Adaptive scopes aren’t limited to auto-labeling : retention and communication compliance policies can also use them to dynamically target users or Microsoft 365 groups.

What administrators should know

Switching to an adaptive scope requires the Scope Manager role, included in the Compliance Administrator, Compliance Data Administrator, Organization Management, and Records Management roles. The adaptive scope query only runs once a day : up to five days may pass before a newly created or modified scope correctly reflects its actual membership, a delay to plan for before attaching it to a production policy.

The other auto-labeling limits remain unchanged by this change : a maximum of 100 policies per tenant, up to 500,000 labeled files per day, and up to 20,000,000 matching files during a simulation.


Conclusion

For organizations whose number of SharePoint sites far exceeds the manual selection limit, adaptive scopes avoid multiplying auto-labeling policies or targeting overly broad locations. The five-day propagation delay remains the main factor to account for when planning a deployment at this scale.


Sources

Microsoft Learn - Apply a sensitivity label automatically

Microsoft Learn - Adaptive scopes

Microsoft Learn - What’s new in Microsoft Purview


Did you enjoy this post ? If you have any questions, comments or suggestions, please feel free to send me a message from the contact form.

Don’t forget to follow us and share this post.

Related Posts

Microsoft Purview for Azure Data Lake and Blob Storage

Microsoft Purview for Azure Data Lake and Blob Storage

Introduction Microsoft announced that Microsoft Purview protection policies for Azure Data Lake and Blob Storage are now available in all regions. This advancement allows organization

Read More
How to enable DLP for Teams with Purview

How to enable DLP for Teams with Purview

Introduction In a context where sensitive data, particularly banking information, is increasingly circulating in collaborative tools, businesses must be extra vigilant to avoid accidental o

Read More
How to enable DLP for Outlook with Purview

How to enable DLP for Outlook with Purview

Introduction Last week, I showed you how to enable DLP for Teams with Microsoft Purview to prevent accidental or malicious data leaks (Data Loss Prevention). Purview is a comprehensive

Read More
Sensitive content detection in Teams meetings

Sensitive content detection in Teams meetings

Introduction In a world where business interactions increasingly take place via video conferencing, the security of information shared in meetings is becoming a major issue. Microsoft is ad

Read More
How to enable DLP for cloud storage with Purview

How to enable DLP for cloud storage with Purview

Introduction A few months ago, I showed you how to enable DLP for Outlook with Microsoft Purview to prevent accidental or malicious data leaks (Data Loss Prevention). Purview is a com

Read More
Blocking screen captures in Teams meetings

Blocking screen captures in Teams meetings

Introduction In a world where business interactions increasingly take place via video conferencing, the security of information shared in meetings is becoming a major issue. A simple screen

Read More
How to enable DLP for printing with Purview

How to enable DLP for printing with Purview

Introduction A few weeks ago, I showed you how to enable DLP to prevent the copying of financial data to an external cloud storage solution using Microsoft Purview, in order to prevent

Read More
How to enable DLP for AI websites with Purview

How to enable DLP for AI websites with Purview

Introduction Last week, I showed you how to enable DLP to prevent printing of financial data using Microsoft Purview, in order to prevent accidental or malicious data leaks (*Data Loss

Read More
How to enable DLP for copy/paste with Purview

How to enable DLP for copy/paste with Purview

Introduction Last month, I showed you how to enable DLP to prevent financial data from being sent to an AI website using Microsoft Purview, in order to prevent accidental or malicious d

Read More
Purview Sensitivity Labels are coming to OneNote

Purview Sensitivity Labels are coming to OneNote

Introduction Good news for security and compliance teams, Sensitivity Labels are now General Availability in OneNote. This update finally allows you to apply the same classification a

Read More
How to block Teams calls and chats with Purview IB

How to block Teams calls and chats with Purview IB

Introduction Microsoft Purview's Information Barriers allow you to restrict communication and collaboration between specific user groups within a Microsoft 365 environment. Their prim

Read More
How to create Sensitivity Labels for emails in Purview

How to create Sensitivity Labels for emails in Purview

Introduction Emails remain one of the primary vectors for information leaks in businesses. Whether it's a message sent to the wrong recipient, an attachment forwarded without proper oversig

Read More
How to secure your emails with Sensitivity Labels

How to secure your emails with Sensitivity Labels

Introduction Last week, I showed you how to create Sensitivity Labels to secure your emails, without explaining how they work. Today I'll talk about how to use them and what results you g

Read More
Detect exposed passwords in plain text with Purview

Detect exposed passwords in plain text with Purview

Introduction In a Microsoft 365 environment, data breaches aren't limited to credit card numbers or personal information. A frequently underestimated risk is the sharing of passwords in p

Read More
How to create Sensitive Information Types in Purview

How to create Sensitive Information Types in Purview

Introduction In previous articles, we examined how Microsoft Purview can protect sensitive data through DLP (Data Loss Prevention) policies and Sensitivity Labels. However, all thes

Read More
Purview Sensitivity Labels now support security groups

Purview Sensitivity Labels now support security groups

Introduction Microsoft has updated the scoping of Sensitivity Labels policies in Microsoft Purview, now generally available. Administrators can now include non-mail-enabled security

Read More
How to configure role expiration in Purview

How to configure role expiration in Purview

Introduction In most tenants, Microsoft Purview permissions pile up. An external auditor is granted eDiscovery access for three weeks, a consultant gets the Compliance Administrator r

Read More
Teams tightens the rules for onmicrosoft.com tenants

Teams tightens the rules for onmicrosoft.com tenants

Introduction Microsoft is introducing an outbound external messaging limit in Teams for tenants that only use their default onmicrosoft.com domain (MOERA). The rollout begins mid-Se

Read More
Why a Purview DLP policy takes days to activate

Why a Purview DLP policy takes days to activate

Introduction A DLP (Data Loss Prevention) policy that shows "sync complete" in the Purview portal can still take several days before it actually blocks anything. The lag isn't an is

Read More
Mandatory consent before joining a Teams meeting

Mandatory consent before joining a Teams meeting

Introduction Microsoft Teams is introducing mandatory consent before entering a meeting, with the announcement MC1454114. Administrators can now require every participant to accept cust

Read More
Teams limits transcript access via Graph

Teams limits transcript access via Graph

Introduction Microsoft introduced a control that limits Microsoft Graph applications' and agents' access to Teams meeting transcripts, with the announcement MC1393806. This control

Read More
Status update on restoring a destroyed Microsoft 365 tenant

Status update on restoring a destroyed Microsoft 365 tenant

Introduction Backing up a single Microsoft 365 workload is a solved problem. Restoring a complete tenant after an attack that destroys both data and configuration is not. The question is

Read More
Microsoft launches the plugin registry for Copilot

Microsoft launches the plugin registry for Copilot

Introduction Microsoft announced, on September 30, 2026, the rollout of the plugin registry for Copilot, a single entry point to discover, publish, manage, and govern plugins across s

Read More
How to block the creation of AI agent identities in Entra ID

How to block the creation of AI agent identities in Entra ID

Introduction Starting November 4, 2026, any default user (without a built-in or custom role in Entra ID) will be able to create agent blueprints, unless an administrator has explicitly

Read More