Create group
BetaChanges data
Creates a Microsoft 365 or security group in your directory.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Microsoft Graph connection the step signs in with. |
| Kind | "unified" or "security" |
| NameRequired | text |
| Mail aliasRequired | At most 64 ASCII characters, without spaces or @ ( ) \ [ ] " ; : < > ,. A Microsoft 365 group's alias is unique in the organisation. |
| Description | text |
| Visibility | "" or "Private" or "Public" |
| Owners | User ids, comma-separated. Name at least one: with this app's permission, a group without an owner is created anonymously and cannot be managed, and a Microsoft 365 group may get no SharePoint site. |
| Members | User ids, comma-separated. Owners and members together: at most 20. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `microsoft-graph`) |
kind | "unified" or "security", by default "unified" |
displayName | text |
mailNickname | text |
description | text |
visibility | "" or "Private" or "Public"used when `kind` is "unified" |
owners | text |
members | text |
Output
| Field | Type |
|---|---|
idGroup id | string |
group | object |
group.displayName | string |
Sample output, and the expression for each field
- group
- displayName"Operations"
- id"1"
- id"1"
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>",
"description": "",
"displayName": "<name>",
"kind": "unified",
"mailNickname": "<mail alias>",
"members": "",
"owners": "",
"visibility": ""
},
"label": "Create group",
"type": "graph.createGroup",
"version": 1
}