user3202981
user3202981

Reputation: 13

Get (Planner) Plan details using Graph API and Flow

As a first step I am trying to get the details of a plan in my Planner. I have followed the instructions in the post nelow but I am still a bit stuck.

http://blogopaxio.azurewebsites.net/accessing-graph-api-from-microsoft-flow-using-application-permissions-2/

That seems to work, I can retrieve all my groups and even create a new group. So for example https://graph.microsoft.com/beta/groups?$orderby=displayName works just fine. My problems start when I am trying to get the details of a plan,

https://graph.microsoft.com/v1.0/planner/plans/{plan-id} works in Graph Explorer but fails in my flow with "Unauthorized" as the error. I am aware I can use the existing flow connector for this but my final objective is to create checklist items which are not yet supported. My understanding is that I need a second token somehow, is that doable with flow?

Upvotes: 1

Views: 1526

Answers (1)

Marc LaFleur
Marc LaFleur

Reputation: 33094

The Planner APIs do not support Application permissions, only Delegated. Since Flow runs headless, it isn't possible to work with Planner from Flow.

Upvotes: 3

Related Questions