Admin grant consent for CLI tool accessing Graph API (Tasks)...
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.