From d346a39ecfb5fd483bfbc009b0f96758bd5b6932 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 5 May 2025 14:46:28 -0700 Subject: [PATCH 1/8] Update Set-SPOContainerType.md --- .../sharepoint-online/Set-SPOContainerType.md | 33 ++++++++++++++++--- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md index b489adaef..8b2d470e9 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md @@ -14,26 +14,31 @@ ms.reviewer: ## SYNOPSIS -Sets or updates one or more property values of a trial or standard container type. +Sets or updates one or more property values of a trial, standard or a direct to customer billed container type. ## SYNTAX ### ParamSet1 ```powershell -Set-SPOContainerType -ContainerTypeId -OwningApplicationId -ContainerTypeName +Set-SPOContainerType -ContainerTypeId [-ContainerTypeName] [-WhatIf] [-Confirm] [] ``` ### ParamSet2 ```powershell -Set-SPOContainerType -ContainerTypeId -AzureSubscriptionId -ResourceGroup +Set-SPOContainerType -ContainerTypeId [[-AzureSubscriptionId] ] [-ResourceGroup] [-WhatIf] [-Confirm] [] +``` +### ParamSet3 +```powershell +Set-SPOContainerType -ContainerTypeId [-ApplicationRedirectUrl] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -This cmdlet is used to reset the parameters associated with a container type - both trial and standard. The cmdlet can be used to change the basic information of a container type such as container type name, owning application ID or the billing information of the container type. + +This cmdlet updates the existing property of a container type with the new value provided. The cmdlet can be used to change the basic information of a container type such as container type name or the billing information of the container type. You must be a SharePoint Embedded Administrator to run the cmdlet. -While you only need to be a SharePoint Embedded Administrator to change the basic information of a container type, you need owner or contributor access on the existing billing subscription associated with the container type and also on the new billing subscription, to change the billing information of the container type. +While you only need to be a SharePoint Embedded Administrator to set the basic information of a container type, you need owner or contributor access on the existing billing subscription associated with the container type and also on the new billing subscription, to change the billing information of the container type. List of parameters that cannot be updated includes container type ID and owning application ID. For permissions and the most current information about Windows PowerShell for SharePoint Embedded Containers, see the documentation at [Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell). @@ -67,6 +72,20 @@ In Example 3, the trial container type name is updated as 'Blue Container Type' ## PARAMETERS +### -ApplicationRedirectUrl +This parameter sets the application redirect Url for the container type. + +```yaml +Type: String +Parameter Sets: ApplicationRedirectUrl +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` ### -ContainerTypeName @@ -136,6 +155,10 @@ Default value: None Accept pipeline input: False Accept wildcard characters: False ``` + +### CommonParameters +This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-ProgressAction`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters). + ## RELATED LINKS [Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online) From 436b32a394684f37f2f8078b419238e0649c44ce Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 5 May 2025 15:05:33 -0700 Subject: [PATCH 2/8] Update Set-SPOContainerType.md --- .../sharepoint-online/Set-SPOContainerType.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md index 8b2d470e9..3ffb84966 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md @@ -87,6 +87,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ContainerTypeId +Use this parameter to enter the container type ID + +```yaml +Type: Guid +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ContainerTypeName This parameter names your container type for your SharePoint Embedded application. From 4f39ed8a2035c80ebbbdaef461834b5facb5f15f Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 5 May 2025 15:26:56 -0700 Subject: [PATCH 3/8] Update Set-SPOApplication.md --- .../sharepoint-ps/sharepoint-online/Set-SPOApplication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md index 98b67e74c..14161f0fd 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md @@ -83,7 +83,7 @@ This example sets the host URLs for the application with Id 423poi45. ### -CopilotEmbeddedChatHosts -This parameter is used to add host URLs allowed to use the SharePoint Embedded application's declarative agent experience. +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] From 8932cf23b9563c2b5c30d4baff55cf635e95be2a Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 6 May 2025 11:01:18 -0700 Subject: [PATCH 4/8] Update Set-SPOApplication.md --- .../sharepoint-ps/sharepoint-online/Set-SPOApplication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md index 14161f0fd..589f751ce 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md @@ -83,7 +83,7 @@ This example sets the host URLs for the application with Id 423poi45. ### -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. +This parameter is used to add host URLs allowed to use the SharePoint Embedded application's declarative agent experience. These URLs must always be a subset of the permissible URLs defined by the application's developer. To view the list of permissible URLs, use the `Get-SPOApplication` cmdlet. ```yaml Type: System.Collections.Generic.List`1[System.String] From eb7f6195314bce29e9bdd8a939448c11cd9f067f Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 12 May 2025 17:41:11 -0700 Subject: [PATCH 5/8] Update Set-SPOContainerType.md --- .../sharepoint-online/Set-SPOContainerType.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md index 3ffb84966..ba44bd888 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md @@ -21,15 +21,18 @@ Sets or updates one or more property values of a trial, standard or a direct to ### ParamSet1 ```powershell -Set-SPOContainerType -ContainerTypeId [-ContainerTypeName] [-WhatIf] [-Confirm] [] +Set-SPOContainerType -ContainerTypeId [-ContainerTypeName] [-WhatIf] [-Confirm] + [] ``` ### ParamSet2 ```powershell -Set-SPOContainerType -ContainerTypeId [[-AzureSubscriptionId] ] [-ResourceGroup] [-WhatIf] [-Confirm] [] +Set-SPOContainerType -ContainerTypeId [[-AzureSubscriptionId] ] [-ResourceGroup] + [-WhatIf] [-Confirm] [] ``` ### ParamSet3 ```powershell -Set-SPOContainerType -ContainerTypeId [-ApplicationRedirectUrl] [-WhatIf] [-Confirm] [] +Set-SPOContainerType -ContainerTypeId [-ApplicationRedirectUrl] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION From 34a5c368e9525e2106874570ab93d6f678bcbf57 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 12 May 2025 17:47:43 -0700 Subject: [PATCH 6/8] Update Set-SPOApplication.md --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md | 1 - 1 file changed, 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md index b0f58825a..38bfb2ec5 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md @@ -85,7 +85,6 @@ This example sets the host URLs for the application with Id 423poi45. 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) From ba56195db3eaf94f311ed29cf9b5e2e1bfd71910 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 12 May 2025 19:17:08 -0700 Subject: [PATCH 7/8] Update Set-SPOContainerType.md --- .../sharepoint-online/Set-SPOContainerType.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md index ba44bd888..642475641 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md @@ -18,19 +18,20 @@ Sets or updates one or more property values of a trial, standard or a direct to ## SYNTAX -### ParamSet1 - -```powershell +### ContainerTypeName +``` Set-SPOContainerType -ContainerTypeId [-ContainerTypeName] [-WhatIf] [-Confirm] [] ``` -### ParamSet2 -```powershell + +### AzureSubscriptionId +``` Set-SPOContainerType -ContainerTypeId [[-AzureSubscriptionId] ] [-ResourceGroup] [-WhatIf] [-Confirm] [] ``` -### ParamSet3 -```powershell + +### ApplicationRedirectUrl +``` Set-SPOContainerType -ContainerTypeId [-ApplicationRedirectUrl] [-WhatIf] [-Confirm] [] ``` From 405b2ddce434daf6e3748f4c6278c637ad08c4a0 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 12 May 2025 19:22:37 -0700 Subject: [PATCH 8/8] Update Set-SPOContainerType.md --- .../sharepoint-online/Set-SPOContainerType.md | 84 ++++++++++--------- 1 file changed, 46 insertions(+), 38 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md index 642475641..5b389a9fa 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerType.md @@ -11,13 +11,13 @@ ms.reviewer: --- # Set-SPOContainerType - + ## SYNOPSIS - + Sets or updates one or more property values of a trial, standard or a direct to customer billed container type. - + ## SYNTAX - + ### ContainerTypeName ``` Set-SPOContainerType -ContainerTypeId [-ContainerTypeName] [-WhatIf] [-Confirm] @@ -35,7 +35,7 @@ Set-SPOContainerType -ContainerTypeId [[-AzureSubscriptionId] ] [-R Set-SPOContainerType -ContainerTypeId [-ApplicationRedirectUrl] [-WhatIf] [-Confirm] [] ``` - + ## DESCRIPTION This cmdlet updates the existing property of a container type with the new value provided. The cmdlet can be used to change the basic information of a container type such as container type name or the billing information of the container type. @@ -46,8 +46,9 @@ While you only need to be a SharePoint Embedded Administrator to set the basic i For permissions and the most current information about Windows PowerShell for SharePoint Embedded Containers, see the documentation at [Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell). + ## EXAMPLES - + ### Example 1 ```powershell @@ -73,9 +74,8 @@ Set-SPOContainerType -ContainerTypeId 01f62754-0873-4ec6-ab4a-3eed48ba8be7 -Owni In Example 3, the trial container type name is updated as 'Blue Container Type' - ## PARAMETERS - + ### -ApplicationRedirectUrl This parameter sets the application redirect Url for the container type. @@ -91,47 +91,43 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ContainerTypeId -Use this parameter to enter the container type ID +### -AzureSubscriptionId +Use this parameter to set the Azure billing subscription ID you wish to attach to the container type. ```yaml Type: Guid -Parameter Sets: (All) +Parameter Sets: AzureSubscriptionId Aliases: -Required: True -Position: Named +Required: False +Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -ContainerTypeName - -This parameter names your container type for your SharePoint Embedded application. +### -Confirm +Prompts you for confirmation before running the cmdlet. ```yaml -Type: String +Type: SwitchParameter Parameter Sets: (All) -Aliases: -Applicable: SharePoint Online +Aliases: cf -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -OwningApplicationId - -This parameter specifies the ID of the SharePoint Embedded application. +### -ContainerTypeId +Use this parameter to enter the container type ID ```yaml -Type: String -Parameter Sets: +Type: Guid +Parameter Sets: (All) Aliases: -Applicable: SharePoint Online Required: True Position: Named @@ -140,33 +136,44 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -AzureSubscriptionId - -This parameter describes the Azure subscription ID to which the container type needs to be associated. +### -ContainerTypeName +Use this parameter to pass the conatiner type name you intend to use for the container type ```yaml Type: String -Parameter Sets: (All) +Parameter Sets: ContainerTypeName Aliases: -Applicable: SharePoint Online -Required: False -Position: Named +Required: True +Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` - ### -ResourceGroup - -This parameter describes the resource group to be used for the associated container type. +Use this parameter to set the Azure resource group of the associated Azure billing subscription you intend to attach to the container type. ```yaml Type: String -Parameter Sets: +Parameter Sets: AzureSubscriptionId Aliases: -Applicable: SharePoint Online + +Required: True +Position: 0 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi Required: False Position: Named @@ -187,3 +194,4 @@ This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVar [Get-SPOContainerType](./Get-SPOContainerType.md) [Remove-SPOContainerType](./Remove-SPOContainerType.md) +