From 16098a67116a6172dd2c32b44b64877627461082 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Mon, 11 Aug 2025 10:30:17 +0530 Subject: [PATCH 1/7] Update Get-SPOContainer.md --- .../Get-SPOContainer.md | 62 +++++++++++++------ 1 file changed, 43 insertions(+), 19 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 74217ec53..30b2cecc2 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md @@ -18,27 +18,36 @@ Returns one or more containers in a SharePoint Embedded application. ## SYNTAX +### All (Default) +``` +Get-SPOContainer [-Identity ] [-Paged] [[-PagingToken] ] + [[-SortByStorage] ] [[-ArchiveStatus] ] + [-ProgressAction ] [] +``` + ### OwningApplicationId ``` -Get-SPOContainer [-OwningApplicationId] [-Paged] [[-PagingToken] ] [] +Get-SPOContainer [-OwningApplicationId] [-Paged] [[-PagingToken] ] + [-ProgressAction ] [] ``` + ### Sort ``` Get-SPOContainer [-OwningApplicationId] [-Paged] [[-PagingToken] ] [-SortByStorage] - [] + [-ProgressAction ] [] ``` ### Archive ``` Get-SPOContainer [-OwningApplicationId] [-Paged] [[-PagingToken] ] [[-SortByStorage] ] [-ArchiveStatus] - [] + [-ProgressAction ] [] ``` ### Identity ``` -Get-SPOContainer -Identity [] +Get-SPOContainer -Identity [-ProgressAction ] [] ``` ## DESCRIPTION @@ -53,70 +62,80 @@ For permissions and the most current information about Windows PowerShell for Sh > Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet. > The OwningApplicationId for Microsoft Loop is `a187e399-0c36-4b98-8f04-1edc167a0996`. > The OwningApplicationId for Microsoft Designer is `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`. +> The OwningApplicationId for Microsoft Teams Events VOD is `f574b137-eb91-46a0-8811-1a04d80c7ffa`. +> The OwningApplicationId for Microsoft Outlook Newsletters is `a6804318-a92d-4f36-b499-441033991274`. +> The OwningApplicationId for Microsoft Declarative Agent is `3FBEE041-E7D6-4F14-8826-6BF27F0A2849`. ## EXAMPLES ### Example 1 +```powershell +Get-SPOContainer +``` +Example 1 returns the details of all the containers in the tenant + +### Example 2 + ```powershell Get-SPOContainer -Identity b66f5b2e ``` -Example 1 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 b66f5b2e. -### Example 2 +### Example 3 ```powershell Get-SPOContainer -OwningApplicationId 423poi45 | ft ``` -Example 2 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 `423poi45`. -### Example 3 +### Example 4 ```powershell Get-SPOContainer -OwningApplicationId 423poi45 -Paged | ft ``` -Example 3 uses the `-Paged` command to retrieve a paging token. +Example 4 uses the `-Paged` command to retrieve a paging token. -### Example 4 +### Example 5 ```powershell Get-SPOContainer -OwningApplicationId 423poi45 -Paged -PagingToken | ft ``` -Example 4 uses the `-PagingToken` parameter along with the `-Paged` parameter to view more containers that were not displayed in Example 3. +Example 5 uses the `-PagingToken` parameter along with the `-Paged` parameter to view more containers that were not displayed in Example 3. -### Example 5 +### Example 6 ```powershell Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending ``` -Example 5 displays the containers belonging to the application, sorted in ascending order of storage. +Example 6 displays the containers belonging to the application, sorted in ascending order of storage. -### Example 6 +### Example 7 ```powershell Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending -Paged ``` -Example 6 displays a paged view of the the containers belonging to the application, sorted in ascending order of storage. +Example 7 displays a paged view of the the containers belonging to the application, sorted in ascending order of storage. -### Example 7 +### Example 8 ```powershell Get-SPOContainer -OwningApplicationId 423poi45-as -SortByStorage Ascending -Paged -PagingToken ``` -Example 7 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage. +Example 8 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage. -### Example 8 +### Example 9 ```powershell Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft ``` -Example 8 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45. +Example 9 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45. ## PARAMETERS @@ -219,6 +238,8 @@ Accept wildcard characters: False ### -SortByStorage +> Applicable: SharePoint Online + This parameter can be used when you need to see the list of containers, sorted by storage. ```yaml @@ -235,6 +256,9 @@ Accept wildcard characters: False ``` ### CommonParameters + +> Applicable: SharePoint Online + This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters). ## INPUTS From e77db3f052dd5f680b677af3be2e27d74bf1c317 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Wed, 20 Aug 2025 14:22:13 +0530 Subject: [PATCH 2/7] Update Get-SPOContainer.md --- .../Get-SPOContainer.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 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 30b2cecc2..c7bda43b1 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md @@ -60,11 +60,18 @@ For permissions and the most current information about Windows PowerShell for Sh > [!NOTE] > Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet. -> The OwningApplicationId for Microsoft Loop is `a187e399-0c36-4b98-8f04-1edc167a0996`. -> The OwningApplicationId for Microsoft Designer is `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`. -> The OwningApplicationId for Microsoft Teams Events VOD is `f574b137-eb91-46a0-8811-1a04d80c7ffa`. -> The OwningApplicationId for Microsoft Outlook Newsletters is `a6804318-a92d-4f36-b499-441033991274`. -> The OwningApplicationId for Microsoft Declarative Agent is `3FBEE041-E7D6-4F14-8826-6BF27F0A2849`. +> +> Use the following `OwningApplicationId` values to identify specific Microsoft applications: + + +| Application | OwningApplicationId | +|----------|----------| +| **Microsoft Loop** | `a187e399-0c36-4b98-8f04-1edc167a0996` | +| **Microsoft Designer** | `5e2795e3-ce8c-4cfb-b302-35fe5cd01597` | +| **Microsoft Teams Events Video on Demand** | `f574b137-eb91-46a0-8811-1a04d80c7ffa`| +| **Microsoft Outlook Newsletters** | `a6804318-a92d-4f36-b499-441033991274`| +| **Microsoft Declarative Agent** | `3FBEE041-E7D6-4F14-8826-6BF27F0A2849` | + ## EXAMPLES @@ -73,7 +80,7 @@ For permissions and the most current information about Windows PowerShell for Sh ```powershell Get-SPOContainer ``` -Example 1 returns the details of all the containers in the tenant +Example 1 returns the details of all the containers in the tenant. ### Example 2 From 140acb6b74a72b9513929650b1e9e386db06cf49 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:28:13 +0530 Subject: [PATCH 3/7] Update Microsoft.Online.SharePoint.PowerShell.md --- .../Microsoft.Online.SharePoint.PowerShell.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md index f5bbd67c7..79f4079d4 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md @@ -18,6 +18,10 @@ The following cmdlet references are for SharePoint Online. ### [Add-SPOContainerTypeBilling](Add-SPOContainerTypeBilling.md) Adds the mentioned billing profile details to a standard container type. +### [Add-SPOContainerUser](Add-SPOContainerUser.md) +Adds a user to a SharePoint Embedded container with a specified role. + + ### [Add-SPOContentSecurityPolicy](Add-SPOContentSecurityPolicy.md) Adds a source to the **Content Security Policy** configuration. @@ -489,6 +493,9 @@ Sends a Container to the Recycle Bin. ### [Remove-SPOContainerType](Remove-SPOContainerType.md) This cmdlet removes the container type specified from the tenant. +### [Remove-SPOContainerUser](Remove-SPOContainerUser.md) +This cmdlet removes the container type specified from the tenant. + ### [Remove-SPOContentEventEmailAddresses](Remove-SPOContentEventEmailAddresses.md) Removes the email addresses associated with the specified category of content event if they exist. Consequently, notification emails will no longer be sent to these addresses. @@ -666,6 +673,9 @@ Sets or updates one or more property values of a trial, standard or a direct to ### [Set-SPOContainerTypeConfiguration](Set-SPOContainerTypeConfiguration.md) Sets or updates the configuration settings of a container type in SharePoint Embedded. +### [Set-SPOContainerUser](Set-SPOContainerUser.md) +Reassigns a user from their current role to a new role within a SharePoint Embedded container. + ### [Set-SPOContentEventEmailAddresses](Set-SPOContentEventEmailAddresses.md) Adds the email addresses to the specified category of content event. Consequently, notification emails will be sent to these addresses. From 02ee7fd09d592ef0542f9ea490cf1bf3b85c9294 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:45:25 +0530 Subject: [PATCH 4/7] Update Get-SPOContainer.md --- .../Get-SPOContainer.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 c7bda43b1..3ff12d278 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md @@ -59,18 +59,19 @@ You must be a SharePoint Embedded Administrator to run this cmdlet. 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). > [!NOTE] -> Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet. +> You can't retrieve containers in the Recycle Bin using this cmdlet. > > Use the following `OwningApplicationId` values to identify specific Microsoft applications: | Application | OwningApplicationId | |----------|----------| -| **Microsoft Loop** | `a187e399-0c36-4b98-8f04-1edc167a0996` | +| **Microsoft Declarative Agent** | `3fbee041-e7d6-4f14-8826-6bf27f0a2849` | | **Microsoft Designer** | `5e2795e3-ce8c-4cfb-b302-35fe5cd01597` | -| **Microsoft Teams Events Video on Demand** | `f574b137-eb91-46a0-8811-1a04d80c7ffa`| +| **Microsoft Loop** | `a187e399-0c36-4b98-8f04-1edc167a0996` | | **Microsoft Outlook Newsletters** | `a6804318-a92d-4f36-b499-441033991274`| -| **Microsoft Declarative Agent** | `3FBEE041-E7D6-4F14-8826-6BF27F0A2849` | +| **Microsoft Teams Events Video on Demand** | `f574b137-eb91-46a0-8811-1a04d80c7ffa`| + ## EXAMPLES From a7cec5153bf874d6925e0ac55b4e95fff03d544c Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:52:51 +0530 Subject: [PATCH 5/7] Update Microsoft.Online.SharePoint.PowerShell.md --- .../Microsoft.Online.SharePoint.PowerShell.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md index 79f4079d4..f5bbd67c7 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md @@ -18,10 +18,6 @@ The following cmdlet references are for SharePoint Online. ### [Add-SPOContainerTypeBilling](Add-SPOContainerTypeBilling.md) Adds the mentioned billing profile details to a standard container type. -### [Add-SPOContainerUser](Add-SPOContainerUser.md) -Adds a user to a SharePoint Embedded container with a specified role. - - ### [Add-SPOContentSecurityPolicy](Add-SPOContentSecurityPolicy.md) Adds a source to the **Content Security Policy** configuration. @@ -493,9 +489,6 @@ Sends a Container to the Recycle Bin. ### [Remove-SPOContainerType](Remove-SPOContainerType.md) This cmdlet removes the container type specified from the tenant. -### [Remove-SPOContainerUser](Remove-SPOContainerUser.md) -This cmdlet removes the container type specified from the tenant. - ### [Remove-SPOContentEventEmailAddresses](Remove-SPOContentEventEmailAddresses.md) Removes the email addresses associated with the specified category of content event if they exist. Consequently, notification emails will no longer be sent to these addresses. @@ -673,9 +666,6 @@ Sets or updates one or more property values of a trial, standard or a direct to ### [Set-SPOContainerTypeConfiguration](Set-SPOContainerTypeConfiguration.md) Sets or updates the configuration settings of a container type in SharePoint Embedded. -### [Set-SPOContainerUser](Set-SPOContainerUser.md) -Reassigns a user from their current role to a new role within a SharePoint Embedded container. - ### [Set-SPOContentEventEmailAddresses](Set-SPOContentEventEmailAddresses.md) Adds the email addresses to the specified category of content event. Consequently, notification emails will be sent to these addresses. From cd2200874dc439837d6fcb146cbe471dac89c1b9 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:54:23 +0530 Subject: [PATCH 6/7] Update Get-SPOContainer.md --- .../Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md | 1 - 1 file changed, 1 deletion(-) 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 3ff12d278..c2e722084 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md @@ -73,7 +73,6 @@ For permissions and the most current information about Windows PowerShell for Sh | **Microsoft Teams Events Video on Demand** | `f574b137-eb91-46a0-8811-1a04d80c7ffa`| - ## EXAMPLES ### Example 1 From 292091cb2c04b3a85809da9ed790881a85cf2f05 Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Thu, 21 Aug 2025 21:13:01 +0530 Subject: [PATCH 7/7] spelling fix --- .../Get-SPOContainer.md | 6 +++--- 1 file changed, 3 insertions(+), 3 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 c2e722084..e487a1587 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md @@ -126,7 +126,7 @@ Example 6 displays the containers belonging to the application, sorted in ascend Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending -Paged ``` -Example 7 displays a paged view of the the containers belonging to the application, sorted in ascending order of storage. +Example 7 displays a paged view of the containers belonging to the application, sorted in ascending order of storage. ### Example 8 @@ -156,7 +156,7 @@ The ArchiveStatus parameter is used to display containers in various stages of a - RecentlyArchived – Displays containers in the "Recently archived" state. - FullyArchived – Displays containers in the "Fully archived" state. - Reactivating – Displays containers in the "Reactivating" state. -- NotArchived – Displays active containers +- NotArchived – Displays active containers. ```yaml Type: Microsoft.Online.SharePoint.TenantAdministration.SPContainerArchiveStatusFilterProperties @@ -229,7 +229,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -Use this parameter to provide the paging token to view the remaining containers as shown in Example 4. If there are no more containers to display, the cmdlet output will return the message `End of containers view.` Otherwise, use the given paging token to retrieve the next batch of up to 200 containers. For displaying the next set of archived containers, `-ArchiveStatus` paramter needs to be used along with this parameter. +Use this parameter to provide the paging token to view the remaining containers as shown in Example 4. If there are no more containers to display, the cmdlet output will return the message `End of containers view.` Otherwise, use the given paging token to retrieve the next batch of up to 200 containers. For displaying the next set of archived containers, `-ArchiveStatus` parameter needs to be used along with this parameter. ```yaml Type: System.String