-
Notifications
You must be signed in to change notification settings - Fork 187
Update Set-SPOTenant to add FileLevelArchive parameters. #1079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
ade1ece
Update Set-SPOTenant to add FileLevelArchive parameters.
HectorRMota 5344aee
Update documentation for AllowFileArchive settings
HectorRMota 66b45e5
Merge branch 'main' into patch-2
HectorRMota ac87d30
Merge branch 'main' into patch-2
Ruchika-mittal01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -139,7 +139,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>] | |
| [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>] | ||
| [-DefaultContentCenterSite <String>] | ||
| [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] | ||
| [-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ### ParameterSetContentTypeSyncSiteTemplatesList | ||
|
|
@@ -264,7 +265,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>] | |
| [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>] | ||
| [-DefaultContentCenterSite <String>] | ||
| [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] | ||
| [-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ### ParamSetMultipleSites | ||
|
|
@@ -390,7 +392,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>] | |
| [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>] | ||
| [-DefaultContentCenterSite <String>] | ||
| [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] | ||
| [-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ### InformationBarrier | ||
|
|
@@ -514,7 +517,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>] | |
| [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>] | ||
| [-DefaultContentCenterSite <String>] | ||
| [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] | ||
| [-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ### ParameterSetNameRestrictExternalSharing | ||
|
|
@@ -639,7 +643,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>] | |
| [-DefaultContentCenterSite <String>] | ||
| [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>] | ||
| [-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] | ||
| -RestrictExternalSharing <Guid[]> [-AddAppIdToList] [-RemoveAppIdFromList] [<CommonParameters>] | ||
| -RestrictExternalSharing <Guid[]> [-AddAppIdToList] [-RemoveAppIdFromList] | ||
| [-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ## DESCRIPTION | ||
|
|
@@ -1129,6 +1134,52 @@ Accept pipeline input: False | |
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -AllowFileArchive | ||
|
|
||
| > Applicable: SharePoint Online | ||
|
|
||
| Controls whether file-level archiving is allowed at the tenant level. This setting can be overridden for specific sites by the site-level flag of the same name and has no effect unless M365 Archive is enabled for your organization. | ||
|
|
||
| The valid values are: | ||
|
|
||
| - True (default) - Allows users to manually archive files on sites where file-level archiving is also enabled. Manual archiving is limited to internal users with write access to the file. | ||
| - False - Blocks manual archiving for all files, regardless of the site-level setting. Admin-defined policies can still archive files automatically. | ||
|
|
||
| ```yaml | ||
| Type: Boolean | ||
| Parameter Sets: (All) | ||
| Aliases: | ||
|
|
||
| Required: False | ||
| Position: Named | ||
| Default value: True | ||
| Accept pipeline input: False | ||
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -AllowFileArchiveOnNewSitesByDefault | ||
|
|
||
| > Applicable: SharePoint Online | ||
|
|
||
| Specifies the default value of the AllowFileArchive property for newly created SharePoint sites. This determines whether new sites allow file-level archiving by default. M365 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. M365 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. | ||
|
|
||
| ```yaml | ||
| Type: Boolean | ||
| Parameter Sets: (All) | ||
| Aliases: | ||
|
|
||
| Required: False | ||
| Position: Named | ||
| Default value: True | ||
| Accept pipeline input: False | ||
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -AllowGuestUserShareToUsersNotInSiteCollection | ||
|
|
||
| > Applicable: SharePoint Online | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a brand name so should be "Microsoft 365 Archive"
here and elsewhere in your doc #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated