en-US

AllowFileArchiveOnNewSitesByDefault

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Specifies the default value of the AllowFileArchive property for newly created SharePoint sites. This determines whether new sites allow file-level archiving by default. Microsoft 365 Archive and the tenant-level AllowFileArchive setting must both be enabled for manual archiving to work when this property is set to True.

The valid values are:

  • True (default) - Sets AllowFileArchive to True for all newly provisioned sites. Microsoft 365 Archive and the tenant-level AllowFileArchive setting must both be enabled for manual archiving to work on future provisioned sites.
  • False - Sets AllowFileArchive to False for all newly provisioned sites.

Microsoft Learn documentation

Characteristics

Type
Boolean
Default value
True
Parameter sets
(All)

Apply

Enter the tenant name.