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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate flow co...
Power Automate
Unanswered

Power Automate flow corrupting uploaded attachments for some users.

(0) ShareShare
ReportReport
Posted on by

Using flow to insert data and attachments from Power Apps web part to document library.  For some users, the flow is corrupting attachments when uploading, and when I try to open, I get this message: “Hmm… looks like this file doesn’t have a preview we can show you.”

 

In my Power App, here’s the code that I use to send to the flow:

ForAll(myUploadAttachment.Attachments,

    myUploadComposePAV2.Run(

        UploadTitleTextBox.Text,

        YearDropDown.Selected.Value,

        MonthDropDown.Selected.Value,

        CurrentUserTextBox.Text,

        {

            file: {

                contentBytes: Value,

                name: Name

            }

        }

    )

);

 

In my Power Automate flow, I have the following:

- PowerApps (V2):  List all my inputs.  Including “File Content”

- Create File: I have my Site Address, Folder Path, File Name = file.name, File Content= File Content

- Update file properties: I have my Site Address, Library Name, id = Itemid, Uploaded Title= UploadedTitle, Year Value = Year, Month Value = Month, Uploaded By: Uploaded By

- Respond to a PowerApp or flow

 

Again, the corruption is caused by some users, but not all.  

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard