简体   繁体   中英

Assignment screen disabled for Teams created via Microsoft Graph

When I create a Team (they are of the type Class for Teachers and Students) using the Microsoft Graph Education APIs, the Team appears in the Microsoft Teams app and the Assignment tab is visible.

When I try to create a new assignment in the Teams app, the screen for creating an assignment is disabled, so it's not possible to create new assignments for any Team created via the API.

Am I doing something wrong?

Team created through the API (controls are disabled, no save and delete controls):

在此处输入图片说明

Teams created through the Teams app (controls are enabled):

在此处输入图片说明

Workflow:

  1. I create a Team via POST https://graph.microsoft.com/V1.0/education/classes with the body of:

     { "displayName": "Test2", "description": "Test2", "classCode": "Test2", "externalId": "2", "externalName": "Test2", "externalSource": "sis", "mailNickName": "Test2_2", "term": { "displayName": "Term2", "externalID": "2", "startDate": "2017-09-01", "endDate": "2019-08-31" } }

    (also tried with "externalSource":"manual" )

  2. Add a Teacher using POST https://graph.microsoft.com/V1.0/education/classes/{id}/teachers/$ref with a body of

    { "@odata.id": "https://graph.microsoft.com/V1.0/education/users/{id}" }
  3. Add a Student using POST https://graph.microsoft.com/V1.0/education/classes/{id}/members/$ref with a body of:

     { "@odata.id": "https://graph.microsoft.com/V1.0/education/users/{id}" }

All of these calls are successful and the Team shows up in the Teams app. The Assignment tab also shows up, so the Team is an Education Team.

这是一个已知错误 - 修复程序于 2018 年 9 月 3 日部署。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM