List SharePoint Embedded containers with PowerShell

Hi All,
In this Blog Article i show you how to list the SharePoin Online Embedded containers.
SharePoint Online Admin Center
Let’s have a view in SharePoint Online Admin Center Active Containers
PowerShell
To use the Microsoft.Online.SharePoint.PowerShell in PowerShell 7 you need to use the Parameter -UseWindowsPowerShell in Import-Module.
#Import Sharepoint Online Powershell Module in Powershell 7
Import-Module Microsoft.Online.SharePoint.PowerShell -UseWindowsPowerShell -WarningAction SilentlyContinue
Connect-SPOService -Url https://icewolfch-admin.sharepoint.com
These are the ID’s of the two Container Types
"MicrosoftLoop" = "a187e399-0c36-4b98-8f04-1edc167a0996"
"MicrosoftDesigner" = "5e2795e3-ce8c-4cfb-b302-35fe5cd01597"
List Loop Containers
#Loop Containers
$SPOContainers = Get-SPOContainer -OwningApplicationId "a187e399-0c36-4b98-8f04-1edc167a0996" -Paged
List MicrosoftDesigner Containers
#MicrosoftDesigner Containers
$SPOContainers = Get-SPOContainer -OwningApplicationId "5e2795e3-ce8c-4cfb-b302-35fe5cd01597" -Paged
More Informationen
- Blog Article from Tobias Asböck Get all SharePoint Embedded containers with PowerShell
- Script on GitHubGet-TAAllSPEContainers.ps1
Regards
Andres Bohren