Get-PnPUnifiedGroupOwners
SYNOPSIS
Gets owners 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-PnPUnifiedGroupOwners -Identity $groupId
Retrieves all the owners of a specific Office 365 Group based on its ID
EXAMPLE 2
Get-PnPUnifiedGroupOwners -Identity $group
Retrieves all the owners of a specific Office 365 Group based on the group's object instance