From 8abc2ac46866d16aec11c5990424b03f0bb5d4ae Mon Sep 17 00:00:00 2001 From: Ognjen Sobajic Date: Thu, 16 Apr 2026 21:09:51 -0700 Subject: [PATCH 1/7] Add MajorVersionLimit parameter to Get-SPOApplication Added MajorVersionLimit parameter to Get-SPOApplication. --- .../Get-SPOApplication.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md index 7f5a874c2..ab26eec9d 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md @@ -100,6 +100,8 @@ The following details are returned: - CopilotEmbeddedChatHosts +- MajorVersionLimit + ```yaml Type: System.Guid Parameter Sets: (All) From 10d6481c0b896bc52399ff7d2a05c9767bfa457e Mon Sep 17 00:00:00 2001 From: Ognjen Sobajic Date: Thu, 16 Apr 2026 23:23:38 -0700 Subject: [PATCH 2/7] Add MajorVersionLimit parameter to Set-SPOApplication [[-MajorVersionLimit] ] --- .../Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md index 9f9f7f515..3759b50ed 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md @@ -21,6 +21,7 @@ Sets or updates one or more configuration of a SharePoint Embedded application. Set-SPOApplication [-OwningApplicationId] [[-SharingCapability] ] [[-OverrideTenantSharingCapability] ] [[-CopilotEmbeddedChatHosts] ] + [[-MajorVersionLimit] ] [] ``` From af893cf51c6e46c6f003be9b864de247b722abe0 Mon Sep 17 00:00:00 2001 From: Ognjen Sobajic Date: Fri, 17 Apr 2026 13:22:56 -0700 Subject: [PATCH 3/7] Example 5 Added example for setting MajorVersionLimit in Set-SPOApplication. --- .../Set-SPOApplication.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md index 3759b50ed..5f485a58a 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md @@ -70,6 +70,13 @@ Set-SPOApplication -OwningApplicationId 423poi45 -CopilotEmbeddedChatHosts "http ``` This example sets the host URLs for the application with Id 423poi45. +### Example 5 + +```powershell +Set-SPOApplication -OwningApplicationId 423poi45 -MajorVersionLimit 1000 +``` +This example sets the MajorVersionLimit to 1000 + ## PARAMETERS ### -CopilotEmbeddedChatHosts From 998464807bf2212475638e7aa0f6ccebdbf5df7e Mon Sep 17 00:00:00 2001 From: Ognjen Sobajic Date: Fri, 17 Apr 2026 13:28:15 -0700 Subject: [PATCH 4/7] Added -MajorVersionLimit parameter details to Set-SPOApplication documentation. --- .../Set-SPOApplication.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md index 5f485a58a..27dda50f1 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md @@ -130,6 +130,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MajorVersionLimit + +This parameter is used to override MajorVerisonLimit for 1P container types. + +```yaml +Type: Int +Parameter Sets: (All) +Aliases: + +Required: False +Position: 4 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SharingCapability Determines what level of sharing is available for the SharePoint Embedded Application. From 39f1a0c9b73e93f31c4b659b0a1b64f927ca6567 Mon Sep 17 00:00:00 2001 From: Ognjen Sobajic Date: Fri, 17 Apr 2026 13:34:33 -0700 Subject: [PATCH 5/7] Add dot --- .../Set-SPOApplication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md index 27dda50f1..c5f5a21b7 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md @@ -75,7 +75,7 @@ This example sets the host URLs for the application with Id 423poi45. ```powershell Set-SPOApplication -OwningApplicationId 423poi45 -MajorVersionLimit 1000 ``` -This example sets the MajorVersionLimit to 1000 +This example sets the MajorVersionLimit to 1000. ## PARAMETERS From ed1699710694229e2c27967501e9f1c09a013ac5 Mon Sep 17 00:00:00 2001 From: Ognjen Sobajic Date: Fri, 17 Apr 2026 13:38:24 -0700 Subject: [PATCH 6/7] 1p->first-party --- .../Set-SPOApplication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md index c5f5a21b7..e47aeb682 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md @@ -132,7 +132,7 @@ Accept wildcard characters: False ### -MajorVersionLimit -This parameter is used to override MajorVerisonLimit for 1P container types. +This parameter is used to override MajorVerisonLimit for first-party container types. ```yaml Type: Int From 8aa1fec5344562a1ec326f8c66965a85ac6e2572 Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Tue, 21 Apr 2026 05:38:39 +0530 Subject: [PATCH 7/7] typo fix --- .../Set-SPOApplication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md index e47aeb682..5053c7dbc 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md @@ -132,7 +132,7 @@ Accept wildcard characters: False ### -MajorVersionLimit -This parameter is used to override MajorVerisonLimit for first-party container types. +This parameter is used to override MajorVersionLimit for first-party container types. ```yaml Type: Int