Skip to content

Commit

Permalink
Added missing documentation on `-DelayDenyAddAndCustomizePagesEnforce…
Browse files Browse the repository at this point in the history
…ment`
  • Loading branch information
KoenZomers authored Sep 25, 2024
1 parent 16e5aef commit a43c2e6
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion documentation/Set-PnPTenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Set-PnPTenant [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>
[-CoreDefaultShareLinkRole <Role>]
[-GuestSharingGroupAllowListInTenantByPrincipalIdentity <string[]>]
[-OneDriveSharingCapability <SharingCapabilities>]
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
[-Force] [-Connection <PnPConnection>]
```

Expand Down Expand Up @@ -424,7 +425,6 @@ For additional information about how to change the default link type, see Change
Note:
Setting this value to "none" will default "get a link" to the most permissive link available. If anonymous links are enabled, the default link will be anonymous access; if they are disabled, then the default link will be internal.
```yaml
Type: SharingLinkType
Parameter Sets: (All)
Expand All @@ -437,6 +437,25 @@ 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.
```yaml
Type: Boolean
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -DisableBackToClassic
Disables the back to classic link for libraries and lists.
Expand Down

0 comments on commit a43c2e6

Please sign in to comment.