From aedac3186fe62a0f32c14f25321200c49df1a65c Mon Sep 17 00:00:00 2001 From: HectorRMota Date: Tue, 18 Mar 2025 11:43:06 -0700 Subject: [PATCH 1/5] add AllowFileArchive to Set-SPOSite --- .../sharepoint-online/Set-SPOSite.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md index 405f77544..420de6ab1 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 disables the file archive feature in the Microsoft SharePoint site. + +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. From 46d66815f92fc9466cc9caf36d4fbc1ca140b128 Mon Sep 17 00:00:00 2001 From: HectorRMota Date: Tue, 18 Mar 2025 12:12:19 -0700 Subject: [PATCH 2/5] Update Set-SPOSite.md --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md index 420de6ab1..dd858a50f 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md @@ -1535,7 +1535,7 @@ Accept wildcard characters: False ### -AllowFileArchive -This setting disables the file archive feature in the Microsoft SharePoint site. +This setting disables the file archive feature in the Microsoft SharePoint site. If this feature is enabled and M365 archive is enabled at the tenant-level, then this site will allow file archive PARAMVALUE: False | True From f82bc5a5c1a400304535b4e52709251716901179 Mon Sep 17 00:00:00 2001 From: HectorRMota Date: Tue, 25 Mar 2025 12:59:37 -0700 Subject: [PATCH 3/5] Update Set-SPOSite.md Updating description --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md index dd858a50f..2877a0448 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md @@ -1535,7 +1535,7 @@ Accept wildcard characters: False ### -AllowFileArchive -This setting disables the file archive feature in the Microsoft SharePoint site. If this feature is enabled and M365 archive is enabled at the tenant-level, then this site will allow file archive +This setting enables or disables the file archive feature for a SharePoint site. If -AllowFileArchive flag is enabled for a site and Microsoft 365 Archive is enabled at the tenant-level, then the site will allow file archive PARAMVALUE: False | True From 02dfe1139a3fdbf6be6d419eaadaa34f6793fb3d Mon Sep 17 00:00:00 2001 From: HectorRMota Date: Wed, 26 Mar 2025 21:27:06 -0700 Subject: [PATCH 4/5] Update Set-SPOSite.md Update as per comment --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md index 2877a0448..ac95b5474 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md @@ -1535,7 +1535,7 @@ Accept wildcard characters: False ### -AllowFileArchive -This setting enables or disables the file archive feature for a SharePoint site. If -AllowFileArchive flag is enabled for a site and Microsoft 365 Archive is enabled at the tenant-level, then the site will allow file archive +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 From 22a80185270fa68ddfd9c730c5964561c393d58f Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Fri, 28 Mar 2025 00:16:44 +0530 Subject: [PATCH 5/5] Fix punctuation --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md index ac95b5474..b06e07722 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md @@ -1535,7 +1535,7 @@ 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 +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