Skip to main content

Remove from group

Take a user (or a group) out of a group; nothing changes when it is not a member.

Command in the Microsoft 365 toolkit · id ooa.microsoft365/entra_remove_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
removedBooleanTrue when it was removed; false when it was not a member.