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 / Onedrive Get File Cont...
Power Automate
Answered

Onedrive Get File Content not working with Microsoft Forms

(1) ShareShare
ReportReport
Posted on by 87

I have a flow that is triggered when a new Form is submitted and saves the response data in a Sharepoint list. The form has an attachment, so I need to get the attachment into Sharepoint. I followed the instructions here to use the Onedrive path to grab the attachment and then the Add Attachment, but it is not working. I get an error that the file does not exist. I am certain that the path is correct.

 

elbent_0-1715262857418.png

 

Here is the path to the file I am trying to get. To dynamically get the file name I am using the expression first(body('Parse_JSON'))?['name'] in place of the file name, and when I run the flow, below is the output of the get file content action. As you can see, the path is identical to the file path above.:

 

{
 "status": 400,
 "message": "The file id '/Apps/Microsoft Forms/Graphic Design Requests/Question/front-at-cleveland-public-library-5-of-31-1_Elizabeth Bentivegna.jpg' is not valid.",
 "source": "api.connectorp.svc.ms"
}

 

Oddly enough, I am doing this exact same thing in another flow with a different Form and it works perfectly. What am I doing wrong? Thanks.

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @elbent ,

     

    Please use get file content using path action.

    vxiaochenmsft_0-1715311346471.png

     

     

    Best Regards,

    Wearsky

  • elbent Profile Picture
    87 on at

    Thank you, this was the answer. Silly mistake on my part.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard