web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / planner GET-method per...
Power Automate
Unanswered

planner GET-method permissions

(0) ShareShare
ReportReport
Posted on by 81

Hi

 

I am currently trying to construct a button-flow that, based on an excel-table, creates tasks in Microsoft planner. The user that triggers the button then should have the opportunity to provide input, based on which the flow dynamically assigns the tasks to a specific group/plan/bucket within the planner.

From what I understand, group/plan/bucket have both an id and a name-attribute and only the group can be identified via its name. This means that in order for the flow to make use of the user input (which are the names and not the ids), I have to use the 'list plans for group' (respectively 'list buckets') action to receive the plan/bucket-items and as such get access to both their names and ids, compare the names to the user-input, thus resulting in the ids.

The problem I ran into is that I apparently do not have permission to perform those two GET-calls. This is confusing to me, as the planner API (https://docs.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0) lists the permissions in a way that suggests to me that if I can create tasks (which I can, I tried this separately without any dynamic input) then I must have a 'Group.ReadWrite.All'-permission and therefore should also have permission to 'list plans for group' respectively 'list buckets'.

Then again, I might be misinterpreting the way the permissions work, so I would be thankful for any information on what might be the cause for my issue.

 

Best & thanks in advance,

JP

Categories:
I have the same question (0)
  • Verified answer
    Rohit Sharma354 Profile Picture
    on at

    Hello,

     

    I would suggest going through the article below. This explains how to call graph API from Power Automate using Active Directory OAuth. 

     

    https://www.c-sharpcorner.com/article/calling-graph-api-from-power-automate-flow/

     

    Another test, you can do is calling the same API using Postman and verify if it works outside of flow. This will help you determinie the correct URI and authentication type to choose.

     

    Once you grant necessary permissions to Graph API on the Azure Active Directory app, then it should work and authenticate well.

     

    Hope this helps  !

     

     

     

     

  • JPMontoya Profile Picture
    81 on at

    Hi rohsh354

     

    Thanks for your input! This looks like it might indeed be the solution to my problem. My project is currently on a bit of an unclear path, so it is unsure whether I actually will end up having to use the planner or not. If I do, then this is looks like the way to go for sure.

     

    Thanks again, cheers,

    JP

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard