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) 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..10fec6dbb 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] ] [] ``` @@ -69,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 @@ -122,6 +130,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MajorVersionLimit + +This parameter is used to override MajorVersionLimit for 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.