1

I'm using the Graph API to construct a simple Dashboard for Teachers and Students. Everything works well except that when a Student is added they do not get access to the Class Notebook and they don't get a Section Group for them created in the Class Notebook.

Notably, if I open the Class in Microsoft Teams and add or remove anyone from it then all of the users that have been added through the API get access and their section groups created correctly.

This behavior seems to happen both with .Education.Classes["..."].Members and Groups["..."].Members. The Members added this way also don't show up in the Teams "Manage Members" interface but I'm not concerned about that.

I'm using the v1.0 endpoint, and OneDrive and Sharepoint permissions all work as expected.

My question is do I have to do something extra to get the Class Notebook updated with the membership or are there some additional properties that need to be sent when adding a user or is this just a bug?

4

1 回答 1

1

课堂笔记本不会自动监视组成员身份。相反,添加成员的体验需要使用课堂笔记本 API 来进行匹配更新。

不幸的是,课堂笔记本 API 尚不能直接在 Microsoft 图形上使用,因此您必须切换到 OneNote API 端点(用它作为资源刷新您的令牌)并在那里进行调用。

这是您需要的 API

于 2018-11-27T20:40:47.017 回答