通过 Microsoft Graph 创建组 API 有效,但未为该组创建文件和笔记本
Create groups through Microsoft Graph API works but files and notebook not created for the group
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
}
以上 http
post
创建组但未创建相应的文件或笔记本。我可以看到以下错误
错误
Something happened We tried connecting all the pipes but it didn't
work quite right. Refresh to try again.
需要使用包含 "Unified" 值的 groupTypes 属性 创建统一组。它们也不能启用安全性。请使用以下请求内容创建群组:
{
"description": "UnifiedGroup",
"displayName": "UnifiedGroup",
"mailEnabled": false,
"mailNickname": "UnifiedGroup",
"securityEnabled": false,
"groupTypes" : [ "Unified" ]
}
corresponding files or notebook is not created.
这可能是因为没有创建相关的OneDrive for Business群组,这通常需要一段时间(最多24小时)。
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
}
以上 http
post
创建组但未创建相应的文件或笔记本。我可以看到以下错误
错误
Something happened We tried connecting all the pipes but it didn't work quite right. Refresh to try again.
需要使用包含 "Unified" 值的 groupTypes 属性 创建统一组。它们也不能启用安全性。请使用以下请求内容创建群组:
{
"description": "UnifiedGroup",
"displayName": "UnifiedGroup",
"mailEnabled": false,
"mailNickname": "UnifiedGroup",
"securityEnabled": false,
"groupTypes" : [ "Unified" ]
}
corresponding files or notebook is not created.
这可能是因为没有创建相关的OneDrive for Business群组,这通常需要一段时间(最多24小时)。