From 2f89bfbefdc4bd21136bcda94c111b3317e85a5d Mon Sep 17 00:00:00 2001 From: "Divyachapan S. Padur" Date: Wed, 23 Apr 2025 13:00:45 -0700 Subject: [PATCH 1/5] Update Set-SPOTenant.md --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index bca6a40ac..c7e6ef3cd 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -3768,8 +3768,7 @@ Accept wildcard characters: False ``` ### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled -Enables or disables web property bag update when DenyAddAndCustomizePages is enabled. When AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled is set to $true, web property bag can be updated even if DenyAddAndCustomizePages is turned on when the user had AddAndCustomizePages (prior to DenyAddAndCustomizePages removing it). - +Enables or disables web property bag updates in all sites in the tenant. When AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled is set to $true, the web property bag can be updated even if the Add And Customize Pages right is denied on a site collection. PARAMVALUE: True | False ```yaml From 4384aded31d9ca1fe72b068b808f30975222d0db Mon Sep 17 00:00:00 2001 From: "Divyachapan S. Padur" Date: Wed, 23 Apr 2025 13:35:11 -0700 Subject: [PATCH 2/5] Update Set-SPOTenant.md --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index c7e6ef3cd..406f29e12 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -3768,7 +3768,7 @@ Accept wildcard characters: False ``` ### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled -Enables or disables web property bag updates in all sites in the tenant. When AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled is set to $true, the web property bag can be updated even if the Add And Customize Pages right is denied on a site collection. +Enables or disables web property bag updates in all sites in the tenant. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to '$true', the web property bag can be updated even if the Add And Customize Pages right is denied on a site collection. PARAMVALUE: True | False ```yaml From 461582baf094108efc86c0347425158f2f68c5fa Mon Sep 17 00:00:00 2001 From: "Divyachapan S. Padur" Date: Wed, 23 Apr 2025 13:44:05 -0700 Subject: [PATCH 3/5] Update Set-SPOTenant.md --- .../sharepoint-online/Set-SPOTenant.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index 406f29e12..e65ad010c 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -75,6 +75,7 @@ Set-SPOTenant [-DefaultOneDriveInformationBarrierMode ] [-DefaultSharingLinkType ] [-DelayDenyAddAndCustomizePagesEnforcement ] + [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites ] [-DelegateRestrictedAccessControlManagement ] [-DelegateRestrictedContentDiscoverabilityManagement ] [-DenySelectSecurityGroupsInSPSitesList [String[]]] @@ -3050,6 +3051,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites + +This parameter controls how SharePoint will deal with classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) where custom scripts are allowed. + +The valid values are: + +* False (default) - for classic publishing site collections where administrators enabled the ability to add custom script, SharePoint will revoke that ability within 24 hours from the last time this setting was changed. +* True - All changes performed by administrators to custom script settings are preserved. + +> [!NOTE] +> This setting affects all classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0). There are no options to preserve changes to custom script settings only on some specific sites. + +```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 +``` + ### -IsDataAccessInCardDesignerEnabled The IsDataAccessInCardDesignerEnabled settings (defaulted to false) will allow Viva Connections Dashboard operators to access SharePoint and Graph APIs in the Card Designer card. From 33075e642000fe82a24a0e9651fc767fe9b33203 Mon Sep 17 00:00:00 2001 From: "Divyachapan S. Padur" Date: Wed, 23 Apr 2025 15:32:13 -0700 Subject: [PATCH 4/5] Update Set-SPOTenant.md --- .../sharepoint-online/Set-SPOTenant.md | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index e65ad010c..ab6a5c28c 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -73,8 +73,7 @@ Set-SPOTenant [-DefaultContentCenterSite ] [-DefaultLinkPermission ] [-DefaultOneDriveInformationBarrierMode ] - [-DefaultSharingLinkType ] - [-DelayDenyAddAndCustomizePagesEnforcement ] + [-DefaultSharingLinkType ] [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites ] [-DelegateRestrictedAccessControlManagement ] [-DelegateRestrictedContentDiscoverabilityManagement ] @@ -3026,31 +3025,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DelayDenyAddAndCustomizePagesEnforcement - -This parameter controls how SharePoint will deal with sites where custom scripts are allowed. - -The valid values are: - -* False (default) - for site collections where administrators enabled the ability to add custom script, SharePoint will revoke that ability within 24 hours from the last time this setting was changed. -* True - All changes performed by administrators to custom script settings are preserved. - -> [!NOTE] -> This setting affects all sites. There are no options to preserve changes to custom script settings only on some specific sites. This parameter will be available until November 2024. After that time, administrators can still allow custom scripts on specific sites, but that change will be revoked automatically after up to 24 hours. -For more information, see [Allow or prevent custom script](/sharepoint/allow-or-prevent-custom-script). - -```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 -``` - ### -DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites This parameter controls how SharePoint will deal with classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) where custom scripts are allowed. From 031a4da609a0b191151c5a0aa87202729e20b5a1 Mon Sep 17 00:00:00 2001 From: "Divyachapan S. Padur" Date: Wed, 23 Apr 2025 15:53:59 -0700 Subject: [PATCH 5/5] Update Set-SPOTenant.md --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index ab6a5c28c..5a3051b39 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -3767,7 +3767,7 @@ Accept wildcard characters: False ``` ### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled -Enables or disables web property bag updates in all sites in the tenant. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to '$true', the web property bag can be updated even if the Add And Customize Pages right is denied on a site collection. +Enables or disables web property bag updates in all sites in the tenant. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to `$true`, the web property bag can be updated even if the Add And Customize Pages right is denied on a site collection. PARAMVALUE: True | False ```yaml