Skip to content

New command: spo group list #1691

Description

@VelinGeorgiev

Usage

spo group list [options]

Description

Lists all the groups within specific web

Options

Option Description
-u, --webUrl <webUrl> Url of the web to list the group within
-o, --output [output] Output type. json,text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Example

Lists all the groups for web https://contoso.sharepoint.com/sites/mysite

spo group list --webUrl "https://contoso.sharepoint.com/sites/mysite"

Rest APIs reference

GET https://contoso.sharepoint.com/sites/mysite/_api/web/sitegroups

Additional Information

Get-PnPGroup -
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpgroup?view=sharepoint-ps

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions