Feb 20 2018 12:00 AM
Is it possible to retrieve the task details using Graph API. I went through, in order to achieve this we need to follow iterate the Group ID followed by Plan ID then by Task Details.
If so, whether is possible to get it done in a single script where we need to key-in Planner Name as input and output should list out all the task details.
Through Graph Explorer, I can get it done . Whereas same if i try to iterate the loop in PowerShell IDE. It throws an error.
Feb 20 2018 05:13 PM
Hi Ponnarasu, you can have multiple Plans per Group - for example those you might create inside Teams - so you will always need to know the Plan to get the Tasks. You could certainly write a script to do something like that - and the code I use to find my 'template' in the cloning of a plan does precisely that - but it does need to iterate through the plans. https://blogs.msdn.microsoft.com/brismith/2017/04/17/planner-cloning-a-plan-with-multiple-assignment...
Best regards,
Brian