Поділитися через


Limits for retention policies and retention label policies

Microsoft 365 licensing guidance for security & compliance.

When you use retention policies and retention label policies to automatically retain or delete data for your organization, there are some maximum numbers to be aware of.

Tip

If you're not an E5 customer, use the 90-day Microsoft Purview solutions trial to explore how additional Purview capabilities can help your organization manage data security and compliance needs. Start now at the Microsoft Purview compliance portal trials hub. Learn details about signing up and trial terms.

Maximum number of retention labels per tenant

A maximum of 1,000 retention labels are supported per tenant.

Maximum number of policies per tenant

A single tenant can have a maximum of 10,000 policies (any configuration). This maximum number includes the different policies for retention, and other policies for compliance such as policies for DLP, information barriers, eDiscovery holds, In-Place Holds, and sensitivity labels. However, this maximum excludes:

  • Auto-labeling policies for SharePoint and OneDrive, unless they are for cloud attachments.
  • Published label policies for SharePoint and OneDrive that delete-only, rather than retain-only, or retain and then delete.
  • Exchange retention policies from messaging records management (MRM).
  • Litigation holds.

Within this 10,000 policies limit, there are also some limits on the maximum number of policies for retention per workload:

  • Exchange (any configuration): 1,800
    • Per mailbox: 25 is the recommended maximum before performance might be impacted; 50 is the supported limit.
  • SharePoint or OneDrive: (all sites automatically included): 13
  • SharePoint or OneDrive (specific locations included or excluded): 2,600

Note

These maximum numbers for Exchange and SharePoint are not exclusive to retention but are shared with other types of hold policies that include eDiscovery holds and In-Place Holds.

Although retention policies for Microsoft Teams and Viva Engage use mailboxes to store data for retention purposes, the maximum number of policies for Exchange Online exclude retention policies for Teams and Viva Engage.

Maximum number of items per policy

Important

Applicable only if you use static policy scopes rather than adaptive policy scopes.

For maximum limits for adaptive policy scopes, see Adaptive policy scopes.

If you use static scopes and the optional configuration to include or exclude specific users, specific Microsoft 365 groups, or specific sites, there are some limits per policy to be aware of.

Maximum numbers of items per policy for retention for static scopes:

  • Exchange mailboxes: 1,000
  • Microsoft 365 Groups: 1,000
  • Teams channel messages: 1,000
  • Teams chats and Copilot interactions messages: 1,000
  • Viva Engage community messages: 1,000
  • Viva Engage user messages: 1,000
  • SharePoint sites: 100
  • OneDrive accounts: 100

Skype for Business has to be scoped to specific users and the maximum number supported per policy is 1,000.

Because these limitations are per policy, if you need to use specific inclusions or exclusions that result in going over these numbers, you can create additional policies that have the same retention settings. See the next section for some example scenarios and solutions that use multiple retention policies for this reason.

However, multiple policies result in higher administrative overheads. Consider using adaptive scopes rather than creating and maintaining multiple policies with includes and excludes.

Examples of using multiple policies to avoid exceeding maximum numbers

The following examples are for static scopes and provide some design solutions for when you can't specify just the location for a retention policy, and must take into account the maximum number of items documented in the previous section.

Exchange example:

  • Requirement: In an organization that has over 40,000 user mailboxes, most users must have their email retained for seven years but a subset of identified users (425) must have their email retained for only five years.

  • Solution: Create one retention policy for Exchange email with a retention period of 7 years and exclude the subset of users. Then create a second retention policy for Exchange email with a retention period of 5 years and include the subset of users.

    In both cases, the number included and excluded is below the maximum number of specified mailboxes for a single policy, and the subset of users must be explicitly excluded from the first policy because it has a longer retention period than the second policy. If the subset of users required a longer retention policy, you wouldn't need to exclude them from the first policy.

    With this solution, if anybody new joins the organization, their mailbox is automatically included in the first policy for 7 years and there is no impact to the maximum numbers supported. However, new users that require the 5-year retention period add to the include and exclude numbers, and this limit would be reached at 1,000.

SharePoint example:

  • Requirement: An organization has several thousand SharePoint sites but only 2,000 sites require a retention period of 10 years, and 8,000 sites require a retention period of four years.

  • Solution: Create 20 retention policies for SharePoint with a retention period of 10 years that includes 100 specific sites, and create 80 retention policies for SharePoint with a retention period of 4 years that includes 100 specific sites.

    Because you don't need to retain all SharePoint sites, you must create retention policies that specify the specific sites. Because a retention policy doesn't support more than 100 specified sites, you must create multiple policies for the two retention periods. These retention policies have the maximum number of included sites, so the next new site that needs retaining would require a new retention policy, irrespective of the retention period.

Maximum numbers for disposition review

For the disposition of content, there are some limits to be aware of:

  • Maximum numbers per tenant:

    • 16,000,000 items in either of the following disposition review states: pending disposition or approved disposition
    • 16,000,000 items marked as records automatically disposed (no disposition review)
  • Maximum number of disposition reviewers:

    • 10 reviewers per disposition stage in any combination of individual users and mail-enabled security groups
    • 200 reviewers per tenant in any combination of individual users and mail-enabled security groups. Because of this limit, we recommend using mail-enabled security groups whenever possible for larger organizations.
  • Proof of disposition for up to 7 years after the item was disposed.