FlowmageDocs

Create group

BetaChanges data

Creates a Microsoft 365 or security group in your directory.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
Kind"unified" or "security"
NameRequiredtext
Mail aliasRequiredAt most 64 ASCII characters, without spaces or @ ( ) \ [ ] " ; : < > ,. A Microsoft 365 group's alias is unique in the organisation.
Descriptiontext
Visibility"" or "Private" or "Public"
OwnersUser 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.
MembersUser ids, comma-separated. Owners and members together: at most 20.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
kind"unified" or "security", by default "unified"
displayNametext
mailNicknametext
descriptiontext
visibility"" or "Private" or "Public"used when `kind` is "unified"
ownerstext
memberstext

Output

FieldType
idGroup idstring
groupobject
group.displayNamestring
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
}