Skip to main content

Group members

List a group's members (users, groups, devices): directly, or also the members of groups inside it (nested).

Command in the Microsoft 365 toolkit · id ooa.microsoft365/entra_group_members · 4 inputs (1 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoMicrosoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
GroupStringYesA group's object id, or its display name (must match one group).
NestedBooleanNofalseAlso the members of groups inside this group.
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.

Outputs​

OutputTypeWhat it is
tableTableColumns: id, type, name, user_principal_name.
countNumberHow many members.