List and manage SharePoint site collections created for groups

3.2K 0

As an admin looking after an Office 365 tenant, you may have noticed that you don’t see (yet) the SharePoint site collections that are created for Office 365 Groups in the SharePoint admin center. There are probably a few good reasons for this e.g to prevent an unwanted deletion of this site collection. However, with a few clever (pnp) PowerShell cmdlets you can still list and manage those “hidden” site collections.

To use the Office-PnP PowerShell cmdlets you can install them from the PowerShell module gallery. To do so, start PowerShell as an administrator and type

Install-Module SharePointPnPPowerShellOnline

Now you’re all set to use the PnP PowerShell cmdlets.

Now you can connect to your O365 tenant. Important is to request permissions to read (and optionally write) all groups.

Connect-PnPOnline -Scopes @("Group.ReadWrite.All")

Now finally you can request a list of all groups.


This is just the tip of the iceberg. You can manage groups using other cmdlets such as

Facebook Comments