Table of Contents

Get-PnPGroupPermissions

SYNOPSIS

Returns the permissions for a specific SharePoint group

SYNTAX

Get-PnPGroupPermissions -Identity <GroupPipeBind> [-Connection <PnPConnection>]
 

DESCRIPTION

This command will return the permissions of a specific SharePoint group

EXAMPLES

EXAMPLE 1

Get-PnPGroupPermissions -Identity 'My Site Members'

Returns the permissions for the SharePoint group with the name 'My Site Members'

PARAMETERS

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Identity

SharePoint group name, id or instance to return the permissions for

Type: GroupPipeBind
Parameter Sets: (All)
Aliases: Name

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

Microsoft 365 Patterns and Practices