en-US

EnableAutoExpirationVersionTrim

Parameter of SPOTenant

Description

Global and SharePoint Administrators can set organization-level version history limits settings that universally apply to new versions created on all new document libraries created in your organization.

When version history limits are managed automatically, SharePoint employs an algorithm behind the scenes that deletes (thins out) intermittent older versions that are least likely to be needed, while preserving sufficient high-value versions - more versions in the recent past and fewer farther back in time - in case restores are required.

The valid values are:

  • True – Version history limits for new versions created on all new document libraries in your organization will be managed automatically.
  • False – Version history limits for new Versions created on all new document libraries in your organization will be managed manually by setting limits to the number of major versions (MajorVersionLimit) and time set (ExpireVersionsAfterDays). Review the documentation of both parameters to manage your organization's version limits manually.

PARAMVALUE: True | False

Microsoft Learn documentation

Characteristics

Type
System.Boolean
Parameter sets
(All)

Apply

This value type (System.Boolean) must be built by hand: see the examples on the policy page and the Microsoft documentation.