From 6b484f3b41c0b773419d73cc84ef49a1bf90aada Mon Sep 17 00:00:00 2001 From: harchet-singh Date: Tue, 29 Sep 2026 03:15:05 -0700 Subject: [PATCH] Learn Editor: Update Set-SPOSite.md --- .../Set-SPOSite.md | 1329 ++++------------- 1 file changed, 265 insertions(+), 1064 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md index b973a9a97..a5614390d 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md @@ -1,32 +1,24 @@ --- -external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml -Module Name: Microsoft.Online.SharePoint.PowerShell -online version: https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/set-sposite -applicable: SharePoint Online -title: Set-SPOSite +external help file: Microsoft.Online.SharePoint.Powershell.dll-Help.xml +Module Name: Microsoft.Online.SharePoint.Powershell +online version: schema: 2.0.0 -author: samkabue -ms.author: speedta -ms.reviewer: --- # Set-SPOSite ## SYNOPSIS - -Sets or updates one or more properties' values for a site collection. +{{ Fill in the Synopsis }} ## SYNTAX ### None (Default) - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-WhatIf] [-Confirm] [] ``` ### ParamSet1 - ``` Set-SPOSite [-Identity] [-Owner ] [-Title ] [-StorageQuota ] [-StorageQuotaWarningLevel ] [-ResourceQuota ] [-ResourceQuotaWarningLevel ] @@ -47,7 +39,8 @@ Set-SPOSite [-Identity] [-Owner ] [-Title ] [- [-AuthenticationContextAccessType ] [-RestrictedToGeo ] [-CommentsOnSitePagesDisabled ] [-UpdateUserTypeFromAzureAD] [-SocialBarOnSitePagesDisabled ] [-HubSiteId ] [-DefaultSharingLinkType ] - [-DefaultLinkPermission ] [-DefaultLinkToExistingAccess ] + [-DefaultLinkPermission ] [-FileAnonymousLinkType ] + [-FolderAnonymousLinkType ] [-DefaultLinkToExistingAccess ] [-DefaultLinkToExistingAccessReset] [-AnonymousLinkExpirationInDays ] [-OverrideTenantAnonymousLinkExpirationPolicy ] [-ExternalUserExpirationInDays ] [-OverrideTenantExternalUserExpirationPolicy ] [-OrganizationSharingLinkMaxExpirationInDays ] @@ -58,91 +51,78 @@ Set-SPOSite [-Identity] [-Owner ] [-Title ] [- [-OverrideBlockUserInfoVisibility ] [-LoopDefaultSharingLinkScope ] [-LoopDefaultSharingLinkRole ] [-RequestFilesLinkEnabled ] [-RequestFilesLinkExpirationInDays ] - [-OverrideSharingCapability ] [-DefaultMainLinkScope ] - [-DefaultShareLinkScope ] + [-OverrideSharingCapability ] [-DefaultShareLinkScope ] [-DefaultShareLinkRole ] [-BlockGuestsAsSiteAdmin ] - [-FileAnonymousLinkType ] [-FolderAnonymousLinkType ] - [-RestrictContentOrgWideSearch ] [-RestrictedContentDiscoveryforCopilotAndAgents ] - [-RestrictedAccessControl ] [-RestrictedAccessControlGroups ] - [-ListsShowHeaderAndNavigation ] [-HidePeoplePreviewingFiles ] - [-HidePeopleWhoHaveListsOpen ] [-IsAuthoritative ] [-AllowFileArchive ] - [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-DisableSiteBranding ] - [-DisableClassicPageBaselineSecurityMode ] - [-WhatIf] [-Confirm] [] + [-RestrictContentOrgWideSearch ] [-RestrictedAccessControl ] + [-RestrictedAccessControlGroups ] [-ListsShowHeaderAndNavigation ] + [-HidePeoplePreviewingFiles ] [-HidePeopleWhoHaveListsOpen ] + [-DefaultMainLinkScope ] [-IsAuthoritative ] [-AllowFileArchive ] + [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] + [-DisableClassicPageBaselineSecurityMode ] [-DisableSiteBranding ] [-WhatIf] [-Confirm] + [] ``` ### ParamSet2 - ``` Set-SPOSite [-Identity] -EnablePWA [-InformationBarriersMode ] [-WhatIf] [-Confirm] [] ``` ### ParamSet3 - ``` Set-SPOSite [-Identity] [-DisableSharingForNonOwners] [-InformationBarriersMode ] [-WhatIf] [-Confirm] [] ``` ### ParamSet5 - ``` Set-SPOSite [-Identity] [-RemoveLabel] [-InformationBarriersMode ] [-WhatIf] [-Confirm] [] ``` ### AddInformationBarrierSegments - ``` Set-SPOSite [-Identity] [-AddInformationSegment ] [-InformationBarriersMode ] [-WhatIf] [-Confirm] [] ``` ### RemoveInformationBarrierSegments - ``` Set-SPOSite [-Identity] [-RemoveInformationSegment ] [-InformationBarriersMode ] [-WhatIf] [-Confirm] [] ``` ### ClearLockDown - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-ClearSharingLockDown] [-WhatIf] [-Confirm] [] ``` ### AddRestrictedAccessControlGroups - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-AddRestrictedAccessControlGroups ] [-WhatIf] [-Confirm] [] ``` ### RemoveRestrictedAccessControlGroups - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-RemoveRestrictedAccessControlGroups ] [-WhatIf] [-Confirm] [] ``` ### ClearRestrictedAccessControl - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-ClearRestrictedAccessControl] [-WhatIf] [-Confirm] [] ``` ### InheritVersionPolicyFromTenant - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-InheritVersionPolicyFromTenant] [-WhatIf] [-Confirm] [] ``` ### SetSiteFileVersionPolicy - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-EnableAutoExpirationVersionTrim ] [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] @@ -151,260 +131,44 @@ Set-SPOSite [-Identity] [-InformationBarriersMode ] ``` ### SetSiteFileTypeFileVersionPolicy - ``` -Set-SPOSite [-Identity] [-InformationBarriersMode ] [-EnableAutoExpirationVersionTrim ] [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] -FileTypesForVersionExpiration [-ApplyToNewDocumentLibraries] [-WhatIf] [-Confirm] [] +Set-SPOSite [-Identity] [-InformationBarriersMode ] + [-EnableAutoExpirationVersionTrim ] [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] + -FileTypesForVersionExpiration [-ApplyToNewDocumentLibraries] [-WhatIf] [-Confirm] + [] ``` ### RemoveSiteFileVersionPolicy - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-ApplyToNewDocumentLibraries] -RemoveVersionExpirationFileTypeOverride [-WhatIf] [-Confirm] [] ``` ### ClearGroupId - ``` Set-SPOSite [-Identity] [-InformationBarriersMode ] [-ClearGroupId] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION - -For any parameters that are passed in, the `Set-SPOSite` cmdlet sets or updates the setting for the site collection identified by parameter Identity. - -You must be a SharePoint Online administrator and be a site collection administrator to run the cmdlet. - -For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell). - -For OneDrive for Business site collection, the only valid parameters are Identity, AllowDownloadingNonWebViewableFiles, AllowEditing, ConditionalAccessPolicy, DefaultLinkPermission, DefaultSharingLinkType, DisableCompanyWideSharingLinks, FileAnonymousLinkType, FolderAnonymousLinkType, LimitedAccessFileType, LockState, Owner, SharingAllowedDomainList, SharingBlockedDomainList, SharingCapability, SharingDomainRestrictionMode, ShowPeoplePickerSuggestionsForGuestUsers, StorageQuota, and StorageWarningLevel. - -For Groups site collection, the only valid parameters are Identity, AllowSelfServiceUpgrade, DefaultLinkPermission, DefaultSharingLinkType, DenyAddAndCustomizePages, DisableCompanyWideSharingLinks, DisableSharingForNonOwners, FileAnonymousLinkType, FolderAnonymousLinkType, LockState, Owner, ResourceQuota, ResourceQuotaWarningLevel, SandboxedCodeActivationCapability, SensitivityLabel, SharingCapability, ShowPeoplePickerSuggestionsForGuestUsers, SocialBarOnSitePagesDisabled, StorageQuota, StorageQuotaReset, and StorageQuotaWarningLevel. +{{ Fill in the Description }} ## EXAMPLES ### Example 1 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -Owner joe.healy@contoso.com -NoWait -``` - -Example 1 updates the owner of site collection to the person whose email address is joe.healy@contoso.com. This cmdlet is executed immediately without delay. - -### Example 2 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -StorageQuota 1024 -``` - -Example 2 updates the settings of site collection The storage quota is updated to 1024 megabytes (1 GB). - -### Example 3 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com -StorageQuota 1500 -StorageQuotaWarningLevel 1400 -``` - -This example updates the settings of site collection The storage quota is updated to 1500 megabytes and the storage quota warning level is updated to 1400 megabytes. - -### Example 4 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com -DisableSharingForNonOwners -``` - -Example 4 prevents non-owners of a site from inviting new users to the site. - -### Example 5 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/groupname -StorageQuota 3000 -StorageQuotaWarningLevel 2000 -``` - -This example sets the quota for the site. - -> [!NOTE] -> If Site Collection Storage Management is enabled for the tenant, you will not be able to set quota and will have a generic error returned. To workaround this issue, set the site collection storage management to "manual" temporarily, set your quotas and then set the site collection storage management setting back to its original setting. - -### Example 6 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnablePWA $true -``` - -Example 6 enables the site "site1" to create Project Web Applications (PWA). - -### Example 7 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -SharingCapability ExternalUserSharingOnly -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -SharingDomainRestrictionMode AllowList -SharingAllowedDomainList "contoso.com" -``` - -Example 7 sets the Sharing Capability to allow external users who accept sharing invitations and sign in as authenticated users, and then specifies an email domain that is allowed for sharing with the external collaborators. - -### Example 8 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/research -AddInformationSegment a17efb47-e3c9-4d85-a188-1cd59c83de32 -``` - -This example adds InformationSegment 'a17efb47-e3c9-4d85-a188-1cd59c83de32' to the site. - -### Example 9 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/research -RemoveInformationSegment a17efb47-e3c9-4d85-a188-1cd59c83de32 -``` - -In example, InformationSegment 'a17efb47-e3c9-4d85-a188-1cd59c83de32' is removed from the site. - -### Example 10 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/research -ConditionalAccessPolicy AuthenticationContext -AuthenticationContextName "MFA" -``` - -In this example, an authentication context called MFA is attached to the site. - -### Example 11 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $true -``` - -Example 11 sets automatic version history limits at the site level. Automatic setting will be applied to all new document libraries created in the site and a background request will be created to asynchronously process the update on existing document libraries that have versioning enabled. - -### EXAMPLE 12 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -MajorWithMinorVersionsLimit 20 -ExpireVersionsAfterDays 30 -``` - -Example 12 sets manual version history limits at the site level by limiting the number of versions and the time (in days) versions are kept. The new document libraries will use this version setting. Also it creates a job to set this manual version setting for existing document libraries that enabled versioning. - -### EXAMPLE 13 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -MajorWithMinorVersionsLimit 20 -ExpireVersionsAfterDays 0 -``` - -Example 13 sets manual version history limits at the site level by limiting the number of versions with no time limits. The new document libraries will use this version setting. Also it creates a job to set this manual version setting for existing document libraries that enabled versioning. - -### Example 14 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $true -ApplyToNewDocumentLibraries -``` - -Example 14 sets automatic version history limits at the site level. The new document libraries will use this version setting. - -### EXAMPLE 15 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 30 -ApplyToNewDocumentLibraries -``` - -Example 15 sets manual version history limits at the site level by limiting the number of versions and the time (in days) versions are kept. The new document libraries will use this version setting. - -### EXAMPLE 16 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 0 -ApplyToNewDocumentLibraries -``` - -Example 16 sets manual version history limits at the site level by limiting the number of versions with no time limits. The new document libraries will use this version setting. - -### Example 17 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $true -ApplyToExistingDocumentLibraries -``` - -Example 17 creates a job to set automatic version history limits for existing document libraries that enabled versioning. - -### EXAMPLE 18 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -MajorWithMinorVersionsLimit 20 -ExpireVersionsAfterDays 30 -ApplyToExistingDocumentLibraries -``` - -Example 18 creates a job to set manual version history limits that limits the number of versions and the time (in days) versions are kept for existing document libraries that enabled versioning. - -### EXAMPLE 19 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -MajorWithMinorVersionsLimit 20 -ExpireVersionsAfterDays 0 -ApplyToExistingDocumentLibraries -``` - -Example 19 creates a request to set manual version history limits that limits the number of versions with no time limits for existing document libraries that enabled versioning. - -### EXAMPLE 20 - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -InheritVersionPolicyFromTenant -``` - -Example 20 clears the file version setting at the site level. The new document libraries will use the Tenant Level setting. It won't impact the existing document libraries. - -### Example 21 - - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $true -FileTypesForVersionExpiration @("Video", "Audio") -ApplyToNewDocumentLibraries -``` - -Example 21 sets automatic version history limit override for video and audio file types at the site level. The new document libraries will use this version setting. - -### Example 22 - - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 30 --FileTypesForVersionExpiration @("Video", "Audio") -ApplyToNewDocumentLibraries -``` - -Example 22 sets manual version history limit override for video and audio file types at the site level by limiting the number of versions and the time (in days) versions are kept. The new document libraries will use this version setting. - -### Example 23 - - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 0 --FileTypesForVersionExpiration @("Video", "Audio") -ApplyToNewDocumentLibraries -``` - -Example 23 sets manual version history limit override for video and audio file types at the site level by limiting the number of versions with no time limits. The new document libraries will use this version setting. - -### Example 24 - - ```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -RemoveVersionExpirationFileTypeOverride @("Video", "Audio") -ApplyToNewDocumentLibraries +PS C:\> {{ Add example code here }} ``` -Example 24 removes the version history limit override for video and audio file types at the site level. The new document libraries will use this version setting. - -### Example 25 - - -```powershell -Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -FolderAnonymousLinkType ViewUpload -FileAnonymousLinkType None -``` - -Example 25 sets a site level override for FolderAnonymousLinkType to limit anonymous and request files folder sharing to only support view and upload permissions and clears any site level override for the FileAnonymousLinkType by setting it to None. +{{ Add example description here }} ## PARAMETERS ### -AddInformationSegment - -This parameter allows you to add a segment to a SharePoint site. This parameter is only applicable for tenants who have enabled Microsoft 365 Information barriers capability. Please read https://learn.microsoft.com/sharepoint/information-barriers documentation to understand Information barriers in SharePoint Online. - -**Note**: This parameter is available only in SharePoint Online Management Shell Version 16.0.19927.12000 or later. +{{ Fill AddInformationSegment Description }} ```yaml -Type: System.Guid[] +Type: Guid[] Parameter Sets: AddInformationBarrierSegments Aliases: @@ -416,13 +180,10 @@ Accept wildcard characters: False ``` ### -AddRestrictedAccessControlGroups - -> Applicable: SharePoint Online - -Specifies the IDs of groups to be added to an access restriction policy and gain access. +{{ Fill AddRestrictedAccessControlGroups Description }} ```yaml -Type: System.Guid[] +Type: Guid[] Parameter Sets: AddRestrictedAccessControlGroups Aliases: @@ -434,15 +195,10 @@ Accept wildcard characters: False ``` ### -AllowDownloadingNonWebViewableFiles - -> Applicable: SharePoint Online - -Specifies if non web viewable files can be downloaded. - -PARAMVALUE: False | True +{{ Fill AllowDownloadingNonWebViewableFiles Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -454,15 +210,10 @@ Accept wildcard characters: False ``` ### -AllowEditing - -> Applicable: SharePoint Online - -Prevents users from editing Office files in the browser and copying and pasting Office file contents out of the browser window. - -PARAMVALUE: False | True +{{ Fill AllowEditing Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -474,17 +225,10 @@ Accept wildcard characters: False ``` ### -AllowFileArchive - -> Applicable: SharePoint Online - -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. +{{ Fill AllowFileArchive Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -496,15 +240,10 @@ Accept wildcard characters: False ``` ### -AllowSelfServiceUpgrade - -> Applicable: SharePoint Online - -Determines whether site collection administrators can upgrade their site collections. - -PARAMVALUE: False | True +{{ Fill AllowSelfServiceUpgrade Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -516,35 +255,10 @@ Accept wildcard characters: False ``` ### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled - -> Applicable: SharePoint Online - -Enables or disables web property bag updates. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to `$true`, the web property bag can be updated even if the Add And Customize Pages right is denied on the site collection. - -PARAMVALUE: True | False - -```yaml -Type: System.Boolean -Parameter Sets: ParamSet1 -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DisableClassicPageBaselineSecurityMode - -> Applicable: SharePoint Online - -Allows a site to disable baseline security mode for classic pages. When `DisableClassicPageBaselineSecurityMode` is set to `$true`, users can create and edit classic pages even if baseline security mode is enabled at the tenant level in Microsoft admin center. - -PARAMVALUE: True | False +{{ Fill AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -556,15 +270,10 @@ Accept wildcard characters: False ``` ### -AnonymousLinkExpirationInDays - -> Applicable: SharePoint Online - -Specifies all anonymous/anyone links that have been created (or will be created) will expire after the set number of days. Only applies if OverrideTenantAnonymousLinkExpirationPolicy is set to true. - -The valid number should be between 1 and 730. To remove the expiration requirement, set the value to zero (0). +{{ Fill AnonymousLinkExpirationInDays Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: ParamSet1 Aliases: @@ -576,17 +285,10 @@ Accept wildcard characters: False ``` ### -AnyoneSharingLinkRecommendedExpirationInDays - -> Applicable: SharePoint Online - -Specifies the recommended number of days before Anyone (anonymous) sharing links expire for this site. This setting provides a suggested expiration period to users when they create sharing links. Only applies if OverrideTenantAnonymousLinkExpirationPolicy is set to true. - -The value can be from 1 to 730 days and must be less than or equal to the maximum expiration value set by `AnonymousLinkExpirationInDays`. - -When set to 0, the default value will be `AnonymousLinkExpirationInDays`. +{{ Fill AnyoneSharingLinkRecommendedExpirationInDays Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: ParamSet1 Aliases: @@ -598,13 +300,10 @@ Accept wildcard characters: False ``` ### -ApplyToExistingDocumentLibraries - -> Applicable: SharePoint Online - -Create a job to apply the version history limits setting to existing document libraries. +{{ Fill ApplyToExistingDocumentLibraries Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: SetSiteFileVersionPolicy Aliases: @@ -616,13 +315,10 @@ Accept wildcard characters: False ``` ### -ApplyToNewDocumentLibraries - -> Applicable: SharePoint Online - -Apply the version history limits setting to new document libraries. +{{ Fill ApplyToNewDocumentLibraries Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: SetSiteFileVersionPolicy, RemoveSiteFileVersionPolicy Aliases: @@ -646,20 +342,13 @@ Accept wildcard characters: False ``` ### -AuthenticationContextAccessType - -> Applicable: SharePoint Online - -Controls whether Authentication Context Limited Access is enabled for a site. - -The valid values are: - -- AllowLimitedAccess -- BlockAccess +{{ Fill AuthenticationContextAccessType Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SPOAuthenticationContextPolicyAccessType +Type: SPOAuthenticationContextPolicyAccessType Parameter Sets: ParamSet1 Aliases: +Accepted values: AllowLimitedAccess, BlockAccess Required: False Position: Named @@ -669,13 +358,10 @@ Accept wildcard characters: False ``` ### -AuthenticationContextName - -> Applicable: SharePoint Online - -The conditional access authentication context name. +{{ Fill AuthenticationContextName Description }} ```yaml -Type: System.String +Type: String Parameter Sets: ParamSet1 Aliases: @@ -687,22 +373,13 @@ Accept wildcard characters: False ``` ### -BlockDownloadLinksFileType - -> Applicable: SharePoint Online - -The valid values are: - -- WebPreviewableFiles -- ServerRenderedFilesOnly - -**Note**: ServerRendered (Office Only) and WebPreviewable (All supported files). - -The site's value is compared with the tenant level setting and the stricter one wins. For example, if the tenant is set to ServerRenderedFilesOnly then that will be used even if the site is set to WebPreviewableFiles. +{{ Fill BlockDownloadLinksFileType Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.BlockDownloadLinksFileTypes +Type: BlockDownloadLinksFileTypes Parameter Sets: ParamSet1 Aliases: +Accepted values: WebPreviewableFiles, ServerRenderedFilesOnly Required: False Position: Named @@ -712,20 +389,10 @@ Accept wildcard characters: False ``` ### -BlockDownloadPolicy - -> Applicable: SharePoint Online - -As a SharePoint administrator in Microsoft 365, you can block the download of files from SharePoint sites or OneDrive. This feature does not need Microsoft Entra Conditional Access policies. This feature can be set for individual sites but not at the organization level. - -Blocking the download of files allows users to remain productive while addressing the risk of accidental data loss. Users have browser-only access with no ability to download, print, or sync files. They also won't be able to access content through apps, including the Microsoft Office desktop apps. When web access is limited, users will see the following message at the top of sites: "Your organization doesn't allow you to download, print, or sync from this site. For help contact your IT department." Read the full documentation for advanced capabilities at [Block download policy for SharePoint sites and OneDrive](/sharepoint/block-download-from-sites). - -> [!NOTE] -> If `BlockDownloadPolicy` is enabled for a site that hosts a site collection app catalog, uploading or updating SharePoint Framework solution packages (`.sppkg`) can fail with **App package is invalid**, and the **Product ID** remains blank. Temporarily disable `BlockDownloadPolicy` while uploading or updating packages, and re-enable it afterward. - -PARAMVALUE: False | True +{{ Fill BlockDownloadPolicy Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -737,15 +404,13 @@ Accept wildcard characters: False ``` ### -BlockGuestsAsSiteAdmin - -> Applicable: SharePoint Online - -Whether to block guests as site admins. +{{ Fill BlockGuestsAsSiteAdmin Description }} ```yaml -Type: Microsoft.SharePoint.Client.SharingState +Type: SharingState Parameter Sets: ParamSet1 Aliases: +Accepted values: Unspecified, On, Off Required: False Position: Named @@ -755,13 +420,13 @@ 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. +{{ Fill ClearGroupId Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ClearGroupId Aliases: + Required: False Position: Named Default value: None @@ -770,13 +435,10 @@ Accept wildcard characters: False ``` ### -ClearRestrictedAccessControl - -> Applicable: SharePoint Online - -Clears the list of groups that are given access via an access restriction policy. +{{ Fill ClearRestrictedAccessControl Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ClearRestrictedAccessControl Aliases: @@ -788,13 +450,10 @@ Accept wildcard characters: False ``` ### -ClearSharingLockDown - -> Applicable: SharePoint Online - -Whether to clear the sharing lockdown for the site. +{{ Fill ClearSharingLockDown Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ClearLockDown Aliases: @@ -806,16 +465,10 @@ Accept wildcard characters: False ``` ### -CommentsOnSitePagesDisabled - -> Applicable: SharePoint Online - -Use this parameter to disable Comments section on Site Pages. -The parameter can't be used for Groups Site Collections. - -PARAMVALUE: False | True +{{ Fill CommentsOnSitePagesDisabled Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -827,22 +480,13 @@ Accept wildcard characters: False ``` ### -ConditionalAccessPolicy - -> Applicable: SharePoint Online - -Please read [Control access from unmanaged devices](/sharepoint/control-access-from-unmanaged-devices) documentation here to understand Conditional Access Policy usage in SharePoint Online. - -Possible values: - -- AllowFullAccess: Allows full access from desktop apps, mobile apps, and the web. -- AllowLimitedAccess: Allows limited, web-only access. -- BlockAccess: Blocks Access. -- AuthenticationContext: Assign a Microsoft Entra authentication context. Must add the AuthenticationContextName. Please read [Configure authentication contexts](/azure/active-directory/conditional-access/concept-conditional-access-cloud-apps#configure-authentication-contexts). +{{ Fill ConditionalAccessPolicy Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SPOConditionalAccessPolicyType +Type: SPOConditionalAccessPolicyType Parameter Sets: ParamSet1 Aliases: +Accepted values: AllowFullAccess, AllowLimitedAccess, BlockAccess, AuthenticationContext Required: False Position: Named @@ -852,21 +496,13 @@ Accept wildcard characters: False ``` ### -DefaultLinkPermission - -> Applicable: SharePoint Online - -The default link permission for the site collection. To be replaced by DefaultShareLinkRole. - -PARAMVALUE: None | View | Edit - -- None - Respect the organization default link permission -- View - Sets the default link permission for the site to "view" permissions -- Edit - Sets the default link permission for the site to "edit" permissions +{{ Fill DefaultLinkPermission Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SharingPermissionType +Type: SharingPermissionType Parameter Sets: ParamSet1 Aliases: +Accepted values: None, View, Edit Required: False Position: Named @@ -876,15 +512,10 @@ Accept wildcard characters: False ``` ### -DefaultLinkToExistingAccess - -> Applicable: SharePoint Online - -When set to TRUE, the DefaultSharingLinkType will be overriden and the default sharing link will be a People with Existing Access link (which does not modify permissions). When set to FALSE (the default), the DefaultSharingLinkType parameter controls the default sharing link type. - -PARAMVALUE: False | True +{{ Fill DefaultLinkToExistingAccess Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -896,13 +527,10 @@ Accept wildcard characters: False ``` ### -DefaultLinkToExistingAccessReset - -> Applicable: SharePoint Online - -Whether to reset the default link to existing access to the site. +{{ Fill DefaultLinkToExistingAccessReset Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ParamSet1 Aliases: @@ -914,23 +542,13 @@ Accept wildcard characters: False ``` ### -DefaultMainLinkScope - -> Applicable: SharePoint Online - -The default audience for main links used in sharing. Applies to all items at the root of the document library. Only audience scope is set by this parameter. The default effective value is `OnlyPeopleAdded`. - -The valid values are: - -- OnlyPeopleAdded -- Organization -- Anyone - -`Anyone` is only available if anonymous links are allowed at the tenant level. If `Anyone` is selected but the site has Anyone links disabled, the effective default falls back to the next most restrictive value. +{{ Fill DefaultMainLinkScope Description }} ```yaml -Type: Microsoft.SharePoint.Sharing.MainLinkAudience +Type: MainLinkAudience Parameter Sets: ParamSet1 Aliases: +Accepted values: OnlyPeopleAdded, Organization, Anyone Required: False Position: Named @@ -940,23 +558,13 @@ Accept wildcard characters: False ``` ### -DefaultShareLinkRole - -> Applicable: SharePoint Online - -The default share link role for the site collection. It replaces `DefaultLinkPermission`. - -The valid values are: - -- Edit -- None -- RestrictedView -- Review -- View +{{ Fill DefaultShareLinkRole Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SharingRole +Type: SharingRole Parameter Sets: ParamSet1 Aliases: +Accepted values: None, View, Edit, Review, RestrictedView Required: False Position: Named @@ -966,22 +574,13 @@ Accept wildcard characters: False ``` ### -DefaultShareLinkScope - -> Applicable: SharePoint Online - -The default share link scope on the site. It replaces `DefaultSharingLinkType`. - -The valid values are: - -- Anyone -- Organization -- SpecificPeople -- Uninitialized +{{ Fill DefaultShareLinkScope Description }} ```yaml -Type: Microsoft.SharePoint.Client.Sharing.SharingScope +Type: SharingScope Parameter Sets: ParamSet1 Aliases: +Accepted values: Anyone, Organization, SpecificPeople, Uninitialized Required: False Position: Named @@ -991,22 +590,13 @@ Accept wildcard characters: False ``` ### -DefaultSharingLinkType - -> Applicable: SharePoint Online - -The default link type for the site collection. To be replaced by DefaultShareLinkScope. - -PARAMVALUE: None | AnonymousAccess | Internal | Direct - -- None - Respect the organization default sharing link type -- AnonymousAccess - Sets the default sharing link for this site to an Anonymous Access or Anyone link -- Internal - Sets the default sharing link for this site to the "organization" link or company shareable link -- Direct - Sets the default sharing link for this site to the "Specific people" link +{{ Fill DefaultSharingLinkType Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SharingLinkType +Type: SharingLinkType Parameter Sets: ParamSet1 Aliases: +Accepted values: None, Direct, Internal, AnonymousAccess Required: False Position: Named @@ -1016,16 +606,10 @@ Accept wildcard characters: False ``` ### -DenyAddAndCustomizePages - -> Applicable: SharePoint Online - -Determines whether the Add And Customize Pages right is denied on the site collection. -For more information about permission levels, see User permissions and permission levels in SharePoint. - -PARAMVALUE: False | True +{{ Fill DenyAddAndCustomizePages Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1037,22 +621,13 @@ Accept wildcard characters: False ``` ### -DisableAppViews - -> Applicable: SharePoint Online - -**Note**: This parameter has been retired and no longer functions. - -Disables the Power Apps button. -Possible values: - -- Disabled -- NotDisabled -- Unknown (not settable) +{{ Fill DisableAppViews Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantAdministration.AppViewsPolicy +Type: AppViewsPolicy Parameter Sets: ParamSet1 Aliases: +Accepted values: Unknown, Disabled, NotDisabled Required: False Position: Named @@ -1061,20 +636,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DisableCompanyWideSharingLinks - -> Applicable: SharePoint Online - -Disables People in your organization links. For more information, see [People in your organization sharing links](/microsoft-365/solutions/microsoft-365-limit-sharing#people-in-your-organization-sharing-links). - -Possible values - -- Disabled -- NotDisabled -- Unknown (not settable) +### -DisableClassicPageBaselineSecurityMode +{{ Fill DisableClassicPageBaselineSecurityMode Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantAdministration.CompanyWideSharingLinksPolicy +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1085,22 +651,14 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DisableFlows - -> Applicable: SharePoint Online - -**Note**: This parameter has been retired and no longer functions. - -Disables the Power Automate button. -Possible values - -- Disabled -- NotDisabled +### -DisableCompanyWideSharingLinks +{{ Fill DisableCompanyWideSharingLinks Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantAdministration.FlowsPolicy +Type: CompanyWideSharingLinksPolicy Parameter Sets: ParamSet1 Aliases: +Accepted values: Unknown, Disabled, NotDisabled Required: False Position: Named @@ -1109,16 +667,14 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DisableSharingForNonOwners - -> Applicable: SharePoint Online - -This parameter prevents non-owners from inviting new users to the site. +### -DisableFlows +{{ Fill DisableFlows Description }} ```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: ParamSet3 +Type: FlowsPolicy +Parameter Sets: ParamSet1 Aliases: +Accepted values: Unknown, Disabled, NotDisabled Required: False Position: Named @@ -1127,17 +683,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DisableSiteBranding - -> Applicable: SharePoint Online - -Enables or disables site branding. When `DisableSiteBranding` is set to `$true`, the site branding is disabled on the site collection. - -PARAMVALUE: True | False +### -DisableSharingForNonOwners +{{ Fill DisableSharingForNonOwners Description }} ```yaml -Type: System.Boolean -Parameter Sets: ParamSet1 +Type: SwitchParameter +Parameter Sets: ParamSet3 Aliases: Required: False @@ -1147,13 +698,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IsAuthoritative - -> Applicable: SharePoint Online - -When an admin with a Copilot license marks a site as authoritative, it signals to Microsoft Search, Microsoft 365 Copilot, and other AI agents that the content is official, trusted, and verified. This designation helps improve content discoverability and increases user confidence in AI-generated responses. - -PARAMVALUE: True | False +### -DisableSiteBranding +{{ Fill DisableSiteBranding Description }} ```yaml Type: Boolean @@ -1168,29 +714,10 @@ Accept wildcard characters: False ``` ### -EnableAutoExpirationVersionTrim - -> Applicable: SharePoint Online - -SharePoint Administrators can set site-level version history limit settings that universally apply to new versions created on all new document libraries created on the site. Also can create request to set the version setting for existing libraries that enabled versioning. - -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 new/existing document libraries in the site will be managed automatically. -- False - Version history limits for new Versions created on new/existing document libraries in the site will be managed manually by setting limits to the number of major versions (`MajorVersionLimit`), number of major with minor versions (`MajorWithMinorVersionsLimit`) and time set (`ExpireVersionsAfterDays`). Review the documentation of both parameters to manage your organization's version limits manually. - -> [!NOTE] -> When version history limits are managed manually (`EnableAutoExpirationVersionTrim $false`), `MajorVersionLimit` and `ExpireVersionsAfterDays` are both required parameters, `MajorWithMinorVersionsLimit` is also required for creating request for setting existing document libraries with the following acceptable values: -> a. `MajorVersionLimit` accepts values from 1 through 50,000 (inclusive). -> b. `MajorWithMinorVersionsLimit` accepts values from 0 through 50,000 (inclusive). -> c. `ExpireVersionsAfterDays` accepts values of 0 to Never Expire or values >= 30 to delete versions that exceed that time period. -> When version history limits are managed automatically (`EnableAutoExpirationVersionTrim $true`), setting `MajorVersionLimit` or `ExpireVersionsAfterDays` will result in an error as the count limits are set by the service. - -PARAMVALUE: False | True +{{ Fill EnableAutoExpirationVersionTrim Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: SetSiteFileVersionPolicy, SetSiteFileTypeFileVersionPolicy Aliases: @@ -1202,14 +729,10 @@ Accept wildcard characters: False ``` ### -EnablePWA - -> Applicable: SharePoint Online - -Determines whether site can include Project Web App. -For more information about Project Web App, see Plan SharePoint groups in Project Server. +{{ Fill EnablePWA Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet2 Aliases: @@ -1221,15 +744,10 @@ Accept wildcard characters: False ``` ### -ExcludeBlockDownloadPolicySiteOwners - -> Applicable: SharePoint Online - -Controls if site owners are excluded from block download policy. - -PARAMVALUE: False | True +{{ Fill ExcludeBlockDownloadPolicySiteOwners Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1241,13 +759,10 @@ Accept wildcard characters: False ``` ### -ExcludeBlockDownloadSharePointGroups - -> Applicable: SharePoint Online - -Specifies the groups excluded from the block download policy. +{{ Fill ExcludeBlockDownloadSharePointGroups Description }} ```yaml -Type: System.String[] +Type: String[] Parameter Sets: ParamSet1 Aliases: @@ -1259,13 +774,10 @@ Accept wildcard characters: False ``` ### -ExcludedBlockDownloadGroupIds - -> Applicable: SharePoint Online - -Exempts users from specified groups from the block download policy and they can fully download any content for the site. +{{ Fill ExcludedBlockDownloadGroupIds Description }} ```yaml -Type: System.Guid[] +Type: Guid[] Parameter Sets: ParamSet1 Aliases: @@ -1277,15 +789,10 @@ Accept wildcard characters: False ``` ### -ExpireVersionsAfterDays - -> Applicable: SharePoint Online - -When version history limits are managed manually (`EnableAutoExpirationVersionTrim $false`), admins will need to set the limits to the number of major versions (`MajorVersionLimit`), the number of major with minor versions (`MajorWithMinorVersionsLimit`) and the time period the versions are stored (`ExpireVersionsAfterDays`). Please check the description of `EnableAutoExpirationVersionTrim` for more details. - -PARAMVALUE: Int32 +{{ Fill ExpireVersionsAfterDays Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: SetSiteFileVersionPolicy, SetSiteFileTypeFileVersionPolicy Aliases: @@ -1297,15 +804,10 @@ Accept wildcard characters: False ``` ### -ExternalUserExpirationInDays - -> Applicable: SharePoint Online - -Specifies all external user expiration which will expire after the set number of days. Only applies if OverrideTenantExternalUserExpirationPolicy is set to true. - -The maximum value is 730. To remove the expiration requirement, set the value to zero (0). +{{ Fill ExternalUserExpirationInDays Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: ParamSet1 Aliases: @@ -1317,21 +819,13 @@ Accept wildcard characters: False ``` ### -FileAnonymousLinkType - -> Applicable: SharePoint Online - -Site specific override of tenant settings to allow configuring file anonymous access links that allow recipients to only view or view and edit. - -The valid values are: - -- None - Respect the organization setting for FileAnonymousLinkType -- View - Sets the anonymous file link permissions for this site to allow only view permissions -- Edit - Sets the anonymous file link permissions for this site to allow both view and edit permissions +{{ Fill FileAnonymousLinkType Description }} ```yaml -Type: Microsoft.SharePoint.Client.AnonymousLinkType -Parameter Sets: (All) +Type: AnonymousLinkType +Parameter Sets: ParamSet1 Aliases: +Accepted values: None, View, Edit, ViewUpload Required: False Position: Named @@ -1341,23 +835,7 @@ Accept wildcard characters: False ``` ### -FileTypesForVersionExpiration - -> Applicable: SharePoint Online - -An array of file type names. The supported file type names are: -- Audio -- OutlookPST -- Video - -Apply the version history limits to a set of file types so that they no longer follow the default version history limits. It is used in combination with the following parameters: -- [EnableAutoExpirationVersionTrim](#-enableautoexpirationversiontrim) -- [MajorVersionLimit](#-majorversionlimit) -- [ExpireVersionsAfterDays](#-expireversionsafterdays) - -This must be used with [ApplyToNewDocumentLibraries](#-applytonewdocumentlibraries) switch set to true, because the version history limits are only applied on new document libraries in the site. - -> [!NOTE] -> This feature is currently in preview and may not be available in your tenant. +{{ Fill FileTypesForVersionExpiration Description }} ```yaml Type: String[] @@ -1372,22 +850,13 @@ Accept wildcard characters: False ``` ### -FolderAnonymousLinkType - -> Applicable: SharePoint Online - -Site specific override of tenant settings to allow configuring folder anonymous access links that allow recipients to view, view and upload, or view, edit, and upload files. - -The valid values are: - -- None - Respect the organization setting for FolderAnonymousLinkType -- View - Sets the anonymous folder link permissions for this site to allow only view permissions -- ViewUpload - Sets the anonymous folder link permissions for this site to allow both view and upload files permissions -- Edit - Sets the anonymous folder link permissions for this site to allow view, edit, and upload files permissions +{{ Fill FolderAnonymousLinkType Description }} ```yaml -Type: Microsoft.SharePoint.Client.AnonymousLinkType -Parameter Sets: (All) +Type: AnonymousLinkType +Parameter Sets: ParamSet1 Aliases: +Accepted values: None, View, Edit, ViewUpload Required: False Position: Named @@ -1397,17 +866,10 @@ Accept wildcard characters: False ``` ### -HidePeoplePreviewingFiles - -> Applicable: SharePoint Online - -This setting disables the feature in OneDrive and SharePoint file previewing that displays the presence of other users on the file. It does not affect any experiences outside of the previewer. - -PARAMVALUE: False | True - -If set to True, the presence of other users on the file will no longer be displayed. +{{ Fill HidePeoplePreviewingFiles Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1419,17 +881,10 @@ Accept wildcard characters: False ``` ### -HidePeopleWhoHaveListsOpen - -> Applicable: SharePoint Online - -This setting disables the feature in Microsoft Lists that displays the presence of other users on the list and its items when they are viewing. - -PARAMVALUE: False | True - -If set to True, the presence of other users on the list and its items will no longer be displayed. List presence is enabled by default. +{{ Fill HidePeopleWhoHaveListsOpen Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1441,13 +896,10 @@ Accept wildcard characters: False ``` ### -HubSiteId - -> Applicable: SharePoint Online - -Sets the hub site for a specified SharePoint site. +{{ Fill HubSiteId Description }} ```yaml -Type: System.Guid +Type: Guid Parameter Sets: ParamSet1 Aliases: @@ -1459,10 +911,7 @@ Accept wildcard characters: False ``` ### -Identity - -> Applicable: SharePoint Online - -Specifies the URL of the site collection to update. +{{ Fill Identity Description }} ```yaml Type: SpoSitePipeBind @@ -1470,20 +919,17 @@ Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ### -InformationBarriersMode - -> Applicable: SharePoint Online - -Specifies the information barrier mode. +{{ Fill InformationBarriersMode Description }} ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -1495,13 +941,10 @@ Accept wildcard characters: False ``` ### -InheritVersionPolicyFromTenant - -> Applicable: SharePoint Online - -Clear the file version setting at the site level. The new document libraries will use the Tenant Level setting. It won't impact the existing document libraries. +{{ Fill InheritVersionPolicyFromTenant Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: InheritVersionPolicyFromTenant Aliases: @@ -1512,22 +955,29 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LimitedAccessFileType - -> Applicable: SharePoint Online - -The following parameters can be used with -ConditionalAccessPolicy AllowLimitedAccess for both the organization-wide setting and the site-level setting. +### -IsAuthoritative +{{ Fill IsAuthoritative Description }} -- OfficeOnlineFilesOnly: Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity. +```yaml +Type: Boolean +Parameter Sets: ParamSet1 +Aliases: -- LimitedAccessFileType WebPreviewableFiles (default): Allows users to preview Office files and other file types (such as PDF files and images) in the browser. Note that the contents of file types other than Office files are handled in the browser. This option optimizes for user productivity but offers less security for files that aren't Office files. +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` -- LimitedAccessFileType OtherFiles: Allows users to download files that can't be previewed, such as .zip and .exe. This option offers less security. +### -LimitedAccessFileType +{{ Fill LimitedAccessFileType Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SPOLimitedAccessFileType +Type: SPOLimitedAccessFileType Parameter Sets: ParamSet1 Aliases: +Accepted values: OfficeOnlineFilesOnly, WebPreviewableFiles, OtherFiles Required: False Position: Named @@ -1537,13 +987,10 @@ Accept wildcard characters: False ``` ### -ListsShowHeaderAndNavigation - -> Applicable: SharePoint Online - -Whether users see the full SharePoint chrome when they open a list. +{{ Fill ListsShowHeaderAndNavigation Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1555,12 +1002,10 @@ Accept wildcard characters: False ``` ### -LocaleId - -Specifies the language of this site collection. -For more information, see Locale IDs Assigned by Microsoft (https://go.microsoft.com/fwlink/p/?LinkId=242911) (https://go.microsoft.com/fwlink/p/?LinkId=242911). +{{ Fill LocaleId Description }} ```yaml -Type: System.UInt32 +Type: UInt32 Parameter Sets: ParamSet1 Aliases: @@ -1572,19 +1017,10 @@ Accept wildcard characters: False ``` ### -LockState - -> Applicable: SharePoint Online - -Sets the lock state on a site. -Valid values are: NoAccess, ReadOnly and Unlock. -When the lock state of a site is ReadOnly, a message will appear on the site stating that the site is under maintenance and it is read-only. -When the lock state of a site is NoAccess, all traffic to the site will be blocked. -If parameter NoAccessRedirectUrl in the `Set-SPOTenant` cmdlet is set, traffic to sites that have a lock state NoAccess will be redirected to that URL. -If parameter NoAccessRedirectUrl is not set, a 403 error will be returned. -It isn't possible to set the lock state on the root site collection. +{{ Fill LockState Description }} ```yaml -Type: System.String +Type: String Parameter Sets: ParamSet1 Aliases: @@ -1596,23 +1032,13 @@ Accept wildcard characters: False ``` ### -LoopDefaultSharingLinkRole - -> Applicable: SharePoint Online - -Gets or sets default share link role for fluid on the site. - -The valid values are: - -- Edit -- None -- RestrictedView -- Review -- View +{{ Fill LoopDefaultSharingLinkRole Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SharingRole +Type: SharingRole Parameter Sets: ParamSet1 Aliases: +Accepted values: None, View, Edit, Review, RestrictedView Required: False Position: Named @@ -1622,22 +1048,13 @@ Accept wildcard characters: False ``` ### -LoopDefaultSharingLinkScope - -> Applicable: SharePoint Online - -Gets or sets default share link scope for fluid on the site. - -The valid values are: - -- Anyone -- Organization -- SpecificPeople -- Uninitialized +{{ Fill LoopDefaultSharingLinkScope Description }} ```yaml -Type: Microsoft.SharePoint.Client.Sharing.SharingScope +Type: SharingScope Parameter Sets: ParamSet1 Aliases: +Accepted values: Anyone, Organization, SpecificPeople, Uninitialized Required: False Position: Named @@ -1647,15 +1064,10 @@ Accept wildcard characters: False ``` ### -MajorVersionLimit - -> Applicable: SharePoint Online - -When version history limits are managed manually (`EnableAutoExpirationVersionTrim $false`), admins will need to set the limits to the number of major versions (`MajorVersionLimit`) and the time period the versions are stored (`ExpireVersionsAfterDays`). Please check the description of `EnableAutoExpirationVersionTrim` for more details. - -PARAMVALUE: Int32 +{{ Fill MajorVersionLimit Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: SetSiteFileVersionPolicy, SetSiteFileTypeFileVersionPolicy Aliases: @@ -1667,15 +1079,10 @@ Accept wildcard characters: False ``` ### -MajorWithMinorVersionsLimit - -> Applicable: SharePoint Online - -When version history limits are managed manually (`EnableAutoExpirationVersionTrim $false`), admins will need to set the limits to the number of major versions (`MajorVersionLimit`), the number of major with minor versions (`MajorWithMinorVersionsLimit`) and the time period the versions are stored (`ExpireVersionsAfterDays`). Please check the description of `EnableAutoExpirationVersionTrim` for more details. - -PARAMVALUE: Int32 +{{ Fill MajorWithMinorVersionsLimit Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: SetSiteFileVersionPolicy Aliases: @@ -1687,19 +1094,13 @@ Accept wildcard characters: False ``` ### -MediaTranscription - -> Applicable: SharePoint Online - -When the feature is enabled, videos can have transcripts generated on demand or generated automatically in certain scenarios. This is the default because the policy is default on. If a video owner decides they don't want the transcript, they can always hide or delete it from that video. -Possible values: - -- Enabled -- Disabled +{{ Fill MediaTranscription Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.MediaTranscriptionPolicyType +Type: MediaTranscriptionPolicyType Parameter Sets: ParamSet1 Aliases: +Accepted values: Enabled, Disabled Required: False Position: Named @@ -1709,13 +1110,10 @@ Accept wildcard characters: False ``` ### -NoWait - -> Applicable: SharePoint Online - -Specifies to continue executing script immediately. +{{ Fill NoWait Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ParamSet1 Aliases: @@ -1727,17 +1125,10 @@ Accept wildcard characters: False ``` ### -OrganizationSharingLinkMaxExpirationInDays - -> Applicable: SharePoint Online - -Specifies the maximum number of days before organization sharing links expire for this site. - -The value can be from 7 to 720 days. - -To remove the expiration requirement, set the value to zero (0). +{{ Fill OrganizationSharingLinkMaxExpirationInDays Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: ParamSet1 Aliases: @@ -1749,17 +1140,10 @@ Accept wildcard characters: False ``` ### -OrganizationSharingLinkRecommendedExpirationInDays - -> Applicable: SharePoint Online - -Specifies the recommended number of days before organization sharing links expire for this site. This setting provides a suggested expiration period to users when they create sharing links. - -The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by `OrganizationSharingLinkMaxExpirationInDays`. - -When set to 0, the default value will be `OrganizationSharingLinkMaxExpirationInDays`. +{{ Fill OrganizationSharingLinkRecommendedExpirationInDays Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: ParamSet1 Aliases: @@ -1771,23 +1155,13 @@ Accept wildcard characters: False ``` ### -OverrideBlockUserInfoVisibility - -> Applicable: SharePoint Online - -Choose whether to override the Block User Info Visibility policy on this site. - -PARAMVALUE: - -- OrganizationDefault (default) - Respect the organization-level Block User Info Visibility policy. -- ApplyToNoUsers – No users are prevented from accessing User Info when they have Limited Access permission only on the site. -- ApplyToAllUsers – All users (internal or external) are prevented from accessing User Info if they have Limited Access permission only on the site. -- ApplyToGuestAndExternalUsers – Only external or guest users are prevented from accessing User Info if they have Limited Access permission only on the site. -- ApplyToInternalUsers – Only internal users are prevented from accessing User Info if they have Limited Access permission only on the site. +{{ Fill OverrideBlockUserInfoVisibility Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantAdministration.SiteUserInfoVisibilityPolicyValue +Type: SiteUserInfoVisibilityPolicyValue Parameter Sets: ParamSet1 Aliases: +Accepted values: OrganizationDefault, ApplyToNoUsers, ApplyToGuestAndExternalUsers, ApplyToInternalUsers, ApplyToAllUsers Required: False Position: Named @@ -1797,15 +1171,10 @@ Accept wildcard characters: False ``` ### -OverrideSharingCapability - -> Applicable: SharePoint Online - -Determines whether it should override the sharing capability on its partition. For example, if the tenant sharing capability is `ExternalUserAndGuestSharing`, the core partition sharing capability is `Disabled`, and the sharing capability defined on the site collection is `ExternalUserAndGuestSharing`, the effective site sharing capability should be `Disabled` (the most restrictive one among tenant, partition, and site collection) if `OverrideSharingCapability` is `false`. If `OverrideSharingCapability` is `true`, it skips checking partition sharing capability and the effective site sharing capability should be `ExternalUserAndGuestSharing`. - -PARAMVALUE: False | True +{{ Fill OverrideSharingCapability Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1817,19 +1186,10 @@ Accept wildcard characters: False ``` ### -OverrideTenantAnonymousLinkExpirationPolicy - -> Applicable: SharePoint Online - -Choose whether to override the anonymous or anyone link expiration policy on this site. - -PARAMVALUE: None | False | True - -- None - Respect the organization-level policy for anonymous or anyone link expiration -- False - Respect the organization-level policy for anonymous or anyone link expiration -- True - Override the organization-level policy for anonymous or anyone link expiration (can be more or less restrictive) +{{ Fill OverrideTenantAnonymousLinkExpirationPolicy Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1841,19 +1201,10 @@ Accept wildcard characters: False ``` ### -OverrideTenantExternalUserExpirationPolicy - -> Applicable: SharePoint Online - -Choose whether to override the external user expiration policy on this site. - -Possible values: - -- None: Respect the organization-level policy for external user expiration. -- False: Respect the organization-level policy for external user expiration. -- True: Override the organization-level policy for external user expiration (can be more or less restrictive). +{{ Fill OverrideTenantExternalUserExpirationPolicy Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1865,18 +1216,10 @@ Accept wildcard characters: False ``` ### -OverrideTenantOrganizationSharingLinkExpirationPolicy - -> Applicable: SharePoint Online - -Choose whether to override the tenant-level organization sharing link expiration policy on this site. Overrides both the maximum and recommended values. - -Possible values: - -- False: Respect the tenant-level organization sharing link expiration policy. -- True: Override the tenant-level organization sharing link expiration policy (can be more or less restrictive). +{{ Fill OverrideTenantOrganizationSharingLinkExpirationPolicy Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1888,13 +1231,10 @@ Accept wildcard characters: False ``` ### -Owner - -> Applicable: SharePoint Online - -Specifies the owner of the site collection. Changing the Owner of a OneDrive is not supported and causes many experiences to break. +{{ Fill Owner Description }} ```yaml -Type: System.String +Type: String Parameter Sets: ParamSet1 Aliases: @@ -1906,15 +1246,10 @@ Accept wildcard characters: False ``` ### -ReadOnlyForBlockDownloadPolicy - -> Applicable: SharePoint Online - -Controls if read-only should be enabled for block download policy. - -PARAMVALUE: False | True +{{ Fill ReadOnlyForBlockDownloadPolicy Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1926,13 +1261,10 @@ Accept wildcard characters: False ``` ### -ReadOnlyForUnmanagedDevices - -Controls whether unmanaged devices have read-only access. - -PARAMVALUE: False | True +{{ Fill ReadOnlyForUnmanagedDevices Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -1944,13 +1276,10 @@ Accept wildcard characters: False ``` ### -RemoveInformationSegment - -This parameter allows you to remove a segment from a SharePoint site. This parameter is only applicable for tenants who have enabled Microsoft 365 Information barriers capability. Please read https://learn.microsoft.com/sharepoint/information-barriers documentation to understand Information barriers with SharePoint Online. - -**Note**: This parameter is available only in SharePoint Online Management Shell Version 16.0.19927.12000 or later. +{{ Fill RemoveInformationSegment Description }} ```yaml -Type: System.Guid[] +Type: Guid[] Parameter Sets: RemoveInformationBarrierSegments Aliases: @@ -1962,13 +1291,13 @@ Accept wildcard characters: False ``` ### -RemoveLabel - -This parameter allows you to remove the assigned sensitivity label on a site. +{{ Fill RemoveLabel Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ParamSet5 Aliases: + Required: False Position: Named Default value: None @@ -1977,13 +1306,10 @@ Accept wildcard characters: False ``` ### -RemoveRestrictedAccessControlGroups - -> Applicable: SharePoint Online - -Specifies the IDs of groups to be removed from access restriction policy and lose access. +{{ Fill RemoveRestrictedAccessControlGroups Description }} ```yaml -Type: System.Guid[] +Type: Guid[] Parameter Sets: RemoveRestrictedAccessControlGroups Aliases: @@ -1995,15 +1321,7 @@ Accept wildcard characters: False ``` ### -RemoveVersionExpirationFileTypeOverride - -> Applicable: SharePoint Online - -An array of file type names. Removes the version history limits to a set of file types so that they will follow the default version history limits. - -This must be used with [ApplyToNewDocumentLibraries](#-applytonewdocumentlibraries) switch set to true, because the version history limits are only applied on new document libraries in the site. - -> [!NOTE] -> This feature is currently in preview and may not be available in your tenant. +{{ Fill RemoveVersionExpirationFileTypeOverride Description }} ```yaml Type: String[] @@ -2018,15 +1336,10 @@ Accept wildcard characters: False ``` ### -RequestFilesLinkEnabled - -> Applicable: SharePoint Online - -Enables or disables the Request Files link on the site. - -PARAMVALUE: False | True +{{ Fill RequestFilesLinkEnabled Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -2038,15 +1351,10 @@ Accept wildcard characters: False ``` ### -RequestFilesLinkExpirationInDays - -> Applicable: SharePoint Online - -Specifies the number of days before a Request Files link expires for the site. - -The value can be from 0 to 730 days. +{{ Fill RequestFilesLinkExpirationInDays Description }} ```yaml -Type: System.Int32 +Type: Int32 Parameter Sets: ParamSet1 Aliases: @@ -2058,13 +1366,10 @@ Accept wildcard characters: False ``` ### -ResourceQuota - -Specifies the resource quota in megabytes of the site collection. -The default value is 0. -For more information, see Resource Usage Limits on Sandboxed Solutions in SharePoint 2010 (https://msdn.microsoft.com/en-us/library/gg615462.aspx) (https://msdn.microsoft.com/en-us/library/gg615462.aspx). +{{ Fill ResourceQuota Description }} ```yaml -Type: System.Double +Type: Double Parameter Sets: ParamSet1 Aliases: @@ -2076,13 +1381,10 @@ Accept wildcard characters: False ``` ### -ResourceQuotaWarningLevel - -> Applicable: SharePoint Online - -Specifies the warning level in megabytes of the site collection to warn the site collection administrator that the site is approaching the resource quota. +{{ Fill ResourceQuotaWarningLevel Description }} ```yaml -Type: System.Double +Type: Double Parameter Sets: ParamSet1 Aliases: @@ -2094,15 +1396,10 @@ Accept wildcard characters: False ``` ### -RestrictContentOrgWideSearch - -> Applicable: SharePoint Online - -Controls whether org-wide content search is enabled for a site. - -PARAMVALUE: False | True +{{ Fill RestrictContentOrgWideSearch Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -2114,15 +1411,10 @@ Accept wildcard characters: False ``` ### -RestrictedAccessControl - -> Applicable: SharePoint Online - -Sets access restriction policy by group membership. - -PARAMVALUE: False | True +{{ Fill RestrictedAccessControl Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -2134,29 +1426,10 @@ Accept wildcard characters: False ``` ### -RestrictedAccessControlGroups - -> Applicable: SharePoint Online - -Specifies the IDs of groups that have access under an access restriction policy. - -```yaml -Type: System.Guid[] -Parameter Sets: ParamSet1 -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RestrictedContentDiscoveryforCopilotAndAgents - -Sets or updates the site setting to host Agents by activating or deactivating the Restricted Content Discovery (RCD) for Agents. *Currently under private preview.* +{{ Fill RestrictedAccessControlGroups Description }} ```yaml -Type: System.Boolean +Type: Guid[] Parameter Sets: ParamSet1 Aliases: @@ -2168,15 +1441,13 @@ Accept wildcard characters: False ``` ### -RestrictedToGeo - -> Applicable: SharePoint Online - -PARAMVALUE: NoRestriction | BlockMoveOnly | BlockFull | Unknown +{{ Fill RestrictedToGeo Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantAdministration.RestrictedToRegion +Type: RestrictedToRegion Parameter Sets: ParamSet1 Aliases: +Accepted values: NoRestriction, BlockMoveOnly, BlockFull, Unknown Required: False Position: Named @@ -2186,15 +1457,13 @@ Accept wildcard characters: False ``` ### -SandboxedCodeActivationCapability - -> Applicable: SharePoint Online - -PARAMVALUE: Unknown | Check | Disabled | Enabled +{{ Fill SandboxedCodeActivationCapability Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantAdministration.SandboxedCodeActivationCapabilities +Type: SandboxedCodeActivationCapabilities Parameter Sets: ParamSet1 Aliases: +Accepted values: Unknown, Check, Disabled, Enabled Required: False Position: Named @@ -2204,13 +1473,10 @@ Accept wildcard characters: False ``` ### -SensitivityLabel - -> Applicable: SharePoint Online - -Used to specify the unique identifier (GUID) of the SensitivityLabel. +{{ Fill SensitivityLabel Description }} ```yaml -Type: System.String +Type: String Parameter Sets: ParamSet1 Aliases: @@ -2222,15 +1488,10 @@ Accept wildcard characters: False ``` ### -SharingAllowedDomainList - -> Applicable: SharePoint Online - -Specifies a list of email domains that are allowed for sharing with the external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com". - -For additional information about how to restrict a domain sharing, see [Restrict sharing of SharePoint and OneDrive content by domain](/sharepoint/restricted-domains-sharing). +{{ Fill SharingAllowedDomainList Description }} ```yaml -Type: System.String +Type: String Parameter Sets: ParamSet1 Aliases: @@ -2242,15 +1503,10 @@ Accept wildcard characters: False ``` ### -SharingBlockedDomainList - -> Applicable: SharePoint Online - -Specifies a list of email domains that are blocked or prohibited for sharing with the external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com". - -For additional information about how to restrict a domain sharing, see [Restrict sharing of SharePoint and OneDrive content by domain](/sharepoint/restricted-domains-sharing). +{{ Fill SharingBlockedDomainList Description }} ```yaml -Type: System.String +Type: String Parameter Sets: ParamSet1 Aliases: @@ -2262,24 +1518,13 @@ Accept wildcard characters: False ``` ### -SharingCapability - -> Applicable: SharePoint Online - -Determines what level of sharing is available for the site. - -The valid values are: - -- Disabled - Sharing outside your organization is disabled. -- ExistingExternalUserSharingOnly - Allow sharing only with the external users that already exist in your organization's directory. -- ExternalUserSharingOnly - External user sharing (share by email) is enabled, but anonymous link sharing is disabled. -- ExternalUserAndGuestSharing - External user sharing (share by email) and anonymous link sharing are both enabled. - -For more information about sharing, see Turn external sharing on or off for SharePoint Online (). +{{ Fill SharingCapability Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SharingCapabilities +Type: SharingCapabilities Parameter Sets: ParamSet1 Aliases: +Accepted values: Disabled, ExternalUserSharingOnly, ExternalUserAndGuestSharing, ExistingExternalUserSharingOnly Required: False Position: Named @@ -2289,23 +1534,13 @@ Accept wildcard characters: False ``` ### -SharingDomainRestrictionMode - -> Applicable: SharePoint Online - -Specifies the sharing mode for external domains. - -Possible values are: - -- None - Do not restrict sharing by domain -- AllowList - Sharing is allowed only with external users that have account on domains specified with -SharingAllowedDomainList -- BlockList - Sharing is allowed with external users in all domains except in domains specified with -SharingBlockedDomainList - -For additional information about how to restrict a domain sharing, see [Restrict sharing of SharePoint and OneDrive content by domain](/sharepoint/restricted-domains-sharing). +{{ Fill SharingDomainRestrictionMode Description }} ```yaml -Type: Microsoft.Online.SharePoint.TenantManagement.SharingDomainRestrictionModes +Type: SharingDomainRestrictionModes Parameter Sets: ParamSet1 Aliases: +Accepted values: None, AllowList, BlockList Required: False Position: Named @@ -2315,15 +1550,10 @@ Accept wildcard characters: False ``` ### -ShowPeoplePickerSuggestionsForGuestUsers - -> Applicable: SharePoint Online - -To enable the option to search for existing guest users at site collection level, set this parameter to $true. - -PARAMVALUE: False | True +{{ Fill ShowPeoplePickerSuggestionsForGuestUsers Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -2335,17 +1565,10 @@ Accept wildcard characters: False ``` ### -SocialBarOnSitePagesDisabled - -> Applicable: SharePoint Online - -Disables or enables the Social Bar for Site Collection. - -The Social Bar will appear on all modern SharePoint pages with the exception of the home page of a site. It will give users the ability to like a page, see the number of views, likes, and comments on a page, and see the people who have liked a page. - -PARAMVALUE: False | True +{{ Fill SocialBarOnSitePagesDisabled Description }} ```yaml -Type: System.Boolean +Type: Boolean Parameter Sets: ParamSet1 Aliases: @@ -2357,13 +1580,10 @@ Accept wildcard characters: False ``` ### -StorageQuota - -> Applicable: SharePoint Online - -Specifies the storage quota in megabytes of the site collection. +{{ Fill StorageQuota Description }} ```yaml -Type: System.Int64 +Type: Int64 Parameter Sets: ParamSet1 Aliases: @@ -2375,13 +1595,10 @@ Accept wildcard characters: False ``` ### -StorageQuotaReset - -> Applicable: SharePoint Online - -Resets the OneDrive for Business storage quota to the tenant's new default storage space. +{{ Fill StorageQuotaReset Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ParamSet1 Aliases: @@ -2393,13 +1610,10 @@ Accept wildcard characters: False ``` ### -StorageQuotaWarningLevel - -> Applicable: SharePoint Online - -Specifies the warning level in megabytes of the site collection to warn the site collection administrator that the site is approaching the storage quota. +{{ Fill StorageQuotaWarningLevel Description }} ```yaml -Type: System.Int64 +Type: Int64 Parameter Sets: ParamSet1 Aliases: @@ -2411,13 +1625,10 @@ Accept wildcard characters: False ``` ### -Title - -> Applicable: SharePoint Online - -Specifies the title of the site collection. +{{ Fill Title Description }} ```yaml -Type: System.String +Type: String Parameter Sets: ParamSet1 Aliases: @@ -2429,13 +1640,10 @@ Accept wildcard characters: False ``` ### -UpdateUserTypeFromAzureAD - -> Applicable: SharePoint Online - -Whether to update user types for all users in the site to match what's in Entra. +{{ Fill UpdateUserTypeFromAzureAD Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: ParamSet1 Aliases: @@ -2447,13 +1655,10 @@ Accept wildcard characters: False ``` ### -Confirm - -> Applicable: SharePoint Online - Prompts you for confirmation before running the cmdlet. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: (All) Aliases: cf @@ -2465,13 +1670,11 @@ Accept wildcard characters: False ``` ### -WhatIf - -> Applicable: SharePoint Online - -The WhatIf switch doesn't work on this cmdlet. +Shows what would happen if the cmdlet runs. +The cmdlet is not run. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: SwitchParameter Parameter Sets: (All) Aliases: wi @@ -2483,17 +1686,15 @@ Accept wildcard characters: False ``` ### CommonParameters - -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS +### Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind + ## OUTPUTS +### System.Object ## NOTES ## RELATED LINKS - -[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online) - -[Set-SPOTenant](Set-SPOTenant.md)