Add group owner
BetaChanges data
Makes a person or app an owner of a Microsoft 365 or security group.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Microsoft Graph connection the step signs in with. |
| Group idRequired | text |
| Owner idRequired | The object id of a user or service principal. An owner is not a member: add them as a member too if they should take part in the group's team. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `microsoft-graph`) |
groupId | text |
ownerId | text |
Output
| Field | Type |
|---|---|
addedAdded by this run | boolean |
alreadyOwnerWas already an owner | boolean |
groupGroup id | string |
ownerOwner id | string |
Sample output, and the expression for each field
- addedtrue
- alreadyOwnerfalse
- group"1"
- owner"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>",
"ownerId": "<owner id>"
},
"label": "Add group owner",
"type": "graph.addGroupOwner",
"version": 1
}