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 / File Corrupted in the ...
Power Automate
Unanswered

File Corrupted in the automatic email sent when the Microsoft form is send

(0) ShareShare
ReportReport
Posted on by 4
Hello to whoever is reading this,
I know there are existing threads on this topic, but I have tried the suggested solutions, and they didn't work for me.
To give a brief summary: I created a Microsoft Form requiring several responses, with the option at the end to upload a file if needed (this is not mandatory).
Following this, I created a Power Automate flow to send an automated email containing all the responses to the appropriate recipient, based on the specific answers provided (I have attached a copy of the flow).
Within the conditional branch—specifically if a file is uploaded—the flow is designed to attach the file directly to the email after retrieving it from the SharePoint site associated with the Form and Power Automate.
Everything works correctly, except that the file attached to the email ends up being corrupted (regardless of the file type—whether .PDF, .Excel, etc.). I cannot figure out the reason for this; I have watched several tutorials where this process worked without any issues (and notably, the file saved in SharePoint itself is *not* corrupted).
Based on my flow configuration, do you have any idea why this might be happening?
Thank you for your help,
B.
Screen 2.png
Screen 1.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • chiaraalina Profile Picture
    2,023 Super User 2026 Season 1 on at
    Hi 
     
    Can you upload the screenshots directly?
     
    Thanks!
  • BL-20051815-0 Profile Picture
    4 on at
    Yes, I can do it this way no problem!
  • chiaraalina Profile Picture
    2,023 Super User 2026 Season 1 on at
     
    Where is the part where you create the file? It is blacked out.
     
    Do you have  a SharePoint - Get file content using path action somewhere?
  • BL-20051815-0 Profile Picture
    4 on at
    Sorry I missed this part!
    I am not creating a document ; rather, I am requesting that the file be retrieved from SharePoint and attached to the email.
    The file is uploaded via a Microsoft Forms questionnaire, and safter, a Power Automate flow retrieves that file from SharePoint and attaches it to the email.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 840

#2
Valantis Profile Picture

Valantis 661

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard