From a43c2e6f5cf9b8b1833484f43969217a3646cd8a Mon Sep 17 00:00:00 2001 From: Koen Zomers Date: Wed, 25 Sep 2024 11:14:00 +0200 Subject: [PATCH] Added missing documentation on `-DelayDenyAddAndCustomizePagesEnforcement` --- documentation/Set-PnPTenant.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/documentation/Set-PnPTenant.md b/documentation/Set-PnPTenant.md index 5285e31ff..399ce7c63 100644 --- a/documentation/Set-PnPTenant.md +++ b/documentation/Set-PnPTenant.md @@ -159,6 +159,7 @@ Set-PnPTenant [-SpecialCharactersStateInFileFolderNames [-CoreDefaultShareLinkRole ] [-GuestSharingGroupAllowListInTenantByPrincipalIdentity ] [-OneDriveSharingCapability ] + [-DelayDenyAddAndCustomizePagesEnforcement ] [-Force] [-Connection ] ``` @@ -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) @@ -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.