Remove group member
BetaChanges data
Removes someone from a group while keeping their account in the directory.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Microsoft Graph connection the step signs in with. |
| Group idRequired | text |
| Member idRequired | The member's object id. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `microsoft-graph`) |
groupId | text |
memberId | text |
Output
| Field | Type |
|---|---|
removedRemoved by this run | boolean |
alreadyGoneWas no longer a member | boolean |
groupGroup id | string |
memberMember id | string |
Sample output, and the expression for each field
- alreadyGonefalse
- group"1"
- member"2"
- removedtrue
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"groupId": "<group id>",
"memberId": "<member id>"
},
"label": "Remove group member",
"type": "graph.removeGroupMember",
"version": 1
}