From 21892667348dad0fd43cf47513af045ff455d237 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:03:00 +0530 Subject: [PATCH 1/9] Modify example for Add-SPOContainerTypeBilling Updated example command and explanation for Add-SPOContainerTypeBilling. --- .../Add-SPOContainerTypeBilling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md index df80531bb..2db05f8b2 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md @@ -38,10 +38,10 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Add-SPOContainerTypeBilling - ContainerTypeId aa1d89b3 -AzureSubscriptionId 5a8a4d9f -ResourceGroup "RG100" -Region "(US) East US" +Add-SPOContainerTypeBilling - ContainerTypeId b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US" ``` -Example 1 attaches the billing profile of Azure subscription ID "5a8a4d9f", resource group "RG100" and region "(US) East US" to the container type ID "aa1d89b3". +Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z3". ## PARAMETERS From 325ba4e5b53260f4d1cedef47ef4a0d8a568a5c6 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:08:54 +0530 Subject: [PATCH 2/9] Update Add-SPOContainerTypeBilling.md --- .../Add-SPOContainerTypeBilling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md index 2db05f8b2..948fa6fc6 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md @@ -38,10 +38,10 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Add-SPOContainerTypeBilling - ContainerTypeId b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US" +Add-SPOContainerTypeBilling - ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US" ``` -Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z3". +Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "1ea46f96-515c-49b5-bac5-002c33a5fa0e". ## PARAMETERS From 7eeb456d907c8112112f7600c108c935005b8afd Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:12:51 +0530 Subject: [PATCH 3/9] Modify example for Add-SPOContainerUser command Updated example command with a new container ID. --- .../Add-SPOContainerUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md index fed191355..667e5b035 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md @@ -41,7 +41,7 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Add-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Owner +Add-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName shras@contoso.com -Role Owner ``` Example 1 assigns the role of owner to user with User Principal Name "shras@contoso.com". From d7c9bde3a6d43f06dc1fae471e811881a7c81e3c Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:14:08 +0530 Subject: [PATCH 4/9] Fix ContainerId in Remove-SPOContainerUser example Updated the ContainerId in Example 1 to a new value. --- .../Remove-SPOContainerUser.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md index f35802066..df2da2d6e 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md @@ -39,10 +39,10 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Remove-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Owner +Remove-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName shras@contoso.com -Role Owner ``` -Example 1 removes the user with User Principal Name "shras@contoso.com" from the role of an owner of container whose ContainerId is 423poi45 . +Example 1 removes the user with User Principal Name "shras@contoso.com" from the role of an owner of container whose ContainerId is b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U . ## PARAMETERS From 2085a3b2b1682ef7236bf7f2953d61771e383282 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:14:59 +0530 Subject: [PATCH 5/9] Modify example for Set-SPOContainerUser command Updated example in Set-SPOContainerUser.md to use a new container ID. --- .../Set-SPOContainerUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md index e40cd99d1..96dc2d722 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md @@ -40,7 +40,7 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Set-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Manager +Set-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName shras@contoso.com -Role Manager ``` Example 1 reassigns the role of User Principal Name "shras@contoso.com" to manager. From ed267a45e105dc33aa8d177326645f9951608e35 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:21:33 +0530 Subject: [PATCH 6/9] Update Get-SPOContainer.md --- .../Get-SPOContainer.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md index e487a1587..2dad35d13 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md @@ -85,29 +85,29 @@ Example 1 returns the details of all the containers in the tenant. ### Example 2 ```powershell -Get-SPOContainer -Identity b66f5b2e +Get-SPOContainer -Identity b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U ``` -Example 2 returns the detailed properties of the Container with associated Container ID b66f5b2e. +Example 2 returns the detailed properties of the Container with associated Container ID b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U. ### Example 3 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf | ft ``` -Example 3 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45`. +Example 3 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `2ce03211-353e-45d7-b487-8ac6981332cf`. ### Example 4 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -Paged | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -Paged | ft ``` Example 4 uses the `-Paged` command to retrieve a paging token. ### Example 5 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -Paged -PagingToken | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -Paged -PagingToken | ft ``` Example 5 uses the `-PagingToken` parameter along with the `-Paged` parameter to view more containers that were not displayed in Example 3. @@ -115,7 +115,7 @@ Example 5 uses the `-PagingToken` parameter along with the `-Paged` parameter to ### Example 6 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending ``` Example 6 displays the containers belonging to the application, sorted in ascending order of storage. @@ -123,7 +123,7 @@ Example 6 displays the containers belonging to the application, sorted in ascend ### Example 7 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending -Paged +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending -Paged ``` Example 7 displays a paged view of the containers belonging to the application, sorted in ascending order of storage. @@ -131,7 +131,7 @@ Example 7 displays a paged view of the containers belonging to the application, ### Example 8 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45-as -SortByStorage Ascending -Paged -PagingToken +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending -Paged -PagingToken ``` Example 8 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage. @@ -139,7 +139,7 @@ Example 8 displays the next list of paged view of containers belonging to the ap ### Example 9 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -ArchiveStatus RecentlyArchived | ft ``` Example 9 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45. From e51eaf7d43f3c109d7120f68a54fe868b09d8fc5 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:24:15 +0530 Subject: [PATCH 7/9] Change ContainerTypeId in Get-SPOContainerType example Updated example in Get-SPOContainerType.md to reflect new ContainerTypeId. --- .../Get-SPOContainerType.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md index d22268f8e..a27d2f009 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md @@ -52,10 +52,10 @@ Example 1 retrieves all the container types present in the tenant and displays c ### Example 2 ```powershell -Get-SPOContainerType -ContainerTypeId 4f0af585 +Get-SPOContainerType -ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e ``` -Example 2 returns the detailed properties of container type 4f0af585. +Example 2 returns the detailed properties of container type 1ea46f96-515c-49b5-bac5-002c33a5fa0e. ## PARAMETERS From 1d0c8baa399efd1bec2af78f452f685f17a0f81a Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:29:22 +0530 Subject: [PATCH 8/9] Modify OwningApplicationId in cmdlet examples Updated OwningApplicationId values in examples for New-SPOContainerType. --- .../New-SPOContainerType.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md index e026106e5..89bb7a52a 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md @@ -35,7 +35,7 @@ You must be a SharePoint Embedded Administrator to run this cmdlet. ### Example 1 ```powershell -New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af +New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf ``` In Example 1, the cmdlet creates a new regular billed container type ContosoLegal. @@ -43,7 +43,7 @@ In Example 1, the cmdlet creates a new regular billed container type ContosoLega ### Example 2 ```powershell -New-SPOContainerType –IsPassThroughBilling –ContainerTypeName ContosoLegal -OwningApplicationId a735e4af +New-SPOContainerType –IsPassThroughBilling –ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332ed ``` In Example 2, the cmdlet creates a direct to customer billed container type ContosoLegal. @@ -51,7 +51,7 @@ In Example 2, the cmdlet creates a direct to customer billed container type Cont ### Example 3 ```powershell -New-SPOContainerType –TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af +New-SPOContainerType –TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332fl ``` In Example 3, the cmdlet creates a trial container type, ContosoLegal, valid for 30 days. @@ -59,7 +59,7 @@ In Example 3, the cmdlet creates a trial container type, ContosoLegal, valid for ### Example 4 ```powershell -New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af -GovernableByAdmin $false +New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -GovernableByAdmin $false ``` In Example 4, the cmdlet creates a standard container type, ContosoLegal that has opted out of management through Microsoft-enabled administrator platforms. From 2352ed3edc58bd4a77ade87b6a88df3f19098a57 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 13:59:16 +0530 Subject: [PATCH 9/9] Modify Example 6 with updated ContainerTypeId Updated the ContainerTypeId in Example 6 to include a new identifier. --- .../Set-SPOContainerTypeConfiguration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 91e780a03..6344015f5 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md @@ -78,9 +78,9 @@ Example 5 overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList` wi ### Example 6 ```powershell -Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com" +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. +This example sets the host URLs for the container type with Id 4f0af585-8dcc-0000-223d-661eb2c604e4. ## PARAMETERS