Skip to content

Commit 7760f4b

Browse files
Merge pull request #974 from MicrosoftDocs/main
[AutoPublish] main to live - 08/05 10:34 PDT | 08/05 23:04 IST
2 parents 1e0325d + b98fff4 commit 7760f4b

File tree

3 files changed

+112
-9
lines changed

3 files changed

+112
-9
lines changed

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

Lines changed: 87 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,18 @@ Set-SPOContainer [-Identity] <SPOContainerPipeBind>
4949
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>] [-SharingAllowedDomainList <String>]
5050
[-SharingBlockedDomainList <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
5151
```
52-
52+
### PrincipalOwnerTransfer
53+
```
54+
Set-SPOContainer [-Identity] <SPOContainerPipeBind> -CurrentPrincipalOwner <String>
55+
-NewPrincipalOwner <String> [-WhatIf] [-Confirm] [<CommonParameters>]
56+
```
5357
## DESCRIPTION
5458

55-
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.
59+
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. The principal owner transfer operation is supported only for containers that are user-owned. Attempting to perform this operation on non user-owned containers will result in an error.
60+
61+
> [!IMPORTANT]
62+
> 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.
63+
>
5664
5765
You must be a SharePoint Embedded Administrator to run the cmdlet.
5866

@@ -93,6 +101,8 @@ This example removes any previously set sensitivity label on the container.
93101

94102
### -AllowEditing
95103

104+
> Applicable: SharePoint Online
105+
96106
Prevents users from editing Office files in the browser and copying and pasting Office file contents out of the browser window.
97107

98108
```yaml
@@ -109,6 +119,8 @@ Accept wildcard characters: False
109119
110120
### -AuthenticationContextName
111121
122+
> Applicable: SharePoint Online
123+
112124
The conditional access authentication context name.
113125
114126
```yaml
@@ -125,7 +137,7 @@ Accept wildcard characters: False
125137
126138
### -BlockDownloadPolicy
127139
128-
> Applicable: SharePoint Embedded
140+
> Applicable: SharePoint Online
129141
130142
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.
131143
@@ -145,7 +157,7 @@ Accept wildcard characters: False
145157
146158
### -ConditionalAccessPolicy
147159
148-
> Applicable: SharePoint Embedded
160+
> Applicable: SharePoint Online
149161
150162
Read the [Control access from unmanaged devices](/sharepoint/control-access-from-unmanaged-devices) documentation to understand Conditional Access Policy usage in SharePoint Embedded container.
151163
@@ -168,6 +180,9 @@ Accept wildcard characters: False
168180
```
169181
170182
### -ExcludeBlockDownloadPolicyContainerOwners
183+
184+
> Applicable: SharePoint Online
185+
171186
Controls if container owners are excluded from block download policy.
172187
173188
```yaml
@@ -182,8 +197,28 @@ Accept pipeline input: False
182197
Accept wildcard characters: False
183198
```
184199
200+
### -CurrentPrincipalOwner
201+
202+
> Applicable: SharePoint Online
203+
204+
The current principal owner of the container.
205+
206+
```yaml
207+
Type: String
208+
Parameter Sets: PrincipalOwnerTransfer
209+
Aliases:
210+
211+
Required: True
212+
Position: Named
213+
Default value: None
214+
Accept pipeline input: False
215+
Accept wildcard characters: False
216+
```
217+
185218
### -Identity
186219
220+
> Applicable: SharePoint Online
221+
187222
Use this parameter to specify the container url.
188223
189224
```yaml
@@ -199,6 +234,9 @@ Accept wildcard characters: False
199234
```
200235
201236
### -LimitedAccessFileType
237+
238+
> Applicable: SharePoint Online
239+
202240
The following parameters can be used with -ConditionalAccessPolicy AllowLimitedAccess for both the organization-wide setting and the container-level setting.
203241
204242
OfficeOnlineFilesOnly: Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity.
@@ -220,7 +258,27 @@ Accept pipeline input: False
220258
Accept wildcard characters: False
221259
```
222260
261+
### -NewPrincipalOwner
262+
263+
> Applicable: SharePoint Online
264+
265+
The new user to whom a user-owned container's lifecycle will be tied to.
266+
```yaml
267+
Type: String
268+
Parameter Sets: PrincipalOwnerTransfer
269+
Aliases:
270+
271+
Required: True
272+
Position: Named
273+
Default value: None
274+
Accept pipeline input: False
275+
Accept wildcard characters: False
276+
```
277+
223278
### -ReadOnlyForBlockDownloadPolicy
279+
280+
> Applicable: SharePoint Online
281+
224282
Controls if read-only should be enabled for block download policy.
225283
226284
```yaml
@@ -236,6 +294,9 @@ Accept wildcard characters: False
236294
```
237295
238296
### -ReadOnlyForUnmanagedDevices
297+
298+
> Applicable: SharePoint Online
299+
239300
Controls whether unmanaged devices have read-only access.
240301
241302
```yaml
@@ -251,6 +312,9 @@ Accept wildcard characters: False
251312
```
252313
253314
### -RemoveLabel
315+
316+
> Applicable: SharePoint Online
317+
254318
This parameter allows you to remove the assigned sensitivity label on a container.
255319
256320
```yaml
@@ -266,7 +330,7 @@ Accept wildcard characters: False
266330
267331
### -SensitivityLabel
268332
269-
> Applicable: SharePoint Embedded
333+
> Applicable: SharePoint Online
270334
271335
Specifies the unique identifier (GUID) of the SensitivityLabel.
272336
@@ -283,6 +347,9 @@ Accept wildcard characters: False
283347
```
284348
285349
### -SharingAllowedDomainList
350+
351+
> Applicable: SharePoint Online
352+
286353
Specifies a list of email domains that are allowed for sharing with the external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
287354
288355
```yaml
@@ -298,6 +365,9 @@ Accept wildcard characters: False
298365
```
299366
300367
### -SharingBlockedDomainList
368+
369+
> Applicable: SharePoint Online
370+
301371
Specifies a list of email domains that are blocked or prohibited for sharing with the external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
302372
303373
```yaml
@@ -313,6 +383,9 @@ Accept wildcard characters: False
313383
```
314384
315385
### -SharingDomainRestrictionMode
386+
387+
> Applicable: SharePoint Online
388+
316389
Specifies the sharing mode for external domains.
317390
318391
Possible values are:
@@ -335,6 +408,9 @@ Accept wildcard characters: False
335408
```
336409
337410
### -Confirm
411+
412+
> Applicable: SharePoint Online
413+
338414
Prompts you for confirmation before running the cmdlet.
339415
340416
```yaml
@@ -350,6 +426,9 @@ Accept wildcard characters: False
350426
```
351427
352428
### -WhatIf
429+
430+
> Applicable: SharePoint Online
431+
353432
Shows what would happen if the cmdlet runs.
354433
The cmdlet is not run.
355434
@@ -366,6 +445,9 @@ Accept wildcard characters: False
366445
```
367446
368447
### CommonParameters
448+
449+
> Applicable: SharePoint Online
450+
369451
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
370452
371453
## INPUTS

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-Owner <String>] [-Title <String>] [-
6363
[-HidePeopleWhoHaveListsOpen <Boolean>] [-AllowFileArchive <Boolean>]
6464
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
6565
[-DisableSiteBranding <Boolean>]
66+
[-IsAuthoritative <Boolean>]
6667
[-WhatIf] [-Confirm]
6768
[<CommonParameters>]
6869
```
@@ -1000,6 +1001,26 @@ Accept pipeline input: False
10001001
Accept wildcard characters: False
10011002
```
10021003

1004+
### -IsAuthoritative
1005+
1006+
> Applicable: SharePoint Online
1007+
1008+
When an admin with a Copilot license marks a site as authoritative, it signals to Microsoft Search, Microsoft 365 Copilot, and other AI agents that the content is official, trusted, and verified. This designation helps improve content discoverability and increases user confidence in AI-generated responses.
1009+
1010+
PARAMVALUE: True | False
1011+
1012+
```yaml
1013+
Type: Boolean
1014+
Parameter Sets: ParamSet1
1015+
Aliases:
1016+
1017+
Required: False
1018+
Position: Named
1019+
Default value: None
1020+
Accept pipeline input: False
1021+
Accept wildcard characters: False
1022+
```
1023+
10031024
### -EnableAutoExpirationVersionTrim
10041025

10051026
> Applicable: SharePoint Online

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Start-SPODataAccessGovernanceInsight.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Start-SPODataAccessGovernanceInsight -ReportEntity <ReportEntityEnum> -Workload
5353
### UserPermissionsParameterSet
5454
```
5555
Start-SPODataAccessGovernanceInsight -ReportEntity <ReportEntityEnum> -Workload <WorkloadEnum>
56-
-ReportType <ReportTypeEnum> -Name <String> -UserIDList <System.Collections.Generic.List`1[System.Guid]>
56+
-ReportType <ReportTypeEnum> -Name <String> -UserEmailList <System.Collections.Generic.List`1[System.String]>
5757
[<CommonParameters>]
5858
```
5959

@@ -227,12 +227,12 @@ Accept pipeline input: False
227227
Accept wildcard characters: False
228228
```
229229
230-
### -UserIDList
230+
### -UserEmailList
231231
232-
Specifies the Entra object IDs of the users for whom permissions report should be generated. Can be fetched using the `Get-MgUser` command from [Microsoft Graph PowerShell](/powershell/module/microsoft.graph.users/get-mguser).
232+
Specifies the email IDs of the users for whom permissions report should be generated.
233233
234234
```yaml
235-
Type: System.Collections.Generic.List`1[System.Guid]
235+
Type: System.Collections.Generic.List`1[System.String]
236236
Parameter Sets: UserPermissionsParameterSet
237237
Aliases:
238238

0 commit comments

Comments
 (0)