Microsoft Teams:所有者在通过 ms graph 添加后无法创建其他应用程序
Microsoft Teams: Owners cannot create additional Apps after being added via ms graph
我们在 Microsoft Teams 中存在以下错误:
通过 Graph API 添加到新创建组的所有者不能创建其他应用程序,例如 Microsoft Teams 中的 Planner。
创建组后,我们使用以下图形端点将所有者添加到组中。图形调用使用证书使用 azure 广告服务主体(azure 广告应用程序)进行身份验证。
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/group_post_owners
创建组后约 20 分钟添加所有者,如本文所述(等待 15 分钟 + 5 分钟 PNP 模板):
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/team_put_teams
If the group was created less than 15 minutes ago, it's possible for
the Create team call to fail with a 404 error code due to replication
delays. The recommended pattern is to retry the Create team call three
times, with a 10 second delay between calls.
如果将用户从群组中完全删除,然后通过前端重新添加(无论是 SharePoint、Teams 还是 Outlook),则不会再出现此问题。
我们可以随时重现问题。
错误信息
通过群组创建计划时出现以下错误:
e2141e79-10fe-4bcc-91dc-ff1990ad86f7
Date and Time: 05.11.2018
08:34:46 Planner Version: 16.0.11026.35000
附加数据:
租户编号:
1ca8bd94-3c97-4fc6-8955-bad266b43f0b
OwnerId:
1ca8bd94-3c97-4fc6-8955-bad266b43f0b
群组编号:
25fcf2d5-cecc-44b0-bd03-d6719389e446
响应Headers:
- cache-control:
私有,s-maxage=0
- content-length:
1233
- content-security-policy:
frame-ancestors 'none';
- content-type:
text/html
- 日期:
2018 年 11 月 6 日,星期二 08:28:15 GMT
- p3p:
CP="CAO DSP COR ADMa DEV CONi TELi CUR PSA PSD TAI IVDi OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR"
- 状态:
403
- strict-transport-security:
max-age=31536000; includeSubDomains
- x-aspnet-version:
4.0.30319
- x-aspnetmvc-version:
5.1
- x-content-type-选项:
鼻嗅
- x-correlationid:
aeaf0deb-4cab-4c67-a406-6ec6eb527ad0
- x-frame-options:
拒绝
- x-msedge-ref:
参考 A:368E038C7FA5468CA7805EB1C708B607 参考 B:AMS04EDGE0210 参考 C:2018-11-06T08:28:15Z
- x-officecluster:
neu-000.tasks.osi.office.net
- x-officefe:
TodoFrontEndBox_IN_6
- x-officeversion:
16.0.11026.35000
- x-powered-by:
ASP.NET
- x-proxycluster:
neu-000.tasks.osi.office.net
- x-proxyfe:
TodoFrontEndBox_IN_6
- x-proxyversion:
16.0.11026.35000
- x-usersessionid:
ece4e392-c1a8-4498-ae8d-aaf8ef99cf27
我猜您是所有者,但不是会员。 Planner 不支持 - 也将您自己添加到成员集合中。
我们在 Microsoft Teams 中存在以下错误:
通过 Graph API 添加到新创建组的所有者不能创建其他应用程序,例如 Microsoft Teams 中的 Planner。
创建组后,我们使用以下图形端点将所有者添加到组中。图形调用使用证书使用 azure 广告服务主体(azure 广告应用程序)进行身份验证。
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/group_post_owners
创建组后约 20 分钟添加所有者,如本文所述(等待 15 分钟 + 5 分钟 PNP 模板):
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/team_put_teams
If the group was created less than 15 minutes ago, it's possible for the Create team call to fail with a 404 error code due to replication delays. The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls.
如果将用户从群组中完全删除,然后通过前端重新添加(无论是 SharePoint、Teams 还是 Outlook),则不会再出现此问题。
我们可以随时重现问题。
错误信息
通过群组创建计划时出现以下错误:
e2141e79-10fe-4bcc-91dc-ff1990ad86f7
Date and Time: 05.11.2018
08:34:46 Planner Version: 16.0.11026.35000
附加数据:
租户编号: 1ca8bd94-3c97-4fc6-8955-bad266b43f0b
OwnerId: 1ca8bd94-3c97-4fc6-8955-bad266b43f0b
群组编号: 25fcf2d5-cecc-44b0-bd03-d6719389e446
响应Headers:
- cache-control: 私有,s-maxage=0
- content-length: 1233
- content-security-policy: frame-ancestors 'none';
- content-type: text/html
- 日期: 2018 年 11 月 6 日,星期二 08:28:15 GMT
- p3p: CP="CAO DSP COR ADMa DEV CONi TELi CUR PSA PSD TAI IVDi OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR"
- 状态: 403
- strict-transport-security: max-age=31536000; includeSubDomains
- x-aspnet-version: 4.0.30319
- x-aspnetmvc-version: 5.1
- x-content-type-选项: 鼻嗅
- x-correlationid: aeaf0deb-4cab-4c67-a406-6ec6eb527ad0
- x-frame-options: 拒绝
- x-msedge-ref: 参考 A:368E038C7FA5468CA7805EB1C708B607 参考 B:AMS04EDGE0210 参考 C:2018-11-06T08:28:15Z
- x-officecluster: neu-000.tasks.osi.office.net
- x-officefe: TodoFrontEndBox_IN_6
- x-officeversion: 16.0.11026.35000
- x-powered-by: ASP.NET
- x-proxycluster: neu-000.tasks.osi.office.net
- x-proxyfe: TodoFrontEndBox_IN_6
- x-proxyversion: 16.0.11026.35000
- x-usersessionid: ece4e392-c1a8-4498-ae8d-aaf8ef99cf27
我猜您是所有者,但不是会员。 Planner 不支持 - 也将您自己添加到成员集合中。