Skip to main content

Add to group

Make a user (or a group) a member of a group; nothing changes when it already is one.

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

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).
MemberStringYesThe user's object id or sign-in name, or another group's object id.
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.

Outputs​

OutputTypeWhat it is
addedBooleanTrue when it was added; false when it was a member already.