Skip to content

Commit 2f8b679

Browse files
authored
Merge branch 'main' into patch-9
2 parents 7b79ed3 + 2ebf716 commit 2f8b679

File tree

3 files changed

+199
-27
lines changed

3 files changed

+199
-27
lines changed

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

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [
6060
[-OverrideSharingCapability <Boolean>]
6161
[-DefaultShareLinkScope <SharingScope>]
6262
[-DefaultShareLinkRole <SharingRole>]
63+
[-HidePeoplePreviewingFiles <Boolean>]
64+
[-HidePeoplePresenceInLists <Boolean>]
6365
[<CommonParameters>]
6466
```
6567

@@ -100,6 +102,11 @@ Set-SPOSite [-Identity] <SpoSitePipeBind>
100102
[<CommonParameters>]
101103
```
102104

105+
### ClearGroupId
106+
```powershell
107+
Set-SPOSite [-Identity] <SpoSitePipeBind> [-ClearGroupId] [<CommonParameters>]
108+
```
109+
103110
## DESCRIPTION
104111

105112
For any parameters that are passed in, the `Set-SPOSite` cmdlet sets or updates the setting for the site collection identified by parameter Identity.
@@ -1261,8 +1268,6 @@ The valid values are:
12611268
> b. `MajorWithMinorVersionsLimit` accepts values from 0 through 50,000 (inclusive).
12621269
> c. `ExpireVersionsAfterDays` accepts values of 0 to Never Expire or values >= 30 to delete versions that exceed that time period.
12631270
> When version history limits are managed automatically (`EnableAutoExpirationVersionTrim $true`), setting `MajorVersionLimit` or `ExpireVersionsAfterDays` will result in an error as the count limits are set by the service.
1264-
>
1265-
> This parameter is currently under public preview.
12661271

12671272
PARAMVALUE: $true | $false
12681273

@@ -1435,7 +1440,63 @@ Position: Named
14351440
Default value: None
14361441
Accept pipeline input: False
14371442
Accept wildcard characters: False
1443+
1444+
```
1445+
### -HidePeoplePreviewingFiles
1446+
1447+
This setting disables the feature in OneDrive and SharePoint file previewing that displays the presence of other users on the file. It does not affect any experiences outside of the previewer.
1448+
1449+
PARAMVALUE: False | True
1450+
1451+
If set to True, the presence of other users on the file will no longer be displayed.
1452+
1453+
1454+
```yaml
1455+
Type: Boolean
1456+
Parameter Sets: (All)
1457+
Aliases:
1458+
Applicable: SharePoint Online
1459+
Required: False
1460+
Position: Named
1461+
Default value: False
1462+
Accept pipeline input: False
1463+
Accept wildcard characters: False
1464+
1465+
```
1466+
### -HidePeoplePresenceInLists
1467+
1468+
This setting disables the feature in Microsoft Lists that displays the presence of other users on the list and its items when they are viewing.
1469+
1470+
PARAMVALUE: False | True
1471+
1472+
If set to True, the presence of other users on the list and its items will no longer be displayed. List presence is enabled by default.
1473+
1474+
```yaml
1475+
Type: Boolean
1476+
Parameter Sets: (All)
1477+
Aliases:
1478+
Applicable: SharePoint Online
1479+
Required: False
1480+
Position: Named
1481+
Default value: False
1482+
Accept pipeline input: False
1483+
Accept wildcard characters: False
1484+
1485+
```
1486+
### -ClearGroupId
1487+
This parameter allows you to remove the assigned Microsoft 365 group ID on a site, when the group is permanently deleted.
1488+
1489+
```yaml
1490+
Type: SwitchParameter
1491+
Parameter Sets: ClearGroupId
1492+
Aliases:
1493+
Required: False
1494+
Position: Named
1495+
Default value: None
1496+
Accept pipeline input: False
1497+
Accept wildcard characters: False
14381498
```
1499+
14391500
### CommonParameters
14401501

14411502
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).

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

Lines changed: 117 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Set-SPOTenant
2525
[-BccExternalSharingInvitationsList <String>]
2626
[-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
2727
[-BusinessConnectivityServiceDisabled <Boolean>]
28+
[-DelegateRestrictedAccessControlManagement <Boolean>]
29+
[-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
2830
[-DisplayStartASiteOption <Boolean>]
2931
[-EnableAIPIntegration <Boolean>]
3032
[-EnableAutoNewsDigest <Boolean>]
@@ -179,6 +181,8 @@ Set-SPOTenant
179181
[-OpticalCharacterRecognitionSelectedSitesList [String[]]]
180182
[-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
181183
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
184+
[-WhoCanShareAnonymousAllowList [Guid[]]]
185+
[-WhoCanShareAuthenticatedGuestAllowList [Guid[]]]
182186
[<CommonParameters>]
183187
```
184188

@@ -299,52 +303,65 @@ This example sets manual version history limits on all new document libraries at
299303
### EXAMPLE 14
300304

301305
```powershell
302-
PS > Set-SPOTenant -SharingDomainRestrictionMode "AllowList" -SharingAllowedDomainList "contoso.com fabrikam.com"
306+
Set-SPOTenant -SharingDomainRestrictionMode "AllowList" -SharingAllowedDomainList "contoso.com fabrikam.com"
303307
```
304308

305309
This example enables users to share with external collaborators from those domains only.
306310

307311
### EXAMPLE 15
308312

309313
```powershell
310-
PS > Set-SPOTenant -SharingDomainRestrictionMode "BlockList" -SharingBlockedDomainList "contoso.com"
314+
Set-SPOTenant -SharingDomainRestrictionMode "BlockList" -SharingBlockedDomainList "contoso.com"
311315
```
312316

313317
This example enables users to share with all external collaborators except for those on the BlockedDomainList.
314318

315319
### EXAMPLE 16
316320

317321
```powershell
318-
PS > Set-SPOTenant -EnableVersionExpirationSetting $true
322+
Set-SPOTenant -EnableVersionExpirationSetting $true
319323
```
324+
The `EnableVersionExpirationSetting` parameter is no longer active, this feature is now automatically enabled for each tenant. Setting `EnableVersionExpirationSetting` to false would not disable the feature.
325+
[Learn more about Version History Settings](/sharepoint/document-library-version-history-limits)
320326

321-
This example opts your tenant into public preview of Improved Version History controls feature. This feature is being tracked on the Microsoft 365 Public Roadmap under ID [145802](https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=145802).
322-
323-
Visit [http://aka.ms/versioning-overview](http://aka.ms/versioning-overview) to learn more about Admin configurations available to manage versions.
324-
325-
By opting in, you are accepting the terms of service for version history limits. [Read the terms of service](https://aka.ms/versioning-termsofservice).
326327

327328
### EXAMPLE 17
328329

329330
```powershell
330-
PS > Set-SPOTenant -PrebuiltModelScope SelectedSites -PrebuiltModelSelectedSitesList "https://contoso.sharepoint.com/sites/site1","https://contoso.sharepoint.com/sites/site2" -PrebuiltModelSelectedSitesListOperation Append
331+
Set-SPOTenant -PrebuiltModelScope SelectedSites -PrebuiltModelSelectedSitesList "https://contoso.sharepoint.com/sites/site1","https://contoso.sharepoint.com/sites/site2" -PrebuiltModelSelectedSitesListOperation Append
331332
```
332333

333334
This example sets the scope of the prebuilt model and [prebuilt document processing](/microsoft-365/syntex/prebuilt-overview) premium feature to `SelectedSites`, which limits the feature to only sites included in the selected sites list. This example also appends two sites to the feature's selected sites list.
334335

335336
Use of these parameters require the tenant to either have the required license or pay-as-you-go billing set up. For more information, visit [Licensing for Microsoft Syntex](/microsoft-365/syntex/syntex-licensing).
336337

337-
### Example 18
338+
### EXAMPLE 18
338339

339340
```powershell
340-
PS > Set-SPOTenant -DefaultContentCenterSite "https://contoso.sharepoint.com/sites/contentcenter"
341+
Set-SPOTenant -DefaultContentCenterSite "https://contoso.sharepoint.com/sites/contentcenter"
341342
```
342343

343344
This example sets the tenant's default content center. It can only be used if the tenant does not already have a designated default content center. To learn more about content centers, visit [Create a content center in Microsoft Syntex](/microsoft-365/syntex/create-a-content-center).
344345

345-
346346
Use of this parameter requires the tenant to either have the required license or pay-as-you-go billing set up. For more information, visit [Licensing for Microsoft Syntex](/microsoft-365/syntex/syntex-licensing).
347347

348+
### EXAMPLE 19
349+
350+
```powershell
351+
$list = (Get-SPOTenant | Select-Object WhoCanShareAnonymousAllowList).WhoCanShareAnonymousAllowList
352+
Set-SPOTenant –WhoCanShareAnonymousAllowList ($list + <new GUID>)
353+
```
354+
355+
This example appends a security group to the WhoCanShareAnonymousAllowList. Similar code works for the WhoCanShareAuthenticatedGuestAllowList.
356+
357+
### EXAMPLE 20
358+
359+
```powershell
360+
Set-SPOTenant –WhoCanShareAnonymousAllowList @()
361+
```
362+
363+
This example empties the WhoCanShareAnonymousAllowList. Similar code works for the WhoCanShareAuthenticatedGuestAllowList.
364+
348365
## PARAMETERS
349366

350367
### -ApplyAppEnforcedRestrictionsToAdHocRecipients
@@ -445,6 +462,55 @@ Position: Named
445462
Default value: False
446463
Accept pipeline input: False
447464
Accept wildcard characters: False
465+
466+
```
467+
468+
### -DelegateRestrictedAccessControlManagement
469+
470+
Allows SharePoint administrators to delegate the management of Restricted access control policy on sites to site admins and owners.
471+
472+
The valid values are:
473+
474+
- True - Allow site admins and owners to manage Restricted access control policy
475+
476+
- False (default) - Do not allow site admins and owners to manage Restricted access control policy
477+
478+
479+
```yaml
480+
Type: Boolean
481+
Parameter Sets: (All)
482+
Aliases:
483+
Applicable: SharePoint Online
484+
Required: False
485+
Position: Named
486+
Default value: False
487+
Accept pipeline input: False
488+
Accept wildcard characters: False
489+
490+
```
491+
492+
### -DelegateRestrictedContentDiscoverabilityManagement
493+
494+
Allows SharePoint administrators to delegate the management of Restricted content discoverability policy on sites to site admins and owners.
495+
496+
The valid values are:
497+
498+
- True - Allow site admins and owners to manage Restricted content discoverability policy
499+
500+
- False (default) - Do not allow site admins and owners to manage Restricted content discoverability policy
501+
502+
503+
```yaml
504+
Type: Boolean
505+
Parameter Sets: (All)
506+
Aliases:
507+
Applicable: SharePoint Online
508+
Required: False
509+
Position: Named
510+
Default value: False
511+
Accept pipeline input: False
512+
Accept wildcard characters: False
513+
448514
```
449515
450516
### -DisplayStartASiteOption
@@ -2841,15 +2907,8 @@ Accept wildcard characters: False
28412907
```
28422908

28432909
### -EnableVersionExpirationSetting
2844-
2845-
Use the `EnableVersionExpirationSetting` parameter to opt your tenant into public preview of Improved Version History controls feature Microsoft 365 Public Roadmap under ID [145802](https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=145802).
2846-
2847-
The valid values are:
2848-
2849-
- True - When set to true and feature roll out to your tenant has completed, admin version history controls at organization, site and library levels will be available.
2850-
- False (default) - When set to false, the feature will be disabled for your tenant.
2851-
2852-
Note: Disabling the feature after previously enabling it, does not revert changes made when the feature was enabled.
2910+
The `EnableVersionExpirationSetting` parameter is no longer active, this feature is now automatically enabled for each tenant.
2911+
[Learn more about Version History Settings](/sharepoint/document-library-version-history-limits)
28532912

28542913
```yaml
28552914
Type: Boolean
@@ -3526,10 +3585,46 @@ Accept pipeline input: False
35263585
Accept wildcard characters: False
35273586
```
35283587

3588+
### -WhoCanShareAnonymousAllowList
3589+
3590+
Sets the list of security groups who are allowed to share with anonymous (non-authenticated) users as well as authenticated guest users. Each security group is denoted by its GUID object ID in the Entra directory.
3591+
3592+
To set this list to be a specific security group, you need to enter its GUID as the argument. You can enter multiple GUIDs by using commas to separate them. To view the current list, use [Get-SPOTenant](Get-SPOTenant.md).
3593+
3594+
```yaml
3595+
Type: Guid[]
3596+
Parameter Sets: (All)
3597+
Aliases:
3598+
Applicable: SharePoint Online
3599+
Required: False
3600+
Position: Named
3601+
Default value: None
3602+
Accept pipeline input: False
3603+
Accept wildcard characters: False
3604+
```
3605+
3606+
### -WhoCanShareAuthenticatedGuestAllowList
3607+
3608+
Sets the list of security groups who are only allowed to share with authenticated guest users. Each security group is denoted by its GUID object ID.
3609+
3610+
To set this list to be a specific security group, you need to enter its GUID as the argument. You can enter multiple GUIDs by using commas to separate them. To view the current list, use [Get-SPOTenant](Get-SPOTenant.md).
3611+
3612+
```yaml
3613+
Type: Guid[]
3614+
Parameter Sets: (All)
3615+
Aliases:
3616+
Applicable: SharePoint Online
3617+
Required: False
3618+
Position: Named
3619+
Default value: None
3620+
Accept pipeline input: False
3621+
Accept wildcard characters: False
3622+
```
3623+
35293624
## RELATED LINKS
35303625

35313626
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
35323627

3533-
[Upgrade-SPOSite](Upgrade-SPOSite.md)
3628+
[Get-SPOSite](Get-SPOSite.md)
35343629

35353630
[Set-SPOSite](Set-SPOSite.md)

sharepoint/sharepoint-server-ps/sharepoint-server/Set-SPTrustedIdentityTokenIssuer.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ Set-SPTrustedIdentityTokenIssuer [-Identity] <SPTrustedIdentityTokenIssuerPipeBi
2121
[-AssignmentCollection <SPAssignmentCollection>] [-ClaimProvider <SPClaimProviderPipeBind>]
2222
[-ClaimsMappings <SPClaimMappingPipeBind[]>] [-Description <String>]
2323
-ImportTrustCertificate <X509Certificate2> [-Realm <String>] [-SignInUrl <String>] [-UseWReply] [-Confirm]
24-
[-RegisteredIssuerName <String>] [-WhatIf] [<CommonParameters>]
24+
[-RegisteredIssuerName <String>] [-UseStateToRedirect <Boolean>] [-WhatIf] [<CommonParameters>]
2525
```
2626

2727
### MetadataEndPointParameterSet
2828
```
2929
Set-SPTrustedIdentityTokenIssuer [-Identity] <SPTrustedIdentityTokenIssuerPipeBind>
3030
[-AssignmentCollection <SPAssignmentCollection>] [-ClaimProvider <SPClaimProviderPipeBind>]
3131
[-ClaimsMappings <SPClaimMappingPipeBind[]>] [-Description <String>] -MetadataEndPoint <Uri> [-Realm <String>]
32-
[-SignInUrl <String>] [-UseWReply] [-Confirm] [-RegisteredIssuerName <String>] [-WhatIf] [<CommonParameters>]
32+
[-SignInUrl <String>] [-UseWReply] [-Confirm] [-RegisteredIssuerName <String>] [-UseStateToRedirect <Boolean>] [-WhatIf] [<CommonParameters>]
3333
```
3434

3535
## DESCRIPTION
@@ -266,7 +266,7 @@ Accept wildcard characters: False
266266
```
267267

268268
### -RegisteredIssuerName
269-
{{Fill RegisteredIssuerName Description}}
269+
Specifies the registered name of the token issuer, typically a URI, for example: "https://sts.windows.net/yourTenantId/"
270270

271271
```yaml
272272
Type: String
@@ -281,6 +281,22 @@ Accept pipeline input: False
281281
Accept wildcard characters: False
282282
```
283283

284+
### -UseStateToRedirect
285+
Specifies whether or not to use the URI within the "state" property of client authentication requests to determine the proper page to redirect the client to after authentication.
286+
287+
```yaml
288+
Type: Boolean
289+
Parameter Sets: (All)
290+
Aliases:
291+
Applicable: SharePoint Server Subscription Edition
292+
293+
Required: False
294+
Position: Named
295+
Default value: False
296+
Accept pipeline input: False
297+
Accept wildcard characters: False
298+
```
299+
284300
### -WhatIf
285301
Shows what would happen if the cmdlet runs.
286302
The cmdlet is not run.

0 commit comments

Comments
 (0)