Skip to content

Commit 33075e6

Browse files
authored
Update Set-SPOTenant.md
1 parent 461582b commit 33075e6

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

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

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ Set-SPOTenant
7373
[-DefaultContentCenterSite <String>]
7474
[-DefaultLinkPermission <SharingPermissionType>]
7575
[-DefaultOneDriveInformationBarrierMode <String>]
76-
[-DefaultSharingLinkType <SharingLinkType>]
77-
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
76+
[-DefaultSharingLinkType <SharingLinkType>]
7877
[-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
7978
[-DelegateRestrictedAccessControlManagement <Boolean>]
8079
[-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
@@ -3026,31 +3025,6 @@ Accept pipeline input: False
30263025
Accept wildcard characters: False
30273026
```
30283027

3029-
### -DelayDenyAddAndCustomizePagesEnforcement
3030-
3031-
This parameter controls how SharePoint will deal with sites where custom scripts are allowed.
3032-
3033-
The valid values are:
3034-
3035-
* 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.
3036-
* True - All changes performed by administrators to custom script settings are preserved.
3037-
3038-
> [!NOTE]
3039-
> 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.
3040-
For more information, see [Allow or prevent custom script](/sharepoint/allow-or-prevent-custom-script).
3041-
3042-
```yaml
3043-
Type: Boolean
3044-
Parameter Sets: (All)
3045-
Aliases:
3046-
Applicable: SharePoint Online
3047-
Required: False
3048-
Position: Named
3049-
Default value: False
3050-
Accept pipeline input: False
3051-
Accept wildcard characters: False
3052-
```
3053-
30543028
### -DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites
30553029

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

0 commit comments

Comments
 (0)