You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/StaleBranch.yml
+8-3
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,17 @@ name: (Scheduled) Stale branch removal
2
2
3
3
permissions:
4
4
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.
@@ -80,48 +67,47 @@ In Example 4, the cmdlet creates a standard container type, ContosoLegal that ha
80
67
81
68
## PARAMETERS
82
69
83
-
### -ContainerTypeName
70
+
### -ApplicationRedirectUrl
84
71
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.
86
73
87
74
```yaml
88
75
Type: String
89
76
Parameter Sets: (All)
90
77
Aliases:
91
78
Applicable: SharePoint Online
92
79
93
-
Required: True
80
+
Required: False
94
81
Position: Named
95
82
Default value: None
96
83
Accept pipeline input: False
97
84
Accept wildcard characters: False
98
85
```
99
86
100
-
### -OwningApplicationId
87
+
### -ContainerTypeName
101
88
102
-
This parameter specifies the ID of the SharePoint Embedded application.
89
+
This parameter names your container type for your SharePoint Embedded application.
103
90
104
91
```yaml
105
92
Type: String
106
-
Parameter Sets:
93
+
Parameter Sets: (All)
107
94
Aliases:
108
95
Applicable: SharePoint Online
109
96
110
97
Required: True
111
-
Position: Named
98
+
Position: 0
112
99
Default value: None
113
100
Accept pipeline input: False
114
101
Accept wildcard characters: False
115
102
```
116
103
104
+
### –GovernableByAdmin
117
105
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.
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.
155
141
156
142
```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)
159
163
Aliases:
160
164
Applicable: SharePoint Online
161
165
162
166
Required: False
163
167
Position: Named
164
-
Default value: True
168
+
Default value: None
165
169
Accept pipeline input: False
166
170
Accept wildcard characters: False
167
171
```
168
172
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
+
169
178
## RELATED LINKS
170
179
171
180
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
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
+
366
383
### -Confirm
367
384
368
385
Prompts you for confirmation before running the cmdlet.
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.
3031
3031
3032
3032
The valid values are:
3033
3033
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.
3035
3035
* True - All changes performed by administrators to custom script settings are preserved.
3036
3036
3037
3037
> [!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.
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.
0 commit comments