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 / MS Forms with attachme...
Power Automate
Answered

MS Forms with attachments , send email with

(1) ShareShare
ReportReport
Posted on by 49

Hello guys,

 

I need to build simple flow:

 

When somebody filled in MS Forms with/without attachments (images) it automatically sent Email with/without attachaments

 

I did it by myself without attachments, and for attachments I found Rez Dorrani video on youtube (275) How to save Microsoft Forms Responses & Attachments to SharePoint Lists or Libraries & Send Email - YouTube

 

and more a less I copy / paste "attachments" section from video time 29:48

- I setup everything same and finally I checked comments and there is same issue NotFound so I changed section: Get file content using path to comments :

 

You are spot on. It does not work for certain file types. Here is the fix.
Use "get file content by path" SharePoint action. And for the path use the following expression: concat('YoursiteURL/Shared%20Documents/Apps/Microsoft%20Forms/Training%20Survey/Question/',item()?['name'])
YoursiteURL - Your SharePoint Site URL
Training%20Survey - Form Name

 

but still I have same issue File not found, but when I checked Log , File Path is correct and if I put it to web-browser, image is open, so I do not understand, where is issue ? 

 

flow_issue.png

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @MistrYpsilon 

     

    I did tested this and do the following steps. I can see why you getting 404 error.


    In Reza's video 32.03 it is using filePath item()?['link']


    Steps:

    Add a compose before the Get File content using path and use the expression
    item()?['link']

    Run the flow and check the flow history.

    When I checked my run history it showed the below link


    https://xxxxxx-my.sharepoint.com/personal/xxxx_xxx_xxxx_com/Documents/Apps/Microsoft%20Forms/Sports%20Survey%202022/Question/test.pdf


    You may notice that it is slightly different that your Standard SharePoint Connect Site Address.


    So under the 'Get File content using Path' > Site Address > click enter custom value and set the below address which is before the /Documents from the above URL

    https://xxxxxx-my.sharepoint.com/personal/xxxx_xxx_xxxx_com

    Next set File Path as expression item()?['link']

     

    Once it set the site address correctly (personal site address) its all working correctly.

     

    Hope it helps.

     

    Thanks

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @MistrYpsilon ,

     

    You just want to get MSform attachments and send them via email?
    I have another way to get MSform attachments for your reference.

    vdezhilimsft_3-1674026207992.png

     

    vdezhilimsft_1-1674026119631.png

    vdezhilimsft_2-1674026154872.png

    vdezhilimsft_4-1674026281217.png

    vdezhilimsft_5-1674026389330.png

    vdezhilimsft_6-1674026459539.png

    vdezhilimsft_7-1674026490612.png

     

    Best Regards,

    Dezhi

     

     

     

     

     

  • MistrYpsilon Profile Picture
    49 on at

    Hello @abm ,
    thanks but its not works for me, I still have same issue 

     

    when I putted "Compose" action before Apply to each and Inputs:  item()?['link'] (expression) save it ,run it , failed, when I open for edit again, this Inputs disappear and "Inputs" is empty (item()?['link'] (expression) missing )

     

    I am not doing it under my personal, but under environment and shared space

     

    Next set File Path as expression item()?['link'] I have it same I guess

     

    MistrYpsilon_0-1674035586878.png

     

     

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @MistrYpsilon ,

     

    Have you tried looking for these files in OneDrive?

    vdezhilimsft_0-1674035941122.png

     

    Best Regards,

    Dezhi

  • MistrYpsilon Profile Picture
    49 on at

    thanks for you input and time @v-dezhili-msft 

     

    but I have problem with "Get file content" 

     

    This operation violates admin data policy 'Global Standard Environment Policy', which restricts the use of business connector 'shared_microsoftforms' with non-business connector 'shared_onedriveforbusiness'.

  • MistrYpsilon Profile Picture
    49 on at

    @v-dezhili-msft 

    Yes I checked space: myURL/Shared%20Documents/Apps/Microsoft%20Forms/mySITE/Question/

    and all files are correct uploaded

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @MistrYpsilon 

     

     

    Could you please post  a screenshot?

     

    image.png

     

    Mappings are :

     

    @{body('Parse_JSON')} if you using the attachments via Parse JSON step

     

    or

     

    @{outputs('Get_response_details')?['body/r42736f8eb47c4d788b984cf528884b70']}

     

    Above change the value 'r42736f8eb47c4d788b984cf528884b70' accordingly. This is the reference from MS Forms question response

     

     

    @{items('Apply_to_each')['link']}

     

    You are not mapping correctly hence you getting the error.

     

    Thanks

    Thanks

  • MistrYpsilon Profile Picture
    49 on at

    @abm 

    screen here

     

    MistrYpsilon_0-1674043648063.png

     

     

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    That compose should be inside the apply to each and follow my earlier instructions.

     

    Thanks

  • MistrYpsilon Profile Picture
    49 on at

    @abm 

    I put it inside to Apply to each, but still issue

     

    MistrYpsilon_0-1674045528760.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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard