Skip to content

Commit 82cbff2

Browse files
authored
Update Set-SPOContainer.md
1 parent 2362bdd commit 82cbff2

File tree

1 file changed

+31
-15
lines changed

1 file changed

+31
-15
lines changed

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

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,26 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
Sets or updates one or more property values for a Container in SharePoint Embedded.
17+
Sets or updates one or more property values for a container in SharePoint Embedded.
1818

1919
## SYNTAX
2020

2121
### ParamSet1
2222

2323
```powershell
24-
Set-SPOContainer [-Identity]
25-
[-BlockDownloadPolicy <Boolean>]
26-
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
27-
[-SensitivityLabel <String>]
24+
Set-SPOContainer [[-Identity]<String>]
25+
[[-BlockDownloadPolicy <Boolean>]]
26+
[[-ConditionalAccessPolicy] <SPOConditionalAccessPolicyType>]
27+
[[-SensitivityLabel] <String>]
2828
[-RemoveLabel]
2929
```
3030

3131
## DESCRIPTION
3232

33-
For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or updates the setting for the Container collection identified by the parameter Identity.
33+
For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or updates the setting for the active container identified by the parameter `Identity`. The cmdlet throws an error if the identity of an archived container is provided.
34+
35+
You must be a SharePoint Embedded Administrator to run the cmdlet.
3436

35-
You must be at least a SharePoint administrator to run the cmdlet.
3637

3738
For permissions and the most current information about Windows PowerShell for SharePoint Embedded Containers, see the online documentation at [Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
3839

@@ -52,27 +53,42 @@ Example 1 sets the Block Download policy on the Container mentioned in the Ident
5253
Set-SPOContainer -Identity https://contoso.sharepoint.com/contentstorage/CSP_33a63968-abae-49a3-a255-f83d0ab2260a/ -ConditionalAccessPolicy AllowLimitedAccess
5354
```
5455

55-
In this example, limited access is provided to content residing in the Container.
56+
In this example, limited access is provided to content residing in the container.
5657

5758
### Example 3
5859

5960
```powershell
6061
Set-SPOContainer -Identity https://contoso.sharepoint.com/contentstorage/CSP_33a63968-abae-49a3-a255-f83d0ab2260a/ -SensitivityLabel ab310e93-9f19-43f2-bc19-bf3386dc0956
6162
```
62-
This example sets a sensitivity label on the Container.
63+
This example sets a sensitivity label on the container.
6364

6465
### Example 4
6566
```powershell
6667
Set-SPOContainer -Identity https://contoso.sharepoint.com/contentstorage/CSP_33a63968-abae-49a3-a255-f83d0ab2260a/ -RemoveLabel
6768
```
68-
This example sets any previously set sensitivity label on the Container.
69+
This example sets any previously set sensitivity label on the container.
6970

7071
## PARAMETERS
7172

73+
### -Identity
74+
75+
Use this parameter to specify the container url.
76+
77+
```yaml
78+
Type: String
79+
Applies to: SharePoint Online
80+
Required: True
81+
Position: Named
82+
Default value: False
83+
Accept pipeline input: False
84+
Accept wildcard characters: False
85+
```
86+
87+
7288
### -BlockDownloadPolicy
73-
As a SharePoint Administrator or above in Microsoft 365, you can block the download of files from SharePoint Embedded Containers. This feature does not need Microsoft Entra Conditional Access policies. This feature can be set for individual Containers but not at the organization level.
89+
As a SharePoint Embedded Administrator, you can block the download of files from SharePoint Embedded containers. This feature does not need Microsoft Entra Conditional Access policies. This feature can be set for individual containers but not at the organization level.
7490
75-
Blocking the download of files allows users to remain productive while addressing the risk of accidental data loss. Users have browser-only access with no ability to download, print, or sync files. They also won't be able to access content through apps, including the Microsoft Office desktop apps. When web access is limited, users will see the following message at the top of Containers: "Your organization doesn't allow you to download, print, or sync from this Container. For help contact your IT department." Read the full documentation for advanced capabilities at [Block download policy for SharePoint Containers and OneDrive](/sharepoint/block-download-from-sites).
91+
Blocking the download of files allows users to remain productive while addressing the risk of accidental data loss. Users have browser-only access with no ability to download, print, or sync files. They also won't be able to access content through apps, including the Microsoft Office desktop apps. When web access is limited, users will see the following message at the top of containers: "Your organization doesn't allow you to download, print, or sync from this Container. For help contact your IT department." Read the full documentation for advanced capabilities at [Block download policy for SharePoint Containers and OneDrive](/sharepoint/block-download-from-sites).
7692
7793
PARAMVALUE: $true | $false
7894
@@ -89,7 +105,7 @@ Accept wildcard characters: False
89105
```
90106
91107
### -ConditionalAccessPolicy
92-
Read the [Control access from unmanaged devices](/sharepoint/control-access-from-unmanaged-devices) documentation to understand Conditional Access Policy usage in SharePoint Embedded Container.
108+
Read the [Control access from unmanaged devices](/sharepoint/control-access-from-unmanaged-devices) documentation to understand Conditional Access Policy usage in SharePoint Embedded container.
93109
94110
Possible values:
95111
- AllowFullAccess: Allows full access from desktop apps, mobile apps, and the web.
@@ -124,7 +140,7 @@ Accept wildcard characters: False
124140
```
125141
126142
### -RemoveLabel
127-
This parameter allows you to remove the assigned sensitivity label on a Container.
143+
This parameter allows you to remove the assigned sensitivity label on a container.
128144
129145
```yaml
130146
Type: SwitchParameter
@@ -141,4 +157,4 @@ Accept wildcard characters: False
141157
142158
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps)
143159
144-
[Set-SPOTenant](set-spotenant.md)
160+
[Set-SPOTenant](set-spotenant.md)

0 commit comments

Comments
 (0)