Skip to content

Commit fc68d8e

Browse files
Merge branch 'MicrosoftDocs:main' into main
2 parents 32effc2 + 7a38a07 commit fc68d8e

File tree

4 files changed

+74
-45
lines changed

4 files changed

+74
-45
lines changed

.github/workflows/StaleBranch.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ name: (Scheduled) Stale branch removal
22

33
permissions:
44
contents: write
5-
5+
6+
# This workflow is designed to be run in the days up to, and including, a "deletion day", specified by 'DeleteOnDayOfMonth' in env: in https://github.com/MicrosoftDocs/microsoft-365-docs/blob/workflows-prod/.github/workflows/Shared-StaleBranch.yml.
7+
# On the days leading up to "deletion day", the workflow will report the branches to be deleted. This lets users see which branches will be deleted. On "deletion day", those branches are deleted.
8+
# The workflow should not be configured to run after "deletion day" so that users can review the branches were deleted.
9+
# Recommendation: configure cron to run on days 1,15-31 where 1 is what's configured in 'DeleteOnDayOfMonth'. If 'DeleteOnDayOfMonth' is set to something else, update cron to run the two weeks leading up to it.
10+
611
on:
712
schedule:
8-
- cron: "0 9 1 * *"
13+
- cron: "0 9 1,15-31 * *"
914

10-
# workflow_dispatch:
15+
workflow_dispatch:
1116

1217

1318
jobs:

sharepoint/sharepoint-ps/sharepoint-online/New-SPOContainerType.md

+42-33
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,10 @@ This cmdlet creates a new container type of standard or trial status. The standa
1818

1919
## SYNTAX
2020

21-
### ParamSet1
22-
2321
```powershell
24-
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-GovernableByAdmin] <Boolean> [<CommonParameters>]
22+
New-SPOContainerType [-ContainerTypeName] <String> -OwningApplicationId <Guid> [-ApplicationRedirectUrl <String>] [-TrialContainerType] [-IsPassThroughBilling] [-IsGovernableByAdmin <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
2523
```
2624

27-
### ParamSet2
28-
29-
```powershell
30-
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-IsPassThroughBilling] [-GovernableByAdmin] <Boolean> [<CommonParameters>]
31-
```
32-
33-
### ParamSet3
34-
35-
```powershell
36-
New-SPOContainerType [–TrialContainerType] [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-GovernableByAdmin] <Boolean> [<CommonParameters>]
37-
```
3825

3926
## DESCRIPTION
4027

@@ -80,48 +67,47 @@ In Example 4, the cmdlet creates a standard container type, ContosoLegal that ha
8067

8168
## PARAMETERS
8269

83-
### -ContainerTypeName
70+
### -ApplicationRedirectUrl
8471

85-
This parameter names your container type for your SharePoint Embedded application.
72+
This parameter specifies the url of that the application should be redirected to.
8673

8774
```yaml
8875
Type: String
8976
Parameter Sets: (All)
9077
Aliases:
9178
Applicable: SharePoint Online
9279

93-
Required: True
80+
Required: False
9481
Position: Named
9582
Default value: None
9683
Accept pipeline input: False
9784
Accept wildcard characters: False
9885
```
9986
100-
### -OwningApplicationId
87+
### -ContainerTypeName
10188
102-
This parameter specifies the ID of the SharePoint Embedded application.
89+
This parameter names your container type for your SharePoint Embedded application.
10390
10491
```yaml
10592
Type: String
106-
Parameter Sets:
93+
Parameter Sets: (All)
10794
Aliases:
10895
Applicable: SharePoint Online
10996

11097
Required: True
111-
Position: Named
98+
Position: 0
11299
Default value: None
113100
Accept pipeline input: False
114101
Accept wildcard characters: False
115102
```
116103
104+
### –GovernableByAdmin
117105
118-
### –TrialContainerType
119-
120-
This parameter is used to specify that the cmdlet is used to create a trial container type and thereby the billing profile need not be provided.
106+
Using `-GovernableByAdmin`, you can decide whether consuming tenant administrators of the application should be provided management capabilities on Microsoft-enabled administrator support, through SharePoint admin center and PowerShell. When not passed, the value is set to True. When set to False, the consuming tenant administrator can perform only read-only actions on containers of the container type, in both SharePoint admin center and PowerShell.
121107

122108
```yaml
123-
Type: String
124-
Parameter Sets:
109+
Type: Boolean
110+
Parameter Sets: (All)
125111
Aliases:
126112
Applicable: SharePoint Online
127113
@@ -137,8 +123,8 @@ Accept wildcard characters: False
137123
This parameter is used to create a direct to customer billed container type.
138124

139125
```yaml
140-
Type: String
141-
Parameter Sets:
126+
Type: SwitchParameter
127+
Parameter Sets: (All)
142128
Aliases:
143129
Applicable: SharePoint Online
144130
@@ -149,23 +135,46 @@ Accept pipeline input: False
149135
Accept wildcard characters: False
150136
```
151137

152-
### –GovernableByAdmin
138+
### -OwningApplicationId
153139

154-
Using `-GovernableByAdmin`, you can decide whether consuming tenant administrators of the application should be provided management capabilities on Microsoft-enabled administrator support, through SharePoint admin center and PowerShell. By default, the value is set to True. When set to False, the consuming tenant administrator can perform only read-only actions on containers of the container type, in both SharePoint admin center and PowerShell.
140+
This parameter specifies the ID of the SharePoint Embedded application.
155141

156142
```yaml
157-
Type: Boolean
158-
Parameter Sets:
143+
Type: Guid
144+
Parameter Sets: (All)
145+
Aliases:
146+
Applicable: SharePoint Online
147+
148+
Required: True
149+
Position: Named
150+
Default value: None
151+
Accept pipeline input: False
152+
Accept wildcard characters: False
153+
```
154+
155+
156+
### –TrialContainerType
157+
158+
This parameter is used to specify that the cmdlet is used to create a trial container type and thereby the billing profile need not be provided.
159+
160+
```yaml
161+
Type: SwitchParameter
162+
Parameter Sets: (All)
159163
Aliases:
160164
Applicable: SharePoint Online
161165
162166
Required: False
163167
Position: Named
164-
Default value: True
168+
Default value: None
165169
Accept pipeline input: False
166170
Accept wildcard characters: False
167171
```
168172

173+
### CommonParameters
174+
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-ProgressAction`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
175+
176+
177+
169178
## RELATED LINKS
170179

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

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md

+17
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Set-SPOSite
2727
[-AllowEditing <Boolean>]
2828
[-AllowFileArchive <Boolean>]
2929
[-AllowSelfServiceUpgrade <Boolean>]
30+
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
3031
[-AnonymousLinkExpirationInDays <Int32>]
3132
[-AuthenticationContextAccessType <SPOAuthenticationContextPolicyAccessType>]
3233
[-AuthenticationContextName <String>]
@@ -363,6 +364,22 @@ Accept pipeline input: False
363364
Accept wildcard characters: False
364365
```
365366
367+
### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled
368+
Enables or disables web property bag updates. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to `$true`, the web property bag can be updated even if the Add And Customize Pages right is denied on the site collection.
369+
370+
PARAMVALUE: True | False
371+
372+
```yaml
373+
Type: Boolean
374+
Parameter Sets: (All)
375+
Applicable: SharePoint Online
376+
Required: False
377+
Position: Named
378+
Default value: False
379+
Accept pipeline input: False
380+
Accept wildcard characters: False
381+
```
382+
366383
### -Confirm
367384

368385
Prompts you for confirmation before running the cmdlet.

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ Set-SPOTenant
7373
[-DefaultContentCenterSite <String>]
7474
[-DefaultLinkPermission <SharingPermissionType>]
7575
[-DefaultOneDriveInformationBarrierMode <String>]
76-
[-DefaultSharingLinkType <SharingLinkType>]
77-
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
76+
[-DefaultSharingLinkType <SharingLinkType>]
77+
[-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
7878
[-DelegateRestrictedAccessControlManagement <Boolean>]
7979
[-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
8080
[-DenySelectSecurityGroupsInSPSitesList [String[]]]
@@ -3025,18 +3025,17 @@ Accept pipeline input: False
30253025
Accept wildcard characters: False
30263026
```
30273027

3028-
### -DelayDenyAddAndCustomizePagesEnforcement
3028+
### -DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites
30293029

3030-
This parameter controls how SharePoint will deal with sites where custom scripts are allowed.
3030+
This parameter controls how SharePoint will deal with classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) where custom scripts are allowed.
30313031

30323032
The valid values are:
30333033

3034-
* 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.
3034+
* False (default) - for classic publishing 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.
30353035
* True - All changes performed by administrators to custom script settings are preserved.
30363036

30373037
> [!NOTE]
3038-
> This setting affects all sites. There are no options to preserve changes to custom script settings only on some specific sites. This parameter will be available until November 2024. After that time, administrators can still allow custom scripts on specific sites, but that change will be revoked automatically after up to 24 hours.
3039-
For more information, see [Allow or prevent custom script](/sharepoint/allow-or-prevent-custom-script).
3038+
> This setting affects all classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0). There are no options to preserve changes to custom script settings only on some specific sites.
30403039

30413040
```yaml
30423041
Type: Boolean
@@ -3768,8 +3767,7 @@ Accept wildcard characters: False
37683767
```
37693768

37703769
### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled
3771-
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).
3772-
3770+
Enables or disables web property bag updates in all sites in the tenant. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to `$true`, the web property bag can be updated even if the Add And Customize Pages right is denied on a site collection.
37733771
PARAMVALUE: True | False
37743772

37753773
```yaml

0 commit comments

Comments
 (0)