Skip to content

Commit 1101027

Browse files
authored
Merge branch 'main' into patch-9
2 parents 6606236 + 16cf90d commit 1101027

88 files changed

Lines changed: 213 additions & 91 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOExternalUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Get-SPOExternalUser [[-Position] <Int32>] [[-PageSize] <Int32>] [[-Filter] <Stri
2828

2929
The `Get-SPOExternalUser` cmdlet returns external users that are located in the tenant based on specified criteria.
3030

31-
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [https://go.microsoft.com/fwlink/p/?LinkId=251832](https://go.microsoft.com/fwlink/p/?LinkId=251832).
31+
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell).
3232

3333
## EXAMPLES
3434

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOGeoAdministrator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Running this cmdlet on a non-multi-geo tenant organization will return error -4.
3333

3434
You must be a SharePoint Online administrator and you must have a the Multi-Geo Capabilities in Office 365 service plan to run the `Get-SPOGeoAdministrator` cmdlet.
3535

36-
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [https://go.microsoft.com/fwlink/p/?LinkId=251832](https://go.microsoft.com/fwlink/p/?LinkId=251832).
36+
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell).
3737

3838
## EXAMPLES
3939

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The `Get-SPOUser` cmdlet matches one and only one user or security group.
4343

4444
Be sure to run the `Get-SPOUser` cmdlet as at least a SharePoint Online administrator and be a site collection administrator of the queried site.
4545

46-
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at <https://go.microsoft.com/fwlink/p/?LinkId=251832>.
46+
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell).
4747

4848
## EXAMPLES
4949

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This cmdlet creates a new container type of standard or trial status. The standa
2121
```
2222
New-SPOContainerType [-ContainerTypeName] <String> -OwningApplicationId <Guid>
2323
[-ApplicationRedirectUrl <String>] [-TrialContainerType] [-IsPassThroughBilling]
24-
[-IsGovernableByAdmin <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
24+
[-IsGovernableByAdmin <Boolean>] [-IsArchiveEnabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
2525
```
2626

2727
## DESCRIPTION
@@ -64,6 +64,14 @@ New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce032
6464

6565
In Example 4, the cmdlet creates a standard container type, ContosoLegal that has opted out of management through Microsoft-enabled administrator platforms.
6666

67+
### Example 5
68+
69+
```powershell
70+
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -IsArchiveEnabled $true
71+
```
72+
73+
In Example 5, the cmdlet creates a standard container type, ContosoLegal that supports archive and reactivate actions on its containers.
74+
6775
## PARAMETERS
6876

6977
### -ApplicationRedirectUrl
@@ -102,6 +110,24 @@ Accept pipeline input: False
102110
Accept wildcard characters: False
103111
```
104112
113+
### -IsArchiveEnabled
114+
115+
> Applicable: SharePoint Online
116+
117+
Use the `-IsArchiveEnabled` flag to enable archival of containers. Archival moves data to the cold tier, reducing storage costs. While archived, content is inaccessible until reactivated. Reactivation is immediate within the first seven days and can take up to 24 hours afterward. If you don't include this flag, the value defaults to `False`, and all archive API calls fail. After you update the flag, allow up to 24 hours for the change to take effect in the consuming tenant.
118+
119+
```yaml
120+
Type: System.Boolean
121+
Parameter Sets: (All)
122+
Aliases:
123+
124+
Required: False
125+
Position: Named
126+
Default value: False
127+
Accept pipeline input: False
128+
Accept wildcard characters: False
129+
```
130+
105131
### -IsGovernableByAdmin
106132

107133
> Applicable: SharePoint Online

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ However, creating a new SharePoint Online site collection fails if a deleted sit
3131

3232
You must be at least a SharePoint Online administrator to run the cmdlet.
3333

34-
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at <https://go.microsoft.com/fwlink/p/?LinkId=251832>.
34+
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell).
3535

3636
## EXAMPLES
3737

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

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId <Guid> [-DiscoverabilityDisab
2424
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>] [-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
2525
[-OverrideTenantWhoCanShareAuthenticatedGuestAllowList <Boolean>]
2626
[-CopilotEmbeddedChatHosts <System.Collections.Generic.List`1[System.String]>]
27-
[-AnonymousLinkExpirationInDays <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
27+
[-AnonymousLinkExpirationInDays <Int32>] [-IsArchiveEnabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
2828
```
2929

3030
## DESCRIPTION
@@ -82,6 +82,14 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb
8282
```
8383
This example sets the host URLs for the container type with Id 4f0af585-8dcc-0000-223d-661eb2c604e4.
8484

85+
### Example 7
86+
87+
```powershell
88+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -IsArchiveEnabled $true
89+
```
90+
91+
Example 7 enables support for archive and reactivate actions on all the containers of ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4.
92+
8593
## PARAMETERS
8694

8795
### -AnonymousLinkExpirationInDays
@@ -171,6 +179,22 @@ Accept pipeline input: False
171179
Accept wildcard characters: False
172180
```
173181
182+
### -IsArchiveEnabled
183+
184+
Use the `-IsArchiveEnabled` flag to enable archival of containers. Archival moves data to the cold tier, reducing storage costs. While archived, content is inaccessible until reactivated. Reactivation is immediate within the first seven days and can take up to 24 hours afterward. If you don't include this flag, the value defaults to `False`, and all archive API calls fail. After you update the flag, allow up to 24 hours for the change to take effect in the consuming tenant.
185+
186+
```yaml
187+
Type: System.Boolean
188+
Parameter Sets: (All)
189+
Aliases:
190+
191+
Required: False
192+
Position: Named
193+
Default value: False
194+
Accept pipeline input: False
195+
Accept wildcard characters: False
196+
```
197+
174198
### -OverrideTenantWhoCanShareAnonymousAllowList
175199

176200
This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`.

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-Owner <String>] [-Title <String>] [-
6464
[-ListsShowHeaderAndNavigation <Boolean>] [-HidePeoplePreviewingFiles <Boolean>]
6565
[-HidePeopleWhoHaveListsOpen <Boolean>] [-IsAuthoritative <Boolean>] [-AllowFileArchive <Boolean>]
6666
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-DisableSiteBranding <Boolean>]
67+
[-DisableClassicPageBaselineSecurityMode <Boolean>]
6768
[-WhatIf] [-Confirm] [<CommonParameters>]
6869
```
6970

@@ -522,6 +523,26 @@ Accept pipeline input: False
522523
Accept wildcard characters: False
523524
```
524525

526+
### -DisableClassicPageBaselineSecurityMode
527+
528+
> Applicable: SharePoint Online
529+
530+
Allows a site to disable baseline security mode for classic pages. When `DisableClassicPageBaselineSecurityMode` is set to `$true`, users can create and edit classic pages even if baseline security mode is enabled at the tenant level in Microsoft admin center.
531+
532+
PARAMVALUE: True | False
533+
534+
```yaml
535+
Type: System.Boolean
536+
Parameter Sets: ParamSet1
537+
Aliases:
538+
539+
Required: False
540+
Position: Named
541+
Default value: None
542+
Accept pipeline input: False
543+
Accept wildcard characters: False
544+
```
545+
525546
### -AnonymousLinkExpirationInDays
526547

527548
> Applicable: SharePoint Online

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

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
139139
[-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
140140
[-DefaultContentCenterSite <String>]
141141
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>]
142-
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>]
142+
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>]
143+
[-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>]
143144
```
144145

145146
### ParameterSetContentTypeSyncSiteTemplatesList
@@ -264,7 +265,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
264265
[-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
265266
[-DefaultContentCenterSite <String>]
266267
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>]
267-
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>]
268+
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>]
269+
[-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>]
268270
```
269271

270272
### ParamSetMultipleSites
@@ -390,7 +392,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
390392
[-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
391393
[-DefaultContentCenterSite <String>]
392394
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>]
393-
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>]
395+
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>]
396+
[-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>]
394397
```
395398

396399
### InformationBarrier
@@ -514,7 +517,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
514517
[-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
515518
[-DefaultContentCenterSite <String>]
516519
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>]
517-
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>] [<CommonParameters>]
520+
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>]
521+
[-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>]
518522
```
519523

520524
### ParameterSetNameRestrictExternalSharing
@@ -639,7 +643,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
639643
[-DefaultContentCenterSite <String>]
640644
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>]
641645
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>]
642-
-RestrictExternalSharing <Guid[]> [-AddAppIdToList] [-RemoveAppIdFromList] [<CommonParameters>]
646+
-RestrictExternalSharing <Guid[]> [-AddAppIdToList] [-RemoveAppIdFromList]
647+
[-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>]
643648
```
644649

645650
## DESCRIPTION
@@ -1129,6 +1134,52 @@ Accept pipeline input: False
11291134
Accept wildcard characters: False
11301135
```
11311136

1137+
### -AllowFileArchive
1138+
1139+
> Applicable: SharePoint Online
1140+
1141+
Controls whether file-level archiving is allowed at the tenant level. This setting can be overridden for specific sites by the site-level flag of the same name and has no effect unless Microsoft 365 Archive is enabled for your organization.
1142+
1143+
The valid values are:
1144+
1145+
- True (default) - Allows users to manually archive files on sites where file-level archiving is also enabled. Manual archiving is limited to internal users with write access to the file.
1146+
- False - Blocks manual archiving for all files, regardless of the site-level setting. Admin-defined policies can still archive files automatically.
1147+
1148+
```yaml
1149+
Type: Boolean
1150+
Parameter Sets: (All)
1151+
Aliases:
1152+
1153+
Required: False
1154+
Position: Named
1155+
Default value: True
1156+
Accept pipeline input: False
1157+
Accept wildcard characters: False
1158+
```
1159+
1160+
### -AllowFileArchiveOnNewSitesByDefault
1161+
1162+
> Applicable: SharePoint Online
1163+
1164+
Specifies the default value of the `AllowFileArchive` property for newly created SharePoint sites. This determines whether new sites allow file-level archiving by default. Microsoft 365 Archive and the tenant-level `AllowFileArchive` setting must both be enabled for manual archiving to work when this property is set to True.
1165+
1166+
The valid values are:
1167+
1168+
- True (default) - Sets `AllowFileArchive` to True for all newly provisioned sites. Microsoft 365 Archive and the tenant-level `AllowFileArchive` setting must both be enabled for manual archiving to work on future provisioned sites.
1169+
- False - Sets `AllowFileArchive` to False for all newly provisioned sites.
1170+
1171+
```yaml
1172+
Type: Boolean
1173+
Parameter Sets: (All)
1174+
Aliases:
1175+
1176+
Required: False
1177+
Position: Named
1178+
Default value: True
1179+
Accept pipeline input: False
1180+
Accept wildcard characters: False
1181+
```
1182+
11321183
### -AllowGuestUserShareToUsersNotInSiteCollection
11331184

11341185
> Applicable: SharePoint Online

sharepoint/sharepoint-ps/Microsoft.SharePoint.Powershell/Add-SPProfileLeader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For additional information about SPProfileLeader cmdlets, see the \*-SPProfileLe
3232

3333
After you use the `Add-SPProfileLeader` cmdlet to add a company leader, you have to complete a full crawl of your content sources for the changes to take effect.
3434

35-
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at https://go.microsoft.com/fwlink/p/?LinkId=251831.
35+
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at [SharePoint Server Cmdlets](/powershell/sharepoint/sharepoint-server/sharepoint-server-cmdlets).
3636

3737
## EXAMPLES
3838

sharepoint/sharepoint-ps/Microsoft.SharePoint.Powershell/Add-SPShellAdmin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ However, the result of running this cmdlet is that the user specified with the U
4545

4646
Therefore, you should carefully plan which users are given this access.
4747

48-
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at [https://go.microsoft.com/fwlink/p/?LinkId=251831](https://go.microsoft.com/fwlink/p/?LinkId=251831).
48+
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at [SharePoint Server Cmdlets](/powershell/sharepoint/sharepoint-server/sharepoint-server-cmdlets).
4949

5050
## EXAMPLES
5151

0 commit comments

Comments
 (0)