-
-
Notifications
You must be signed in to change notification settings - Fork 13
Get GraphGroupMember
Get members of a Security Group from Azure AD / Entra ID.
Get-GraphGroupMember [-Group] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Retrieves members of a Security Group from Azure AD / Entra ID based on the supplied GroupId.
Get-GraphGroupMember -Group "12345678-90ab-cdef-1234-567890abcdef"
This command retrieves the members of the Security Group with the specified ObjectId.
Get-GraphGroupMember -Group "FO-PPE-ENV-ADMINS"
This command retrieves the members of the Security Group with the specified display name starting with "FO-PPE-ENV-ADMINS". If multiple groups match, it will take the first one returned by Graph API.
The ObjectId of the Security Group in Azure AD / Entra ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)