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 / Excel file attachment ...
Power Automate
Answered

Excel file attachment in email issues

(0) ShareShare
ReportReport
Posted on by 2
I am receiving the following error message:
 
I receive this excel file in an email and have created the following flow, and am displaying the "Create File" parameters.
 
The issue I am having is the file is created and is placed in the appropriate folder, however the file is not able to be opened.  This is a file that is created daily and sent to me, and usually consists of 17kb, but the file that is placed in the folder is only registering 1kb.
 
Any suggestions?
 
Categories:
I have the same question (0)
  • Verified answer
    Kalathiya Profile Picture
    2,001 Super User 2026 Season 1 on at
    Hello @CU28011702-0
     
    Use “Get attachment content” action to get the actual attachment from the email, and then use that output in the “Create file” action. This way, the file will have the correct content and size.
     
    Get Attachment V2 Action:
    Message Id: @{triggerOutputs()?['body/id']} //Select the message Id from dynamic content selection
    Attachment Id: @{items('Apply_to_each')?['id']} //Select the attachment Id from dynamic content selection
     
     
     
    Create File Action:
    File Content: select the output from the Get Attachment action.
     
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!
     
     
     

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 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard