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 / 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

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 780

#2
Valantis Profile Picture

Valantis 668

#3
Haque Profile Picture

Haque 601

Last 30 days Overall leaderboard