Share via

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 Security | Microsoft Graph
0 comments No comments

Answer accepted by question author

CarlZhao-MSFT 46,456 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.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.