Skip to content

Commit 57c9c2c

Browse files
Merge pull request #898 from hhhults/main
Add ViewUpload setting to SPOTenant, add AnonymousLinkExpirationInDays to SPOContainerTypeConfiguration
2 parents c86dda2 + 9307247 commit 57c9c2c

File tree

2 files changed

+52
-106
lines changed

2 files changed

+52
-106
lines changed

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

Lines changed: 50 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId <Guid> [-DiscoverabilityDisab
2222
[-SharingRestricted <Boolean>] [-ApplicationRedirectUrl <String>] [-WhoCanShareAnonymousAllowList <Guid[]>]
2323
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>] [-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
2424
[-OverrideTenantWhoCanShareAuthenticatedGuestAllowList <Boolean>]
25-
[[-CopilotEmbeddedChatHosts] <System.Collections.Generic.List`1[System.String]>] [-WhatIf] [-Confirm]
25+
[[-CopilotEmbeddedChatHosts] <System.Collections.Generic.List`1[System.String]>]
26+
[-AnonymousLinkExpirationInDays <Int32>] [-WhatIf] [-Confirm]
2627
[<CommonParameters>]
2728
```
2829

@@ -83,38 +84,25 @@ This example sets the host URLs for the container type with Id 4f0af585.
8384

8485
## PARAMETERS
8586

86-
### -DiscoverabilityDisabled
87-
88-
As a SharePoint Administrator or Global Administrator in Microsoft 365, you can control how your content appears in the Microsoft 365 experience. The default value for this parameter is True, which hides the SharePoint Embedded application content throughout the Microsoft 365 environment, including on office.com, onedrive.com, in recommended sections, or through other Microsoft intelligent file discovery features.
89-
If you opt into the Microsoft 365 experience, your files will be integrated into Microsoft 365 environment, participating in intelligent file discovery.
90-
91-
PARAMVALUE: $true | $false
92-
93-
```yaml
94-
Type: Boolean
95-
Applicable: SharePoint Embedded
96-
Position: Named
97-
Required: False
98-
Default value: True
99-
Accept pipeline input: False
100-
Accept wildcard characters: False
101-
```
102-
103-
### -SharingRestricted
104-
105-
SharePoint Embedded offers a role-based sharing model that allows developers to configure file-sharing permissions based on container permission roles, offering a choice between a restrictive and an open sharing model. The open sharing model allows any container members and guest users with edit permissions to share files. The restrictive sharing model allows only container members who are either Owners or Managers to share files.
87+
### -AnonymousLinkExpirationInDays
88+
Specifies all anonymous links created after the value is set will expire after the set number of days.
10689

107-
PARAMVALUE: $true | $false
90+
The value can be from 1 to 730 days.
91+
92+
To defer to the tenant level setting, set the value to -1.
10893

10994
```yaml
110-
Type: Boolean
111-
Applicable: SharePoint Embedded
112-
Position: Named
95+
Type: Int32
96+
Parameter Sets: (All)
97+
Aliases:
98+
11399
Required: False
114-
Default value: True
100+
Position: Named
101+
Default value: None
115102
Accept pipeline input: False
116103
Accept wildcard characters: False
117104
```
105+
118106
### -ApplicationRedirectUrl
119107
120108
This parameter specifies the url of that the application should be redirected to.
@@ -146,6 +134,7 @@ Default value: None
146134
Accept pipeline input: False
147135
Accept wildcard characters: False
148136
```
137+
149138
### -CopilotEmbeddedChatHosts
150139
This parameter is used to add host URLs allowed to use the SharePoint Embedded application's declarative agent experience.
151140
@@ -161,27 +150,26 @@ Accept pipeline input: False
161150
Accept wildcard characters: False
162151
```
163152
164-
### -OverrideTenantWhoCanShareAnonymousAllowList
153+
### -DiscoverabilityDisabled
165154
166-
This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`. The default value for this parameter is false.
155+
As a SharePoint Administrator in Microsoft 365, you can control how your content appears in the Microsoft 365 experience. When this value is true, the SharePoint Embedded application content is hidden throughout the Microsoft 365 environment, including on office.com, onedrive.com, in recommended sections, or through other Microsoft intelligent file discovery features.
156+
If you opt into the Microsoft 365 experience, your files will be integrated into Microsoft 365 environment, participating in intelligent file discovery.
167157
168158
PARAMVALUE: True | False
169159
170160
```yaml
171161
Type: Boolean
172-
Parameter Sets: (All)
173-
Aliases:
174-
175-
Required: False
162+
Applicable: SharePoint Embedded
176163
Position: Named
177-
Default value: None
164+
Required: False
165+
Default value: True
178166
Accept pipeline input: False
179167
Accept wildcard characters: False
180168
```
181169
182-
### -OverrideTenantWhoCanShareAuthenticatedGuestAllowList
170+
### -OverrideTenantWhoCanShareAnonymousAllowList
183171
184-
This setting determines if the container type `WhoCanShareAuthenticatedGuestAllowList` overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList`. The default value for this parameter is false.
172+
This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`.
185173

186174
PARAMVALUE: True | False
187175

@@ -192,56 +180,46 @@ Aliases:
192180
193181
Required: False
194182
Position: Named
195-
Default value: None
183+
Default value: False
196184
Accept pipeline input: False
197185
Accept wildcard characters: False
198186
```
199187

200-
### -WhoCanShareAnonymousAllowList
201-
202-
Sets a container type-specific list of security groups who are allowed to share with anonymous (non-authenticated) users as well as authenticated guest users. This must be set in conjunction with `OverrideTenantWhoCanShareAnonymousAllowList`.
188+
### -OverrideTenantWhoCanShareAuthenticatedGuestAllowList
203189

204-
> [!NOTE]
205-
> This allow list only accepts security groups, and not Microsoft 365 Groups.
190+
This setting determines if the container type `WhoCanShareAuthenticatedGuestAllowList` overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList`.
206191

207-
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to anyone, set this allow list and the `WhoCanShareAuthenticatedGuestAllowList` to null arrays.
192+
PARAMVALUE: True | False
208193

209194
```yaml
210-
Type: Guid[]
195+
Type: Boolean
211196
Parameter Sets: (All)
212197
Aliases:
213198
214199
Required: False
215200
Position: Named
216-
Default value: None
201+
Default value: False
217202
Accept pipeline input: False
218203
Accept wildcard characters: False
219204
```
220205

221-
### -WhoCanShareAuthenticatedGuestAllowList
222-
223-
Sets a container type-specific list of security groups who are allowed to share with authenticated guest users at the container level. This must be set in conjunction with `OverrideTenantWhoCanShareAuthenticatedGuestAllowList`.
224-
225-
> [!NOTE]
226-
> This allow list only accepts security groups, and not Microsoft 365 Groups.
227-
228-
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to authenticated guests, set this allow list to a null array.
206+
### -SharingRestricted
229207

208+
SharePoint Embedded offers a role-based sharing model that allows developers to configure file-sharing permissions based on container permission roles, offering a choice between a restrictive and an open sharing model. The open sharing model allows any container members and guest users with edit permissions to share files. The restrictive sharing model allows only container members who are either Owners or Managers to share files.
209+
210+
PARAMVALUE: True | False
230211

231212
```yaml
232-
Type: Guid[]
233-
Parameter Sets: (All)
234-
Aliases:
235-
236-
Required: False
213+
Type: Boolean
214+
Applicable: SharePoint Embedded
237215
Position: Named
238-
Default value: None
216+
Required: False
217+
Default value: True
239218
Accept pipeline input: False
240219
Accept wildcard characters: False
241220
```
242221

243-
244-
### -WhoCanShareAnonymousAllowList
222+
### -WhoCanShareAnonymousAllowList
245223

246224
Sets a container type-specific list of security groups who are allowed to share with anonymous (non-authenticated) users as well as authenticated guest users. This must be set in conjunction with `OverrideTenantWhoCanShareAnonymousAllowList`.
247225

@@ -251,18 +229,18 @@ Sets a container type-specific list of security groups who are allowed to share
251229
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to anyone, set this allow list and the `WhoCanShareAuthenticatedGuestAllowList` to null arrays.
252230

253231
```yaml
254-
Type: Guid[]
255-
Parameter Sets: (All)
256-
Aliases:
257-
Applicable: SharePoint Online
258-
Required: False
259-
Position: Named
260-
Default value: None
261-
Accept pipeline input: False
262-
Accept wildcard characters: False
232+
Type: Guid[]
233+
Parameter Sets: (All)
234+
Aliases:
235+
236+
Required: False
237+
Position: Named
238+
Default value: None
239+
Accept pipeline input: False
240+
Accept wildcard characters: False
263241
```
264242

265-
### WhoCanShareAuthenticatedGuestAllowList
243+
### -WhoCanShareAuthenticatedGuestAllowList
266244

267245
Sets a container type-specific list of security groups who are allowed to share with authenticated guest users at the container level. This must be set in conjunction with `OverrideTenantWhoCanShareAuthenticatedGuestAllowList`.
268246

@@ -271,45 +249,12 @@ Sets a container type-specific list of security groups who are allowed to share
271249

272250
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to authenticated guests, set this allow list to a null array.
273251

274-
```yaml
275-
Type: Guid[]
276-
Parameter Sets: (All)
277-
Aliases:
278-
Applicable: SharePoint Online
279-
Required: False
280-
Position: Named
281-
Default value: None
282-
Accept pipeline input: False
283-
Accept wildcard characters: False
284-
```
285-
286-
### OverrideTenantWhoCanShareAnonymousAllowList
287-
288-
This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`. The default value for this parameter is false.
289-
290-
PARAMVALUE: True | False
291252

292253
```yaml
293-
Type: Boolean
254+
Type: Guid[]
294255
Parameter Sets: (All)
295-
Applicable: SharePoint Online
296-
Required: False
297-
Position: Named
298-
Default value: None
299-
Accept pipeline input: False
300-
Accept wildcard characters: False
301-
```
302-
303-
### OverrideTenantWhoCanShareAuthenticatedGuestAllowList
304-
305-
This setting determines if the container type `WhoCanShareAuthenticatedGuestAllowList` overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList`. The default value for this parameter is false.
306-
307-
PARAMVALUE: True | False
256+
Aliases:
308257
309-
```yaml
310-
Type: Boolean
311-
Parameter Sets: (All)
312-
Applicable: SharePoint Online
313258
Required: False
314259
Position: Named
315260
Default value: None

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,11 +1354,12 @@ Accept wildcard characters: False
13541354

13551355
### -FolderAnonymousLinkType
13561356

1357-
Anonymous access links can allow recipients to only view or view and edit.
1357+
Users can configure folder anonymous access links that allow recipients to view, view and upload, or view, edit, and upload files.
13581358

13591359
The valid values are:
13601360

13611361
- View
1362+
- ViewUpload
13621363
- Edit
13631364

13641365
```yaml

0 commit comments

Comments
 (0)