web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add Form Attachments t...
Power Automate
Unanswered

Add Form Attachments to Planner Task

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I am very new to Power Automate, but I was able to use Forms to build a flow that creates a task in Planner when a Form is submitted.  I am able to Update the Task Details with all the information I need except the files that the submitter added to the form.  Instead, those files are moved to a folder somewhere that is not easy to access.

 

How do I get the files submitted with the form added to the Planner Task?

Thanks,

Jacob

Categories:
  • rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    The attachments submitted in the form are stored in the OneDrive. 

     

    To copy the attachments from the MS Form, you can refer the following blog:

    https://www.bythedevs.com/post/working-with-files-on-ms-forms-in-ms-power-automate

     

    If you want to attach the attachments with the Planner Task, you can refer the following blog:

    https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Create-Planner-Task-and-Include-Attachments-From-Outlook-Email/ba-p/245121

    Note: The above blog save the attachments from email but you can ignore it and use the logic to create planner task and include attachments.

     

    Please let me know if you have any questions.

     

    Regards

    Krishna Rachakonda

    If my reply helps resolving the issue, please mark the reply as Accepted Solution

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Krishna, I appreciate the feedback. Unfortunately, I'm not understanding the coding well enough to decipher how to use these examples on a MS Form instead of an email.  Planner Tasks have a place to put attachments so I would really like the attachments from the Form to end up there instead of having to look them up in the OneDrive folder.  Can you help clarify the logic behind this flow so that I might be able to understand how to convert?  Thanks.

  • rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    I will create a sample and will share it with you shortly.

     

    Regards

    Krishna

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Was this solved? Is there an example with screenshots you can post? I'm also confused about this and am having trouble translating all this Outlook instruction to Forms attachments.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi tojzanc, My IT department figured it out for me.  I'll attach photos of the flow they used.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    jacobs1292_0-1595433526531.png

     

  • dm_elementwa Profile Picture
    58 on at

    After scraping through SO MANY FORUMS and watching a bucket load of YouTube videos I have FINALLY worked out the solution to this and its no where near as complicated as some people made it out to be.

    I am a novice to intermediate Power Automate user, so I'll try to keep this simple. I hope this helps someone! Took me 3 days to figure out.

     

    1. OK, so first you want to set up capturing the form responses as per usual and I also like to grab the profile of the user who submitted the request so I can use it later on in the flow. I then have it create an item in a Sharepoint List (which I made columns for all my form responses).

    Screen Shot 2020-10-14 at 10.34.03 am.png

     

    2. Add the "Parse JSON" step (this is where I got confused). The Content is the attachment form field and the Schema (to make life easier) you can just copy and paste the below:

     

    {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "name": {
     "type": "string"
     },
     "link": {
     "type": "string"
     },
     "id": {
     "type": "string"
     },
     "type": {},
     "size": {
     "type": "integer"
     },
     "referenceId": {
     "type": "string"
     },
     "driveId": {
     "type": "string"
     },
     "status": {
     "type": "integer"
     },
     "uploadSessionUrl": {}
     },
     "required": [
     "name",
     "link",
     "id",
     "type",
     "size",
     "referenceId",
     "driveId",
     "status",
     "uploadSessionUrl"
     ]
     }
    }

     

    Screen Shot 2020-10-14 at 10.46.54 am.png

     

    3. Next step is to add "Get File Content Using Path". (Don't worry about adding the Apply to Each, it will automatically apply this in a moment). Type in the file path to the OneDrive location. It will be /Apps/Microsoft Forms/***Form Folder Name Here***/Question/ then add the "name" dynamic content. It will automatically switch this to an Apply To Each step and apply the Body in the output section.

    In this step I have it update the attachment to the sharepoint item (not sure if this step is crucial to then adding it to Planner, but I did it anyway!)

    Screen Shot 2020-10-14 at 10.50.45 am.png

     

    4. Add your next step outside of the Apply To Each box which is to "Create a Task" in Planner. Then add a 1 minute delay following the creation of the task.

    Screen Shot 2020-10-14 at 10.59.48 am.png

     

    5. Now add an "Apply to Each" and within this step, "Update Task Details". Now the part where it adds attachments! The reference alias will be the 'name' of the file and the reference resource is the 'link'. No weird expressions, formulas or complicated code - these are dynamic content options that will appear for you in the list! 🙂 

    Screen Shot 2020-10-14 at 11.02.45 am.png

     

    EXAMPLE:

    Screen Shot 2020-10-14 at 11.06.47 am.png

    ***IMPORTANT*** If you require several people within your organisation to be able to access these attachments, you have to give them permission from the OneDrive folder to be able to view or edit these links!
    Open your OneDrive App in a browser and navigate to the Form folder. You'll want to grant access to the 'Question' folder for that form. Click on the more options (...) and select 'Manage access'. Then, where it says "Direct Access" click on the "+" icon and type in the group or individual email addresses of the people you would like to grant the access too. I gave them edit permissions, but I'm pretty sure view permissions work also.

    Screen Shot 2020-10-14 at 11.15.47 am.png

    Screen Shot 2020-10-14 at 11.16.16 am.png

     

    Now you're done! 🍾🥳

  • bobhancock Profile Picture
    3 on at

    Thank you for the step-by-step explanation, I just started with power automation and I think this saves me a few days of work.

    By the way: I omitted the sharepoint update step and it seems to work all the same.

     

  • dm_elementwa Profile Picture
    58 on at

    you're welcome! glad I could help someone and minimise days of searching 😉

  • juresti Profile Picture
    319 on at

    Hi,

     

    I've been trying to attach a file this way, except it links it instead.

     

    What does your link look like which causes it to attach instead of link?

     

    I don't see a way to attach it.

     

    Capture.PNG

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard