cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MJKjoachim
Advocate II
Advocate II

Retrieve attached file from Microsoft forms

Hi,

 

I am trying to retrieve attached file content and information from a Microsoft forms.

 

I followed the detailed information on that website https://www.bythedevs.com/post/working-with-files-on-ms-forms-in-ms-power-automate .


Although I did copy and paste the schema code shown on the example, unfortunately my flow doesn't work fine and stay blocked at "Parse Json" step.

MJKjoachim_0-1594095084169.png

 

 

I also fill in "Content" textbox with the Dynamic content of forms question which have the file.

 

Anyone have an idea how to fix this ?

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @MJKjoachim,

 

Please refer to this post with the same desire, it could help you:

https://powerusers.microsoft.com/t5/Building-Flows/Working-with-files-from-the-Forms-quot-File-Uploa...

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Rahber
Solution Sage
Solution Sage

Try to do this.

Take the input in the ParseJson action in run mode and then go to edit mode. Edit your parse JSON action and click on create schema from sample and enter the input you copied above to re-generate the correct schema.

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,

Rahber

v-litu-msft
Community Support
Community Support

Hi @MJKjoachim,

 

Please refer to this post with the same desire, it could help you:

https://powerusers.microsoft.com/t5/Building-Flows/Working-with-files-from-the-Forms-quot-File-Uploa...

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dear Rahber,

 

Thank you for your help.

I am not sure to fully understand what to do.

What I did : 
From a failed run result, I copied the Parse Json input schema

MJKjoachim_0-1594107663034.png

Then Edit the flow, open Parse Json and enter the copied text in "Generate from sample".

I don't understand really what it will change as it is the same text ?

I tried but same error text came out.

Thanks,

Joachim

Dear all,

@v-litu-msft , @Rahber , thanks for your help.

I finally could managed to run flow as expected.

Mainly, it must not forget to use "json()" in a specific step (Create Json information in my case).

MJKjoachim_0-1594650248185.png

 

In last step, i do this :

MJKjoachim_1-1594650327022.png

Delete file step, is just to remove the file on my onedrive when it has been saved on my Sharepoint list as attachement.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,306)