Getting the attachment of a planner task can not be done directly in Power Automate,But it is possible by using this workaround.
This flow is also work for more than One attachment added with the task in Microsoft Planner.
1. Use a trigger (When a task is Completed)
- In Group Id and plan Id (Enter the static Value (November Planner in my case. See Attachments))
2.Use Action (Get task details) to get details of task which is completed.
-In TaskId (Enter Dynamic Content "Id" from above trigger i.e triggerOutputs()?['body/id']
3.Use Another Action (Select)
-In From Enter Dynamic content- "References" i.e outputs('Get_task_details')?['body/references'] and
-In Map- first click on the T symbol and then Enter Dynamic content-"Reference Alias" i.e item()?['value/alias']
4. Now, Use Apply To Each
In Apply to Each Use Action (Get File Content using Path)
-In 'select an output from previous step' - Use Dynamic output of Action "Select"
-Select Site Address (November planner in my Case) and
-In File Path use- /Shared Document/items('Apply_to_each')
Now you can Send mail of that attachment file using the Action (Send an email V2) action in apply to each or use that attachment file wherever you want.
Please see image attachment below for better understanding.
Did you like my post? Please give it a "thumbs up!"
Did I resolve your issue? Please click "Accept as Solution" to close the topic and so other members of the community can find solutions more easily.

