Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Set-SPOTenant
[-DefaultOneDriveInformationBarrierMode <String>]
[-DefaultSharingLinkType <SharingLinkType>]
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
[-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
[-DelegateRestrictedAccessControlManagement <Boolean>]
[-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
[-DenySelectSecurityGroupsInSPSitesList [String[]]]
Expand Down Expand Up @@ -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
```
Copy link
Copy Markdown
Contributor

@samkabue samkabue Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be removed -- the backend no longer has this setter param #Closed


### -IsDataAccessInCardDesignerEnabled

The IsDataAccessInCardDesignerEnabled settings (defaulted to false) will allow Viva Connections Dashboard operators to access SharePoint and Graph APIs in the Card Designer card.
Expand Down Expand Up @@ -3768,8 +3793,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
Expand Down