File Sharing Problems

How to Attach SharePoint Files to Planner Tasks via Power Automate

Anum MushtaqAnum Mushtaq Nov 4, 2026 870 views

Question details

The user needs to attach actual SharePoint files, rather than generic folder links, to Microsoft Planner tasks using a Power Automate flow.

How to Attach SharePoint Files to Planner Tasks in Power Automate
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.
Before you start

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.

Solution 1Recommended

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.

1
Initialize the task

Add the 'Create a task' action in your Planner flow to generate the base task.

2
Retrieve file metadata

Use the 'Get file properties' action for SharePoint to extract the specific file's ID, Name, and Link to item.

3
Update task details

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.

Use the Update Task Details Action in Power Automate
Reference Type: Ensure the reference type is set to 'Word', 'Excel', 'PowerPoint', or 'Other' depending on the file type you are attaching from SharePoint.
Free Microsoft Office alternative

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. 1. Download the software: Visit the official WPS website to download the free installation package for your operating system.
  2. 2. Open your files directly: Launch WPS Office and open your existing Microsoft Office documents without worrying about format loss or layout changes.
  3. 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.
Highly compatible with Microsoft Word, Excel, and PowerPoint file formats.Free, lightweight, and fast-loading compared to heavier enterprise productivity suites.All-in-one tabbed interface makes managing documents, PDFs, and spreadsheets seamless.Built-in file sharing and cloud collaboration features simplify workflows without complex automation.
microsoft office alternative - wps office

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.