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 / UPDATE FILE TO REPLACE...
Power Automate
Unanswered

UPDATE FILE TO REPLACE EXCEL CONTENT

(0) ShareShare
ReportReport
Posted on by

New here, just to post this question

 

so, I have a flow with triggers "When a new Email arrives", from a certain user, with a certain string on subject and with attachments, if those conditions are met, next step is 

Update a file stored on a OneDrive location (not delete, not replace, just update)

 

both the attachment from the email and the target file on OneDrive are excel workbooks, with identical extensions

I have one flow that works beautifully... But I tried to reproduce it exactly for another process, and....

 

I am so annoyed!

the flow actually runs successfully and the file IS actually updated, BUT the result is an excel file with 3KB and unaccesible, I get the error "corrupted file etc etc " when I try to open the excel

the worst is that I reproduced the other working flow exactly, even copied it as template, but the second one just doesnt update the excel file correctly.

Any idea of why?

thanks

manuelm106_0-1633739738956.png

 

 

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @manuelm106 ,

     

    There may be email signature images which are included in your attachments.  Because they are usually images, you are also saving them as .xlsx hence why you cannot open the file.  You should add a condition to check for filename or file extension equals to .xlsx etc.  

     

    If you go to your flow history, you should see maybe the attachment loop running more than once.  The last attachment in the loop is the one causing the issue.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard