SharePoint Online Management Shell: Get-SPOSiteGroup

In this blog you will see how to get all the groups from SharePoint Online site collection using Powershell.

Syntax:

Connect-SPOService -Url https://c986-admin.sharepoint.com/ -credential [email protected]

Get-SPOSiteGroup https://c986.sharepoint.com/

Result:

Returns all the groups from the specified site collection and its properties.

Output: