POST https://graph.microsoft.com/v1.0/xxxxx.onmicrosoft.com/groups
Accept: application/json
Authorization: Bearer <TOKEN>
Content-Type: application/json; charset=utf-8
Content:
{"description": "UnifiedGroup",
"displayName": "UnifiedGroup",
"mailEnabled": false,
"mailNickname": "UnifiedGroup",
"securityEnabled": true
}
Above http
post
creates the group but the corresponding files or notebook is not created. I can see the following error
ERROR
Something happened We tried connecting all the pipes but it didn't work quite right. Refresh to try again.
Unified groups need to be created with groupTypes property containing "Unified" value. They also can't be security enabled. Please use the following request content to create the group:
{
"description": "UnifiedGroup",
"displayName": "UnifiedGroup",
"mailEnabled": false,
"mailNickname": "UnifiedGroup",
"securityEnabled": false,
"groupTypes" : [ "Unified" ]
}