Get-PnPUnifiedGroupMembers
SYNOPSIS
Gets members of a particular Office 365 Group (aka Unified Group). Requires the Azure Active Directory application permissions 'Group.Read.All' and 'User.Read.All'.
SYNTAX
DESCRIPTION
EXAMPLES
EXAMPLE 1
Get-PnPUnifiedGroupMembers -Identity $groupId
Retrieves all the members of a specific Office 365 Group based on its ID
EXAMPLE 2
Get-PnPUnifiedGroupMembers -Identity $group
Retrieves all the members of a specific Office 365 Group based on the group's object instance