I need to read the tasks in a Plan on a daily batch process. I am retreiving the Plan ID during registration process by delegated permissions and save this ID in the application's database. On the daily batch process I am trying to access this Plan's tasks using; https://graph.microsoft.com/v1.0/planner/plans/{Plan ID}/tasks
I am getting "401 - Unauthorized: Access is denied due to invalid credentials" error. I've got the following permissions in the screenshot below, am I missing the required one or is it not possible to access this service with Application type permission?
Application permissions are now supported.
Outdated Reply:
Application permissions are coming: https://devblogs.microsoft.com/microsoft365dev/announcing-updates-to-the-planner-api-in-microsoft-graph/
Before that is live as a workaround to your problem, you can create an account to act as a user for the application, and add that to the groups you are interested as a member.