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 b09844fb2..5bc265bfe 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md @@ -26,7 +26,7 @@ Get-SPOApplication [[-OwningApplicationId] ] [[-ApplicationId] ] [ [[-SharingCapability] ] [[-OverrideTenantSharingCapability] ] - [[-CopilotEmbeddedChatHosts] ] [[-ItemMajorVersionLimit] ] [[-EnableAutoExpirationVersionTrim] ] [[-ExpireVersionsAfterDays] ] [[-FileTypesForVersionExpiration] ] @@ -68,40 +67,33 @@ This example demonstrates how to enable file sharing within the SharePoint Embed ### Example 4 -```powershell -Set-SPOApplication -OwningApplicationId 423poi45 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com" -``` -This example sets the host URLs for the application with Id 423poi45. - -### Example 5 - ```powershell Set-SPOApplication -OwningApplicationId 423poi45 -ItemMajorVersionLimit 1000 ``` This example sets the ItemMajorVersionLimit to 1000. -### Example 6 +### Example 5 ```powershell Set-SPOApplication -OwningApplicationId 423poi45 -EnableAutoExpirationVersionTrim $true ``` This example enables automatic version history trimming for the application's containers. When automatic trimming is enabled, `ExpireVersionsAfterDays` and `ItemMajorVersionLimit` are managed automatically and cannot be set at the same time. -### Example 7 +### Example 6 ```powershell Set-SPOApplication -OwningApplicationId 423poi45 -EnableAutoExpirationVersionTrim $false -ItemMajorVersionLimit 500 -ExpireVersionsAfterDays 180 ``` This example disables automatic trimming and sets a manual version policy. When `EnableAutoExpirationVersionTrim` is `$false`, both `ItemMajorVersionLimit` and `ExpireVersionsAfterDays` must be specified. -### Example 8 +### Example 7 ```powershell Set-SPOApplication -OwningApplicationId 423poi45 -ExpireVersionsAfterDays 365 -FileTypesForVersionExpiration "docx","xlsx" ``` This example applies the version-expiration policy to the specified file types. -### Example 9 +### Example 8 ```powershell Set-SPOApplication -OwningApplicationId 423poi45 -RemoveVersionExpirationFileTypeOverride "docx","xlsx" @@ -110,22 +102,6 @@ This example removes the file-type version-expiration overrides for the specifie ## PARAMETERS -### -CopilotEmbeddedChatHosts - -This parameter is used to add host URLs allowed to use the SharePoint Embedded application's declarative agent experience. This will always be a subset of permissible URLs set by the application's developer. To check the list of permissible URLs, use the `Get-SPOApplication` cmdlet. - -```yaml -Type: System.Collections.Generic.List`1[System.String] -Parameter Sets: (All) -Aliases: - -Required: False -Position: 3 -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -OverrideTenantSharingCapability This setting allows the application to independently set its sharing capabilities, overriding the tenant-level settings of SharePoint Online. Options: diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md index df50e6241..aebac7ed9 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md @@ -23,7 +23,6 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId [-DiscoverabilityDisab [-SharingRestricted ] [-ApplicationRedirectUrl ] [-WhoCanShareAnonymousAllowList ] [-WhoCanShareAuthenticatedGuestAllowList ] [-OverrideTenantWhoCanShareAnonymousAllowList ] [-OverrideTenantWhoCanShareAuthenticatedGuestAllowList ] - [-CopilotEmbeddedChatHosts ] [-AnonymousLinkExpirationInDays ] [-IsArchiveEnabled ] [-UseLegacyItemWebUrl ] [-WhatIf] [-Confirm] [] ``` @@ -77,26 +76,19 @@ Example 5 overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList` wi ### Example 6 -```powershell -Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com" -``` -This example sets the host URLs for the container type with Id 4f0af585-8dcc-0000-223d-661eb2c604e4. - -### Example 7 - ```powershell Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -IsArchiveEnabled $true ``` -Example 7 enables support for archive and reactivate actions on all the containers of ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4. +Example 6 enables support for archive and reactivate actions on all the containers of ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4. -### Example 8 +### Example 7 ```powershell Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -UseLegacyItemWebUrl $true ``` -Example 8 configures the containers of ContainerType ID 4f0af585-8dcc-0000-223d-661eb2c604e4 to temporarily continue using the legacy item WebUrl. +Example 7 configures the containers of ContainerType ID 4f0af585-8dcc-0000-223d-661eb2c604e4 to temporarily continue using the legacy item WebUrl. ## PARAMETERS @@ -151,21 +143,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -CopilotEmbeddedChatHosts -This parameter is used to add host URLs allowed to use the SharePoint Embedded application's declarative agent experience. - -```yaml -Type: System.Collections.Generic.List`1[System.String] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DiscoverabilityDisabled > Applicable: SharePoint Embedded