Jul 14 2023 06:54 AM
I am currently facing an issue while working on a Teams Widget that utilizes the Microsoft Graph API, specifically the Assignment API. My objective is to enable students and teachers to access and interact with assignments. However, I'm encountering a problem where I consistently receive a "needs admin approval" message when attempting to log in with either a student or a teacher account.
Here's the current setup I have in place:
To facilitate API access, I have created a new application and assigned it the necessary Education permissions as outlined in the Microsoft Graph API documentation.
Despite diligently following the documentation and granting the required permissions, I continue to encounter the "needs admin approval" message when attempting to log in using either the student or teacher account. Moreover, upon inspecting the accessToken, I noticed that the required permissions are not visible, indicating a potential issue with their assignment.
Is there something I have overlooked or an additional configuration step required to allow non-admin accounts to access the Assignment API without relying on admin approval?