Skip to content
Open
Changes from 1 commit
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
23 changes: 23 additions & 0 deletions sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Set-SPOTenant [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
[-AllowAnonymousMeetingParticipantsToAccessWhiteboards <SharingState>]
[-LabelMismatchEmailHelpLink <String>]
[-DisableBackToClassic <Boolean>]
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
[<CommonParameters>]
```

Expand Down Expand Up @@ -2428,6 +2429,28 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -DelayDenyAddAndCustomizePagesEnforcement
In the SharePoint admin center, there is a Custom Scripts setting that controls whether users can run custom scripts in OneDrive. This setting will be removed on March 2024. By removing this setting, Administrators will no longer be able to control the default behavior on self service creates sites or personal sites. However, customers will still be able to temporarily enable the ability to run custom script by setting `Set-SPOTenant -DelayDenyAddAndCustomizePagesEnforcement $true`. This will keep the setting available until May 2024.
Comment thread
cmalonzo marked this conversation as resolved.
Outdated

For more information, see [Allow or prevent custom script](https://learn.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script)

The valid values are:

False (default) - Blocked from setting custom scripts setting.
True - Able to set customs scripts setting to true on sites until May 2024.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: False
Position: Named
Default value: None
Comment thread
cmalonzo marked this conversation as resolved.
Outdated
Accept pipeline input: False
Accept wildcard characters: False
```

## RELATED LINKS

[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
Expand Down