Requirement
This is another short blog on SharePoint Online .As I said previously, I just want to share my training experience on SharePoint 2013 and SharePoint Online. In this blog, I will show, how to get all available SharePoint Security Groups in a site of SharePoint online using PowerShell.
Syntax:
- Connect to SharePoint Online by using the following PowerShell command. It takes the URL of our tenant admin and a username. Then it will ask for password.
- Connect-SPOService -Url https:
- Get all user Group in the provided site:
- Get-SPOSiteGroup -Site https:
Output:
After running the above cmdlets, we will see get all available SharePoint Security Groups in a site of SharePoint online as shown in following figures.
Hope this post will help. Thank you.