Skip to content

Commit d2984b8

Browse files
author
Bihan Li
committed
Add new param AllowClassicPageBaselineSecurityModeOptout for Set-SPOSite command
1 parent 966da7a commit d2984b8

File tree

1 file changed

+22
-1
lines changed
  • sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell

1 file changed

+22
-1
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-Owner <String>] [-Title <String>] [-
6363
[-RestrictedAccessControl <Boolean>] [-RestrictedAccessControlGroups <Guid[]>]
6464
[-ListsShowHeaderAndNavigation <Boolean>] [-HidePeoplePreviewingFiles <Boolean>]
6565
[-HidePeopleWhoHaveListsOpen <Boolean>] [-IsAuthoritative <Boolean>] [-AllowFileArchive <Boolean>]
66-
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-DisableSiteBranding <Boolean>]
66+
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>][-DisableSiteBranding <Boolean>]
67+
[-AllowClassicPageBaselineSecurityModeOptout <Boolean>]
6768
[-WhatIf] [-Confirm] [<CommonParameters>]
6869
```
6970

@@ -522,6 +523,26 @@ Accept pipeline input: False
522523
Accept wildcard characters: False
523524
```
524525

526+
### -AllowClassicPageBaselineSecurityModeOptout
527+
528+
> Applicable: SharePoint Online
529+
530+
Allows a site to opt out of baseline security mode for classic pages. When `AllowClassicPageBaselineSecurityModeOptout` is set to `$true`, users can create and edit classic pages even if baseline security mode is enabled in the tenant.
531+
532+
PARAMVALUE: True | False
533+
534+
```yaml
535+
Type: System.Boolean
536+
Parameter Sets: ParamSet1
537+
Aliases:
538+
539+
Required: False
540+
Position: Named
541+
Default value: None
542+
Accept pipeline input: False
543+
Accept wildcard characters: False
544+
```
545+
525546
### -AnonymousLinkExpirationInDays
526547

527548
> Applicable: SharePoint Online

0 commit comments

Comments
 (0)