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 / Corrupting Excel Attac...
Power Automate
Unanswered

Corrupting Excel Attachment

(0) ShareShare
ReportReport
Posted on by 2

I built this flow.  The creation of file works well.  My problem is the email sends a corrupted attachment.  

 

Am I supposed to use another get file after the file creation?  Any other ideas?  

 

Thanks 

mcasey_0-1703905496457.png

 

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @mcasey I think you need to run a Get File content and a Create File action again since you are running a script after you've created the file initially.

     

    creativeopinion_2-1704294619364.png

     

    You'll also want to ensure you are including an extension in the File Name field.

    creativeopinion_3-1704294684620.png

     

    For additional troubleshooting, check the created Excel file after it's initially created and after you've run the script to ensure there isn't any issues when creating the file from Power Automate. If you are still running into issues—try switching to the Classic Designer.. the New Designer still has a few bugs.

     

    For more flow troubleshooting tips—check out This YT Tutorial: 5 Power Automate Troubleshooting FAQs and Helpful Tips for Creating Better Flows

    In this tutorial I cover:

    ✅ How to troubleshoot a false Condition action result

    ✅ How to get dynamic content when it isn’t selectable from the list of dynamic content

    ✅ How to troubleshoot an Apply to Each action that isn’t looping through

    ✅ How to troubleshoot a skipped Apply to Each action

    ✅ How to troubleshoot a Filter Query

    ✅ How to use a SharePoint yes/no column in a Filter Query

    ✅ How to use Compose actions to troubleshoot a Power Automate flow

    ✅ How to troubleshoot multiple emails being sent

    ✅ How to troubleshoot multiple Teams messages being sent

     

    Tip: Rename your actions to keep your flow organized! This way you can easily tell which dynamic content belongs to which action when you are using it in your flow.

    creativeopinion_0-1704294534163.png

    creativeopinion_1-1704294556824.png

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard