Get-EntraGroupPermissionGrant

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

Syntax

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.

Type:System.String
Aliases:Id
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Property

Specifies properties to be returned

Type:System.String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

Microsoft.Open.MSGraph.Model.GetMSGroupPermissionGrantsResponse