Admin grant consent for CLI tool accessing Graph API (Tasks)...

Kit Plummer 1 Reputation point
2022-09-21T19:58:37.657+00:00

Heyo. Working on a Microsoft Hackathon 2022 project to create a CLI tool for accessing Microsoft To Dos. Running into an issue with the authorization and admin grant requirement, for when logging in with a Microsoft account.

According to the Graph API docs the Tasks.ReadWrite (and User.Read) interface should not require admin consent. But we get the "admin required" dialog when using a Microsoft account.

Anyone know what is going on here? Is it a configuration issue in the App registration, or maybe the OAuth2 code and token request process?

https://github.com/microsofthackathons/tdi is the project code.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,592 questions
0 comments No comments
{count} votes