FlowmageDocs

Add group member

BetaChanges data

Adds a person, device or app to a Microsoft 365 or security group.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
Group idRequiredtext
Member idRequiredThe object id of a user, or for a security group also of a group, device or service principal. A Microsoft 365 group takes users only.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
groupIdtext
memberIdtext

Output

FieldType
addedAdded by this runboolean
alreadyMemberWas already a memberboolean
groupGroup idstring
memberMember idstring
Sample output, and the expression for each field
  • addedtrue
  • alreadyMemberfalse
  • group"1"
  • member"2"

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": "Add group member",
  "type": "graph.addGroupMember",
  "version": 1
}