Planner with Flow - issues with Group Id and Plan Id

%3CLINGO-SUB%20id%3D%22lingo-sub-790073%22%20slang%3D%22en-US%22%3EPlanner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-790073%22%20slang%3D%22en-US%22%3E%3CP%3EI%20try%20to%20use%20Flows%20to%20create%20a%20list%20of%20Planner%20tasks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20use%20a%20predefined%20template%20(i.e.%20%22Post%20messages%20to%20Microsoft%20Teams%20when%20a%20new%20task%20is%20created%20in%20Planner%22)%2C%20I%20can%20select%20the%20Plan%20Id%20in%20the%20Flow%20GUI.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20create%20a%20new%20flow%20and%20not%20use%20any%20template%2C%20selecting%20Planner%20and%20then%20%22List%20tasks%22%2C%20I%20am%20asked%20again%20for%20the%20%22Group%20Id%22%20and%20the%20%22Plan%20Id%22.%20However%2C%20now%20the%20pulldown%20menu%20is%20not%20populated%20with%20my%20existing%20Plans.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInstead%20I%20get%20%22Could%20not%20retrieve%20values.%20Insufficient%20privileges%20to%20complete%20the%20operation%22.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20632px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125751i3A4708B0D8329CB4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222019-08-06%2014_47_14-Create%20your%20flow%20_%20Microsoft%20Flow.png%22%20title%3D%222019-08-06%2014_47_14-Create%20your%20flow%20_%20Microsoft%20Flow.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20I%20miss%20something%20here%3F%3C%2FP%3E%3CP%3EHow%20do%20I%20teach%20Planner%20or%20Flows%20to%20find%20the%20Group%20Id's%20and%20the%20Plan%20Id's%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-794763%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-794763%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F273644%22%20target%3D%22_blank%22%3E%40DanHuber%3C%2FA%3E%2C%20AFAIK%20you%20need%20to%20be%20an%20admin%20to%20read%20the%20O365%20Group%20parameters.%20But%20the%20workaround%20is%20to%20manually%20enter%20the%20group%20id%20in%20the%20flow.%20The%20Plans%20will%20get%20listed%20once%20the%20group%20id%20is%20entered.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F126143i35A9A03D9D5DEBFB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_1.png%22%20title%3D%22clipboard_image_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-794803%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-794803%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1547%22%20target%3D%22_blank%22%3E%40Santhosh%20Balakrishnan%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EI%20can%20certainly%20work%20with%20the%20workaround%20described%20already%20above%20by%20%40v-litu-msft%26nbsp%3B%2C%20but%20I%20would%20expect%20that%20flows%20behaves%20consistently.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAgain%2C%20if%20I%20use%20flow%20templates%2C%20dropdowns%20are%20filled%20out%20with%20Group%20Id%20and%20Plan%20Id.%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20i%20create%20a%20flow%20from%20scratch%20with%20the%20same%20steps%20as%20in%20the%20templates%2C%20I%20get%20the%20access%20error%20message%20when%20trying%20to%20use%20the%20dropdowns.%20Look%20at%20my%20screenshots%20and%20the%20descriptions%20above%2C%20please.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20complete%3A%3C%2FP%3E%3CP%3EI%20am%20creator%2C%20owner%2C%20member%20of%20all%20plans.%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20I%20am%20global%20administrator%20of%20the%20complete%20tenant.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20doubt%20that%20there%20is%20a%20problem%20with%20permissions%20as%20such%2C%20but%20I%20have%20to%20assume%20there%20is%20a%20bug.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-812827%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-812827%22%20slang%3D%22en-US%22%3EAgree%20-%20I've%20run%20into%20this%20exact%20issue.%20Frustrating.%20Works%20from%20a%20template%2C%20but%20you%20can't%20create%20flows%20easily%20from%20scratch.%20I'm%20going%20to%20try%20the%20workaround%20(getting%20the%20ids%20from%20the%20url)%20tomorrow.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-839906%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-839906%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1547%22%20target%3D%22_blank%22%3E%40Santhosh%20Balakrishnan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20a%20new%20feature%3F%26nbsp%3B%20Previous%20tasks%20I%20have%20created%20did%20not%20require%20the%20group%20id.%26nbsp%3B%20I%20went%20to%20modify%20my%20Flow%20and%20add%20another%20task%20and%20now%20group%20id%20is%20stopping%20me.%26nbsp%3B%20I%20am%20a%20Global%20Admin.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-839951%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-839951%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F122747%22%20target%3D%22_blank%22%3E%40James%20Nelson%3C%2FA%3E%26nbsp%3Bthis%20change%20was%20introduced%20after%20Planner%20changed%20to%20accommodate%20multiple%20plans%20per%20group.%26nbsp%3B%20I%20think%20we%20are%20looking%20at%20the%20permissions%20issue%20reading%20Groups%20-%20but%20the%20GroupID%20from%20Url%20is%20a%20workaround%20I've%20used%20successfully.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EBrian%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-841282%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841282%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F68%22%20target%3D%22_blank%22%3E%40Brian%20Smith%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20Brian.%26nbsp%3B%20Makes%20sense.%26nbsp%3B%20I%20did%20grab%20the%20id%20from%20the%20URL%20and%20it%20worked%20fine%20so%20I'll%20adjust%20to%20it.%26nbsp%3B%20Just%20caught%20me%20off%20guard.%26nbsp%3B%20I'll%20look%20for%20the%20road%20map.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-844887%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20with%20Flow%20-%20issues%20with%20Group%20Id%20and%20Plan%20Id%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-844887%22%20slang%3D%22en-US%22%3E%3CP%3ESeems%20to%20me%20that%20the%20groupID%20in%20the%20URL%20is%20really%20the%20planID.%20I%20looked%20at%20two%20plans%20in%20the%20same%20group%20and%20they%20have%20different%20groupID's%20in%20the%20URL.%20You'd%20think%20they'd%20have%20the%20same%20groupID%2C%20no%3F%20Am%20I%20missing%20something%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

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".

2019-08-06 14_47_14-Create your flow _ Microsoft Flow.png

 

 

Do I miss something here?

How do I teach Planner or Flows to find the Group Id's and the Plan Id's?

 

Dan

 

 

6 Replies
Highlighted

@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. 

 

clipboard_image_1.png

Highlighted

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.

 

To complete:

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.

 

Dan

 

Highlighted
Agree - I've run into this exact issue. Frustrating. Works from a template, but you can't create flows easily from scratch. I'm going to try the workaround (getting the ids from the url) tomorrow.
Highlighted

@Santhosh Balakrishnan 

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.

Highlighted

@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.

Best regards,

Brian

Highlighted

@Brian Smith 

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.