08-06-2019 05:49 AM
08-06-2019 05:49 AM
I try to use Flows to create a list of Planner tasks.
When I use a predefined template (i.e. "Post messages to Microsoft Teams when a new task is created in Planner"), I can select the Plan Id in the Flow GUI.
When I create a new flow and not use any template, selecting Planner and then "List tasks", I am asked again for the "Group Id" and the "Plan Id". However, now the pulldown menu is not populated with my existing Plans.
Instead I get "Could not retrieve values. Insufficient privileges to complete the operation".
Do I miss something here?
How do I teach Planner or Flows to find the Group Id's and the Plan Id's?
08-08-2019 02:04 AM
@DanHuber, AFAIK you need to be an admin to read the O365 Group parameters. But the workaround is to manually enter the group id in the flow. The Plans will get listed once the group id is entered.
08-08-2019 02:33 AM
Thanks @Santhosh Balakrishnan ,
I can certainly work with the workaround described already above by @v-litu-msft , but I would expect that flows behaves consistently.
Again, if I use flow templates, dropdowns are filled out with Group Id and Plan Id.
If i create a flow from scratch with the same steps as in the templates, I get the access error message when trying to use the dropdowns. Look at my screenshots and the descriptions above, please.
I am creator, owner, member of all plans.
And I am global administrator of the complete tenant.
I doubt that there is a problem with permissions as such, but I have to assume there is a bug.
08-20-2019 07:10 AM
09-05-2019 04:27 PM
Is this a new feature? Previous tasks I have created did not require the group id. I went to modify my Flow and add another task and now group id is stopping me. I am a Global Admin.
09-05-2019 05:50 PM
@James Nelson this change was introduced after Planner changed to accommodate multiple plans per group. I think we are looking at the permissions issue reading Groups - but the GroupID from Url is a workaround I've used successfully.
09-06-2019 09:45 AM
Thanks Brian. Makes sense. I did grab the id from the URL and it worked fine so I'll adjust to it. Just caught me off guard. I'll look for the road map.