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 / Error - List plans for...
Power Automate
Unanswered

Error - List plans for a group

(0) ShareShare
ReportReport
Posted on by 49

Hi, 

 

I have got a flow, which lists all Planner Tasks, which I have created. The flow worked fine for months.
Since a few days, I become an error for the action 'list plans for a group'.

 

Normally, the flow worked very well. It lists all my plans for my speicific user ID.

The error message is: "You do not have the required permissions to access this item." 

 

Any solution for this?

Thanks.

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @KvD1995 

    Are you still a member of the group? Maybe you're not member of the group, so you can't access the Planner Tasks.

    Regards,

    Ferran

  • KvD1995 Profile Picture
    49 on at

    Yes, I am. I want to list all the plans for my ID.

    KvD1995_0-1618980977485.png

    The flow worked fine for months until the 16.04.2021.

  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @KvD1995 

    It seems you're passing as a parameter your personal ID, not the ID of the group. What is the idea of your flow? Getting all the tasks you have assigned? Or getting all the tasks you created?

    Regards,

    Ferran

  • KvD1995 Profile Picture
    49 on at

    Hi @fchopo

     

    the parameter with my personal ID worked fine for months.
    The flow lists all the tasks, which I have created in different plans, and send a daily list via mail.

    Screenshot below:

    KvD1995_0-1619001462558.png

     

  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @KvD1995 

    As I understand, you're using this action:

    plans-for-a-group.png

    And the official documentation about the action can be found here: Planner - Connectors | Microsoft Docs

    where you can read:

    list-plans-for-a-group.png

     

    So I'm really surprised it worked passing a user id as a parameter. since the action expects a Group ID.

     

    In order to get what you need, you should do something like this:

    1) Get the user id

    2) List the groups where the user belongs

    3) For each group, get the plans

    4) For each plan, get the tasks

    5) If the task is created by the user

    6) Add it to an array

    7) Create an HTML table from the array

    😎 Send it by email

    tasks01.pngtasks02.pngtasks03.png

     

    Hope it helps!

    Ferran

     

     

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard