question

HemanthAnnamraju-9574 avatar image
0 Votes"
HemanthAnnamraju-9574 asked CristobalBLopez-0719 answered

unable to access Microsoft Graph Assignment APIs

I am having issues accessing Assignment under Education using Microsoft Graphs API giving access denied even though we have gave all the required permissions. noticed that Under Application permission it requires one of the these permissions 91728-inkedcapture-li.jpg


. But under API Permission > Application Permission we actually have (EduAssignments.ReadBasic.All, EduAssignments.ReadWriteBasic.All, EduAssignments.Read.All, EduAssignments.ReadWrite.All)91753-microsoftteams-image.png

I am not sure whether this the issue here. Please advise . Thanks


office-teams-app-devmicrosoft-graph-teamworkmicrosoft-graph-education
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

  • Check the token and validate it in https://jwt.ms to see if you given user has necessary permissions/scopes/roles or not.

0 Votes 0 ·

We check this and we get what has been provided as per application consent, but the main problem is; DOCUMENTATION states for Application Consent following permissions required;

EduAssignments.ReadBasic, EduAssignments.ReadWriteBasic, EduAssignments.Read, EduAssignments.ReadWrite

But under Azure - Application consent section does not provide those; it only provides permissions which ends with .All - like shown above.

There is a discrepancy somewhere, and not sure who to contact to discuss.



0 Votes 0 ·

1 Answer

CristobalBLopez-0719 avatar image
1 Vote"
CristobalBLopez-0719 answered

Hi @hghghgbr

Documentation has been updated, please take a look.
The right permissions are the ones with .All ending.

Regards

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.