Edit

Share via


Get-EntraGroupPermissionGrant

Retrieves a list of permission grants consented to for a group.

Syntax

Default (Default)

Get-EntraGroupPermissionGrant

    -GroupId <String>
    [-Property <String[]>]
    [<CommonParameters>]

Description

Retrieves a list of permission grants consented to for a group.

Examples

Example 1: List existing permission grants for the group

Connect-Entra -Scopes 'GroupMember.Read.All'
Get-EntraGroupPermissionGrant -GroupId 'CcDdEeFfGgHhIiJjKkLlMmNnOoPpQq3'
Id             : CcDdEeFfGgHhIiJjKkLlMmNnOoPpQq3
ClientId       : 00001111-aaaa-2222-bbbb-3333cccc4444
ClientAppId    : 44445555-eeee-6666-ffff-7777aaaa8888
ResourceAppId  : bbbb1111-cc22-3333-44dd-555555eeeeee
PermissionType : Application
Permission     : Member.Read.Group

This cmdlet list existing permission grants for the specified group.

Parameters

-GroupId

The unique identifier of group.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Id

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-Property

Specifies properties to be returned

Parameter properties

Type:

System.String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:Select

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

Microsoft.Open.MSGraph.Model.GetMSGroupPermissionGrantsResponse