Skip to content

Commit ef2d21f

Browse files
Merge pull request #1042 from pvrk/pvrk-SharePointPS-July
RAC support for SPE containers
2 parents 1efd98c + 98c973c commit ef2d21f

File tree

1 file changed

+123
-10
lines changed

1 file changed

+123
-10
lines changed

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

Lines changed: 123 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,30 @@ Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-BlockDownloadPolicy <Boole
3030
[-Confirm] [<CommonParameters>]
3131
```
3232

33+
### RestrictedAccessControl
34+
```
35+
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-EnableRestrictedAccessControl <Boolean>]
36+
[-RestrictedAccessControlGroups <Guid[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
37+
```
38+
39+
### RestrictedAccessControlGroupsToAdd
40+
```
41+
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RestrictedAccessControlGroupsToAdd <Guid[]>] [-WhatIf]
42+
[-Confirm] [<CommonParameters>]
43+
```
44+
45+
### RestrictedAccessControlGroupsToRemove
46+
```
47+
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RestrictedAccessControlGroupsToRemove <Guid[]>] [-WhatIf]
48+
[-Confirm] [<CommonParameters>]
49+
```
50+
51+
### ClearRestrictedAccessControl
52+
```
53+
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-ClearRestrictedAccessControl] [-WhatIf] [-Confirm]
54+
[<CommonParameters>]
55+
```
56+
3357
### ParamSet2
3458
```
3559
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RemoveLabel] [-WhatIf] [-Confirm] [<CommonParameters>]
@@ -68,7 +92,6 @@ For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or upd
6892

6993
> [!IMPORTANT]
7094
> Always wait for the current principal owner transfer attempt to finish before reusing the cmdlet. Concurrent or premature reuse can lead to incomplete or invalid ownership changes.
71-
>
7295
7396
You must be a SharePoint Embedded Administrator to run the cmdlet.
7497

@@ -163,6 +186,24 @@ Accept pipeline input: False
163186
Accept wildcard characters: False
164187
```
165188
189+
### -ClearRestrictedAccessControl
190+
191+
> Applicable: SharePoint Online
192+
193+
Clears the list of groups that are given access via an access restriction policy.
194+
195+
```yaml
196+
Type: SwitchParameter
197+
Parameter Sets: ClearRestrictedAccessControl
198+
Aliases:
199+
200+
Required: False
201+
Position: Named
202+
Default value: None
203+
Accept pipeline input: False
204+
Accept wildcard characters: False
205+
```
206+
166207
### -ConditionalAccessPolicy
167208
168209
> Applicable: SharePoint Online
@@ -187,15 +228,33 @@ Accept pipeline input: False
187228
Accept wildcard characters: False
188229
```
189230
190-
### -ExcludeBlockDownloadPolicyContainerOwners
231+
### -CurrentPrincipalOwner
191232
192233
> Applicable: SharePoint Online
193234
194-
Controls if container owners are excluded from block download policy.
235+
The current principal owner of the container.
195236
196237
```yaml
197-
Type: System.Boolean
198-
Parameter Sets: BlockDownloadPolicy
238+
Type: String
239+
Parameter Sets: PrincipalOwnerTransfer
240+
Aliases:
241+
242+
Required: True
243+
Position: Named
244+
Default value: None
245+
Accept pipeline input: False
246+
Accept wildcard characters: False
247+
```
248+
249+
### -EnableRestrictedAccessControl
250+
251+
> Applicable: SharePoint Online
252+
253+
Allows you and other SharePoint Embedded admins restrict access to containers.
254+
255+
```yaml
256+
Type: Boolean
257+
Parameter Sets: RestrictedAccessControl
199258
Aliases:
200259

201260
Required: False
@@ -205,18 +264,18 @@ Accept pipeline input: False
205264
Accept wildcard characters: False
206265
```
207266
208-
### -CurrentPrincipalOwner
267+
### -ExcludeBlockDownloadPolicyContainerOwners
209268
210269
> Applicable: SharePoint Online
211270
212-
The current principal owner of the container.
271+
Specifies whether container owners are excluded from block download policy.
213272
214273
```yaml
215-
Type: String
216-
Parameter Sets: PrincipalOwnerTransfer
274+
Type: System.Boolean
275+
Parameter Sets: BlockDownloadPolicy
217276
Aliases:
218277

219-
Required: True
278+
Required: False
220279
Position: Named
221280
Default value: None
222281
Accept pipeline input: False
@@ -354,6 +413,60 @@ Accept pipeline input: False
354413
Accept wildcard characters: False
355414
```
356415
416+
### -RestrictedAccessControlGroups
417+
418+
> Applicable: SharePoint Online
419+
420+
Specifies the group IDs that have access under an access restriction policy.
421+
422+
```yaml
423+
Type: Guid[]
424+
Parameter Sets: RestrictedAccessControl
425+
Aliases:
426+
427+
Required: False
428+
Position: Named
429+
Default value: None
430+
Accept pipeline input: False
431+
Accept wildcard characters: False
432+
```
433+
434+
### -RestrictedAccessControlGroupsToAdd
435+
436+
> Applicable: SharePoint Online
437+
438+
Specifies the group IDs to add to an access restriction policy to grant access.
439+
440+
```yaml
441+
Type: Guid[]
442+
Parameter Sets: RestrictedAccessControlGroupsToAdd
443+
Aliases:
444+
445+
Required: False
446+
Position: Named
447+
Default value: None
448+
Accept pipeline input: False
449+
Accept wildcard characters: False
450+
```
451+
452+
### -RestrictedAccessControlGroupsToRemove
453+
454+
> Applicable: SharePoint Online
455+
456+
Specifies the group IDs to remove from an access restriction policy to revoke access.
457+
458+
```yaml
459+
Type: Guid[]
460+
Parameter Sets: RestrictedAccessControlGroupsToRemove
461+
Aliases:
462+
463+
Required: False
464+
Position: Named
465+
Default value: None
466+
Accept pipeline input: False
467+
Accept wildcard characters: False
468+
```
469+
357470
### -SensitivityLabel
358471
359472
> Applicable: SharePoint Online

0 commit comments

Comments
 (0)