microsoft-graph-edu

Microsoft Graph API error “Required scp claim values are not provided”

我们两清 提交于 2019-12-24 10:38:57
问题 Given I'm logged in with MSSSO account; And the Read the organization's roster permission is set; When I call /education/me/classes endpoint; Then I get the 403 response with the code AccessDenied and the message Required scp claim values are not provided . What does the error mean? How do I fix it? { "aud": "https://graph.microsoft.com", "iss": "https://sts.windows.net/22d54f2b-1771-400c-8839-1b661d1d5270/", "iat": 1517909669, "nbf": 1517909669, "exp": 1517913569, "acr": "1", "aio":

Cannot fins EduRoster permissions on Azure portal

左心房为你撑大大i 提交于 2019-12-13 00:47:02
问题 I'm trying to use Education APIs which is now in beta . When I call: /education/me/classes I'm getting the error AccessDenied with the message Required scp claim values are not provided. The documentation says I need to set EduRoster permissions but I can't find anything similar in the Azure Portal (Azure Active Directory->Required permissions->Microsoft Graph) Could someone please help me to find them? Or maybe the error means something else? 回答1: Could someone please help me to find them?

Not possible to create class assignment when educationClass created via Graph

不羁岁月 提交于 2019-12-12 23:13:28
问题 I created 2 educationClass : educationClass with description Test100 created via Microsoft Graph educationClass with the description Test created by the Teams app. The educationclass Test100 is created using a POST to https://graph.microsoft.com/V1.0/education/classes with the following JSON object { "displayName": "Test100", "description": "Test100", "externalId": "3099", "mailNickName": "Test100-3099" } Teachers are added using a POST to https://graph.microsoft.com/V1.0/education/classes/ID

Adding Students with the API and Class Notebook

我只是一个虾纸丫 提交于 2019-12-11 05:34:20
问题 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