Forum Discussion
ccarlso2
Apr 13, 2021Copper Contributor
Download All Tasks in All Plans
I'm trying to figure out a way to download all tasks in all plans in one time (preferably automated through Flow or if Microsoft Planner (online) has a quick tool that I'm unaware of). Every week, I ...
ChrisMendoza
Apr 23, 2021Iron Contributor
I would tend to worry about the https://docs.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations#request-limits-based-on-user-licenses (each action is a request ['each group' x 'each plan' x 'each task'] will add up quickly) and possibly a timeout on the Flow.
However, this is totally doable within Power Automate.
Basically you would need to use:
- https://docs.microsoft.com/en-us/connectors/office365groups/#list-groups-that-i-own-and-belong-to which will return 'Group ID'
- https://docs.microsoft.com/en-us/connectors/planner/#list-plans-for-a-group which will return 'Title' and 'ID' of the Plan
- https://docs.microsoft.com/en-us/connectors/planner/#list-tasks which will return task information
Essentially, you're creating a nested 'Apply_to_each' like below:
which results in:
- PF-GGFGApr 27, 2022Copper ContributorHi! When I put the apply to each, list plans it request the group ID. I'm a little confused on which value I should input there.