Planner Task ID

%3CLINGO-SUB%20id%3D%22lingo-sub-134068%22%20slang%3D%22en-US%22%3EPlanner%20Task%20ID%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-134068%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20where%20I%20work%2C%20we%20have%20this%20process%20when%20a%20computer%20breaks%20and%20we%20have%20bring%20it%20back%20to%20the%20tech%20office%2C%20it%20get's%20signed%20in%20that%20it%20was%20brought%20back.%20This%20information%20is%20put%20into%20a%20sharepoint%20list%20via%20a%20powerapp%20to%20make%20it%20easier%20for%20out%20workers.%20I%20just%20found%20out%20about%20Planner%20and%20I%20would%20like%20to%20be%20able%20to%20use%20a%20flow%20to%20then%20create%20a%20task%20in%20Planner%20for%20each%20of%20these%20computers%20that%20are%20signed%20in.%20I'm%20able%20to%20do%20that.%20The%20next%20step%20is%20when%20the%20computer%20is%20done%20being%20worked%20on%2C%20it%20is%20signed%20out%20(this%20is%20modified%20in%20the%20sharepoint%20list%2C%20and%20then%20the%20task%20would%20have%20to%20be%20updated%20as%20done.%20However%2C%20in%20order%20to%20do%20that%2C%20I%20need%20the%20task%20ID%20in%20order%20to%20update%20the%20task.%20What%20is%20this%20task%20ID%3F%20From%20my%20experience%20with%20flow%20and%20powerapp%2C%20the%20ID%20is%20usually%20the%20name%20of%20the%20sharepoint%20list%20column%2C%20user%2C%20bucket%2C%20etc.%20The%20name%20of%20the%20task%20doesn't%20seem%20to%20work%20as%20the%20flow%20fails%20and%20says%20it%20couldn't%20find%20the%20item%20or%20it%20says%20bad%20request.%20And%20I%20know%20if%20the%20name%20has%20a%20space%2C%20some%20extra%20characters%20appear%20in%20the%20ID%20instead%20of%20a%20space%2C%20and%20so%20I've%20tried%20it%20with%20tasks%20with%20no%20spaces.%20Anyone%20know%20what%20the%20task%20ID%20would%20be%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142403%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20Task%20ID%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142403%22%20slang%3D%22en-US%22%3ETake%20a%20look%20at%20this%3A%20%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FMicrosoft-Flow-Community-Blog%2FExtend-Microsoft-Flow-with-the-Microsoft-Graph-and-0-code%2Fba-p%2F61662%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FMicrosoft-Flow-Community-Blog%2FExtend-Microsoft-Flow-with-the-Microsoft-Graph-and-0-code%2Fba-p%2F61662%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142391%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20Task%20ID%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142391%22%20slang%3D%22en-US%22%3EOk%20I%20think%20I%20get%20it.%20And%20flow%20has%20a%20HTTP%20connector%20that%20looks%20like%20I%20can%20do%20this%20in.%20However%2C%20how%20do%20I%20get%20the%20token%3F%20I%20tried%20doing%20some%20research%20and%20everywhere%20I%20saw%20the%20token%20is%20another%20seemingly%20random%20series%20of%20characters.%20Or%20can%20I%20use%20another%20authentication%20method%20that%20allows%20me%20to%20specify%20my%20user%20and%20pass%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142331%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20Task%20ID%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142331%22%20slang%3D%22en-US%22%3EThe%20Microsoft%20Graph%20should%20provide%20(take%20a%20closer%20look%20at%20the%20documentation)%20the%20Task%20ID%20for%20all%20the%20Tasks%20in%20a%20Plan%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142313%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20Task%20ID%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142313%22%20slang%3D%22en-US%22%3E%3CP%3EI%20haven't%20figured%20it%20out%20yet.%20If%20I%20understand%20that%20link%20correctly%2C%20in%20the%20example%20it%20seems%20that%20the%20ID%20is%20%22xqQg5FS2LkCp935s-FIFm2QAFkHM%22%20If%20this%20is%20true%2C%20how%20do%20I%20get%20the%20Task%20ID%20for%20my%20tasks%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%20while%20attempting%20do%20this%20again%2C%20in%20flow%20using%20the%20connect%20%22Update%20a%20Task%22%20for%20planner%2C%20a%20Task%20ID%20shows%20which%20is%20the%20exact%20title%20of%20my%20personal%20task.%20This%20wasn't%20happening%20before%20so%20maybe%20there%20was%20an%20update.%20But%20unfortunately%2C%20this%20is%20only%20showing%20my%20personal%20tasks%2C%20not%20ones%20for%20the%20team%20I%20have.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142287%22%20slang%3D%22en-US%22%3ERe%3A%20Planner%20Task%20ID%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142287%22%20slang%3D%22en-US%22%3EHave%20you%20solve%20this%3FApparently%20the%20problem%20is%20just%20in%20the%20format%20you%20think%20the%20Task%20ID%20has%20that%20I%20think%20is%20not%20correct%20after%20reading%20some%20documentation%20about%20how%20the%20Microsoft%20Graph%20exposes%20Planner%20information.%20As%20an%20example%3A%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fapi-reference%2Fbeta%2Fapi%2Fplannerplan_list_tasks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fapi-reference%2Fbeta%2Fapi%2Fplannerplan_list_tasks%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello Everyone,

 

So where I work, we have this process when a computer breaks and we have bring it back to the tech office, it get's signed in that it was brought back. This information is put into a sharepoint list via a powerapp to make it easier for out workers. I just found out about Planner and I would like to be able to use a flow to then create a task in Planner for each of these computers that are signed in. I'm able to do that. The next step is when the computer is done being worked on, it is signed out (this is modified in the sharepoint list, and then the task would have to be updated as done. However, in order to do that, I need the task ID in order to update the task. What is this task ID? From my experience with flow and powerapp, the ID is usually the name of the sharepoint list column, user, bucket, etc. The name of the task doesn't seem to work as the flow fails and says it couldn't find the item or it says bad request. And I know if the name has a space, some extra characters appear in the ID instead of a space, and so I've tried it with tasks with no spaces. Anyone know what the task ID would be?

5 Replies
Highlighted
Have you solve this?Apparently the problem is just in the format you think the Task ID has that I think is not correct after reading some documentation about how the Microsoft Graph exposes Planner information. As an example: https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/plannerplan_list_tasks
Highlighted

I haven't figured it out yet. If I understand that link correctly, in the example it seems that the ID is "xqQg5FS2LkCp935s-FIFm2QAFkHM" If this is true, how do I get the Task ID for my tasks?

 

Also while attempting do this again, in flow using the connect "Update a Task" for planner, a Task ID shows which is the exact title of my personal task. This wasn't happening before so maybe there was an update. But unfortunately, this is only showing my personal tasks, not ones for the team I have.

Highlighted
The Microsoft Graph should provide (take a closer look at the documentation) the Task ID for all the Tasks in a Plan
Highlighted
Ok I think I get it. And flow has a HTTP connector that looks like I can do this in. However, how do I get the token? I tried doing some research and everywhere I saw the token is another seemingly random series of characters. Or can I use another authentication method that allows me to specify my user and pass