Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,30 @@ Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-BlockDownloadPolicy <Boole
[-Confirm] [<CommonParameters>]
```

### RestrictedAccessControl
```
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-EnableRestrictedAccessControl <Boolean>]
[-RestrictedAccessControlGroups <Guid[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### RestrictedAccessControlGroupsToAdd
```
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RestrictedAccessControlGroupsToAdd <Guid[]>] [-WhatIf]
[-Confirm] [<CommonParameters>]
```

### RestrictedAccessControlGroupsToRemove
```
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RestrictedAccessControlGroupsToRemove <Guid[]>] [-WhatIf]
[-Confirm] [<CommonParameters>]
```

### ClearRestrictedAccessControl
```
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-ClearRestrictedAccessControl] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

### ParamSet2
```
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RemoveLabel] [-WhatIf] [-Confirm] [<CommonParameters>]
Expand Down Expand Up @@ -68,7 +92,6 @@ For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or upd

> [!IMPORTANT]
> 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.
>

You must be a SharePoint Embedded Administrator to run the cmdlet.

Expand Down Expand Up @@ -163,6 +186,24 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ClearRestrictedAccessControl

> Applicable: SharePoint Online

Clears the list of groups that are given access via an access restriction policy.

```yaml
Type: SwitchParameter
Parameter Sets: ClearRestrictedAccessControl
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ConditionalAccessPolicy

> Applicable: SharePoint Online
Expand All @@ -187,15 +228,33 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ExcludeBlockDownloadPolicyContainerOwners
### -CurrentPrincipalOwner

> Applicable: SharePoint Online

Controls if container owners are excluded from block download policy.
The current principal owner of the container.

```yaml
Type: System.Boolean
Parameter Sets: BlockDownloadPolicy
Type: String
Parameter Sets: PrincipalOwnerTransfer
Aliases:

Required: True
Position: Named
Default value: None
Copy link
Contributor

Choose a reason for hiding this comment

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

admins

Allows you and other SharePoint Embedded Administrators to restrict access to containers.

Accept pipeline input: False
Accept wildcard characters: False
```

### -EnableRestrictedAccessControl

> Applicable: SharePoint Online

Allows you and other SharePoint Embedded admins restrict access to containers.

```yaml
Type: Boolean
Parameter Sets: RestrictedAccessControl
Aliases:

Required: False
Expand All @@ -205,18 +264,18 @@ Accept pipeline input: False
Accept wildcard characters: False
Copy link
Contributor

@samkabue samkabue Sep 28, 2025

Choose a reason for hiding this comment

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

Specifies whether container owners are excluded from the block download policy. #Closed

```

### -CurrentPrincipalOwner
### -ExcludeBlockDownloadPolicyContainerOwners

> Applicable: SharePoint Online

The current principal owner of the container.
Specifies whether container owners are excluded from block download policy.

```yaml
Type: String
Parameter Sets: PrincipalOwnerTransfer
Type: System.Boolean
Parameter Sets: BlockDownloadPolicy
Aliases:

Required: True
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Expand Down Expand Up @@ -354,6 +413,60 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -RestrictedAccessControlGroups

> Applicable: SharePoint Online

Specifies the group IDs that have access under an access restriction policy.

```yaml
Type: Guid[]
Parameter Sets: RestrictedAccessControl
Aliases:

Required: False
Position: Named
Default value: None
Copy link
Contributor

@samkabue samkabue Sep 28, 2025

Choose a reason for hiding this comment

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

Specifies the group IDs to add to an access restriction policy to grant access. #Closed

Accept pipeline input: False
Accept wildcard characters: False
```

### -RestrictedAccessControlGroupsToAdd

> Applicable: SharePoint Online

Specifies the group IDs to add to an access restriction policy to grant access.

```yaml
Type: Guid[]
Parameter Sets: RestrictedAccessControlGroupsToAdd
Aliases:

Required: False
Position: Named
Default value: None
Copy link
Contributor

@samkabue samkabue Sep 28, 2025

Choose a reason for hiding this comment

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

Specifies the group IDs to remove from an access restriction policy to revoke access. #Closed

Accept pipeline input: False
Accept wildcard characters: False
```

### -RestrictedAccessControlGroupsToRemove

> Applicable: SharePoint Online

Specifies the group IDs to remove from an access restriction policy to revoke access.

```yaml
Type: Guid[]
Parameter Sets: RestrictedAccessControlGroupsToRemove
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SensitivityLabel

> Applicable: SharePoint Online
Expand Down