Microsoft Graph Application - Get Planner Task Permissions

Luke Sloane-Bulger 81 Reputation points
2021-10-13T16:46:35.243+00:00

Hi,

I'm aiming to make an application that gets and lists our Microsoft Planner Tasks.

Looking at the "Get Planner Task" source here: https://learn.microsoft.com/en-us/graph/api/plannertask-get?view=graph-rest-1.0&tabs=http it states that the permissions under "Application" are "Not Supported"

I can see on Stack Overflow users have granted just granted the "Group.ReadWrite.All" as a workaround. What would be the least privileged permission I could use for this?

Note: I only need to get and read the planner and it's associated tasks, I don't need to perform any modifications to the tasks.

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

Accepted answer
  1. CarlZhao-MSFT 36,416 Reputation points
    2021-10-14T02:31:35.607+00:00

    Of course, it currently does not support application permissions. The least privileged permission to call this api is the Tasks.Read delegated permission. You can grant this permission for your application and grant the administrator's consent, and then you need to use the auth code flow based on user interaction login to obtain the token.

    140386-333.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful