Skip to content

Commit 7a38a07

Browse files
Merge pull request #871 from divyachapan/patch-2
Update Set-SPOTenant.md
2 parents 6b87245 + 9176125 commit 7a38a07

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ Set-SPOTenant
7373
[-DefaultContentCenterSite <String>]
7474
[-DefaultLinkPermission <SharingPermissionType>]
7575
[-DefaultOneDriveInformationBarrierMode <String>]
76-
[-DefaultSharingLinkType <SharingLinkType>]
77-
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
76+
[-DefaultSharingLinkType <SharingLinkType>]
77+
[-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
7878
[-DelegateRestrictedAccessControlManagement <Boolean>]
7979
[-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
8080
[-DenySelectSecurityGroupsInSPSitesList [String[]]]
@@ -3025,18 +3025,17 @@ Accept pipeline input: False
30253025
Accept wildcard characters: False
30263026
```
30273027

3028-
### -DelayDenyAddAndCustomizePagesEnforcement
3028+
### -DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites
30293029

3030-
This parameter controls how SharePoint will deal with sites where custom scripts are allowed.
3030+
This parameter controls how SharePoint will deal with classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) where custom scripts are allowed.
30313031

30323032
The valid values are:
30333033

3034-
* 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.
3034+
* 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.
30353035
* True - All changes performed by administrators to custom script settings are preserved.
30363036

30373037
> [!NOTE]
3038-
> 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.
3039-
For more information, see [Allow or prevent custom script](/sharepoint/allow-or-prevent-custom-script).
3038+
> 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.
30403039

30413040
```yaml
30423041
Type: Boolean
@@ -3768,8 +3767,7 @@ Accept wildcard characters: False
37683767
```
37693768

37703769
### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled
3771-
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).
3772-
3770+
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.
37733771
PARAMVALUE: True | False
37743772

37753773
```yaml

0 commit comments

Comments
 (0)