diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md index 405f77544..b06e07722 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md @@ -25,6 +25,7 @@ Set-SPOSite [-AddRestrictedAccessControlGroups [Guid[]]] [-AllowDownloadingNonWebViewableFiles ] [-AllowEditing ] + [-AllowFileArchive ] [-AllowSelfServiceUpgrade ] [-AnonymousLinkExpirationInDays ] [-AuthenticationContextAccessType ] @@ -1532,6 +1533,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -AllowFileArchive + +This setting enables or disables the file archive feature for a SharePoint site. If this parameter is passed as true for a site and Microsoft 365 Archive is enabled at the tenant-level, then the site will allow file archive. + +PARAMVALUE: False | True + +If set to True, the feature will be enable. Feature is disabled by default. + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: +Applicable: SharePoint Online +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + + ### -ClearGroupId This parameter allows you to remove the assigned Microsoft 365 group ID on a site, when the group is permanently deleted.