How to Attach SharePoint Files to Planner Tasks via Power Automate
Question details
The user needs to attach actual SharePoint files, rather than generic folder links, to Microsoft Planner tasks using a Power Automate flow.

- Product
- Microsoft Power Automate
- Device & OS
- not provided
- Scenario
- Automating task creation in Microsoft Planner whenever new files are uploaded to a specific SharePoint document library.
- Observed behavior
- The Power Automate flow successfully creates the Planner task but only includes a link to the SharePoint folder instead of attaching the specific file directly.
Ensure you have active Microsoft 365 credentials and sufficient permissions in both your SharePoint site and Microsoft Planner workspace before modifying your Power Automate flows.
Use the Update Task Details Action in Power Automate
The standard 'Create a task' action does not support attachments directly. You must use a two-step flow process to add the file reference.
Microsoft Planner handles attachments as 'References' inside the task details. To attach a SharePoint file, your flow must first create the basic task and then use a secondary action to update that task with the file's specific metadata and link.
Add the 'Create a task' action in your Planner flow to generate the base task.
Use the 'Get file properties' action for SharePoint to extract the specific file's ID, Name, and Link to item.
Add the 'Update task details' action. Map the Task ID from the first step, and in the 'References' section, input the 'Link to item' and 'File name' retrieved from SharePoint.

Consult the Microsoft Power Automate Community
Since advanced flow configurations and platform limitations change frequently, seeking advice from official Microsoft engineers is highly recommended.
Looking for a Seamless Office Experience? Try WPS Office
While Power Automate and Planner handle complex automated workflows, sometimes you just need a reliable, lightweight suite to manage and share your documents without technical hassles. WPS Office provides an intuitive workspace that is highly compatible with Microsoft formats, completely free, and easy to use.
- 1. Download the software: Visit the official WPS website to download the free installation package for your operating system.
- 2. Open your files directly: Launch WPS Office and open your existing Microsoft Office documents without worrying about format loss or layout changes.
- 3. Share with ease: Use the built-in sharing tools to generate secure links for your colleagues, bypassing the need for complex automated folder linking.

Frequently Asked Questions
Can I attach a file directly in the 'Create a task' action in Power Automate?
No, the initial 'Create a task' action in Planner does not support direct file attachments. You must first create the task, then use the 'Update task details' action to add file references.
Why do my SharePoint files appear as folder links in Planner?
This typically happens if the flow maps the folder path variable instead of the specific file's item link. Ensure you are using 'Link to item' from the SharePoint dynamic content when updating the task.
Do SharePoint file links in Planner tasks require special permissions?
Yes, adding a file reference to a Planner task does not automatically grant access to the file. Anyone assigned to the task must also have the appropriate read or edit permissions in the source SharePoint site.
Where can I get official help for advanced Power Automate flows?
The Microsoft Power Automate Community is the best official resource where Microsoft specialists and engineers assist users with complex flow configurations, API limits, and platform updates.




