Skip to content
Merged
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
19 changes: 18 additions & 1 deletion sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ Set-SPOSite
[-AddRestrictedAccessControlGroups [Guid[]]]
[-AllowDownloadingNonWebViewableFiles <Boolean>]
[-AllowEditing <Boolean>]
[-AllowFileArchive <Boolean>]
[-AllowFileArchive <Boolean>]
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nit: remove the trailing space here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can you check if its gone?

[-AllowSelfServiceUpgrade <Boolean>]
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
[-AnonymousLinkExpirationInDays <Int32>]
[-AuthenticationContextAccessType <SPOAuthenticationContextPolicyAccessType>]
[-AuthenticationContextName <String>]
Expand Down Expand Up @@ -363,6 +364,22 @@ Accept pipeline input: False
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).
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

when the user had AddAndCustomizePages (prior to DenyAddAndCustomizePages removing it)

Does this mean, the user has no AddAndCustomizePages permission?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes. Idea is that user can update property bag independent of the noScript setting.

Copy link
Copy Markdown
Contributor

@samkabue samkabue Apr 17, 2025

Choose a reason for hiding this comment

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

DenyAddAndCustomizePages

"Add and Customize pages"

since we're not referring to the param here #Closed

Copy link
Copy Markdown
Contributor

@samkabue samkabue Apr 17, 2025

Choose a reason for hiding this comment

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

$true

add backticks to clarify this is an input value

`$true`
``` #Closed

Copy link
Copy Markdown
Contributor

@samkabue samkabue Apr 17, 2025

Choose a reason for hiding this comment

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

DenyAddAndCustomizePages is turned on when the user had AddAndCustomizePages (prior to DenyAddAndCustomizePages removing it)

this part of the sentence:

DenyAddAndCustomizePages is turned on when the user had AddAndCustomizePages (prior to DenyAddAndCustomizePages removing it)

is very confusing -- I've read it multiple times and still can't make sense of it. please revise it for clarity.

hint: use internal Microsoft Copilot to polish the string. Ask Copilot to generate the string based on "Microsoft Writing Style Guide" -- this way the generated string is grounded on Content Writer-provided guidelines.

#Closed


PARAMVALUE: True | False

```yaml
Type: Boolean
Parameter Sets: (All)
Applicable: SharePoint Online
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm

Prompts you for confirmation before running the cmdlet.
Expand Down