creating classes with graph explorer for a Teams for education tenant

Chibu 46 Reputation points
2021-05-04T11:15:11.01+00:00

hello guys!,

I am faced with this issue, while using the graph API to create classes,
I consented to necessary permissions and tried using the graph explorer but keep getting this error.

I am trying to communicate with Microsoft teams for education using my enterprise application; getting, creating, updating and deleting, information (classes) data gotten from an AD -tenant with Team for education license.

Thanks in advance
93592-screenshot-5![93526-screenshot-61.png93604-screenshot-60.png5.png]1

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Diana Wanjuhi 1,376 Reputation points
    2021-05-05T14:21:11.907+00:00

    Hello @Chibu this error might indicate an issue with the permissions required to create a class. From the create class documentation, your application requires this permission: EduRoster.ReadWrite.All. You can check the permissions by clicking on the Access Token tab in Graph Explorer, then click on the {} which will open your token using jwt.ms. From there you can inspect the token and check the scp and confirm that this permission is present. If not, check your application on Azure AD and grant the permission. Please note that EduRoster.ReadWrite.All requires admin consent

    Let me know if this helps and if you have further questions,

    Diana.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.