Skip to content

Commit d4691a0

Browse files
Merge pull request #1141 from oggy22/patch-1
Update Get-SPOApplication and Set-SPOApplication with MajorVersionLimit
2 parents 14bc196 + 8aa1fec commit d4691a0

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ The following details are returned:
100100
101101
- CopilotEmbeddedChatHosts
102102
103+
- MajorVersionLimit
104+
103105
```yaml
104106
Type: System.Guid
105107
Parameter Sets: (All)

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Sets or updates one or more configuration of a SharePoint Embedded application.
2121
Set-SPOApplication [-OwningApplicationId] <Guid> [[-SharingCapability] <SharingCapabilities>]
2222
[[-OverrideTenantSharingCapability] <Boolean>]
2323
[[-CopilotEmbeddedChatHosts] <System.Collections.Generic.List`1[System.String]>]
24+
[[-MajorVersionLimit] <Int>]
2425
[<CommonParameters>]
2526
```
2627

@@ -69,6 +70,13 @@ Set-SPOApplication -OwningApplicationId 423poi45 -CopilotEmbeddedChatHosts "http
6970
```
7071
This example sets the host URLs for the application with Id 423poi45.
7172

73+
### Example 5
74+
75+
```powershell
76+
Set-SPOApplication -OwningApplicationId 423poi45 -MajorVersionLimit 1000
77+
```
78+
This example sets the MajorVersionLimit to 1000.
79+
7280
## PARAMETERS
7381

7482
### -CopilotEmbeddedChatHosts
@@ -122,6 +130,22 @@ Accept pipeline input: False
122130
Accept wildcard characters: False
123131
```
124132
133+
### -MajorVersionLimit
134+
135+
This parameter is used to override MajorVersionLimit for first-party container types.
136+
137+
```yaml
138+
Type: Int
139+
Parameter Sets: (All)
140+
Aliases:
141+
142+
Required: False
143+
Position: 4
144+
Default value: None
145+
Accept pipeline input: False
146+
Accept wildcard characters: False
147+
```
148+
125149
### -SharingCapability
126150
127151
Determines what level of sharing is available for the SharePoint Embedded Application.

0 commit comments

Comments
 (0)