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 With Em...
Power Automate
Unanswered

Power Automate With Email Attachment

(0) ShareShare
ReportReport
Posted on by 106

I am creating a power automate to email an Excel spreadsheet. I am using the below setup.

 

1. Recurrence (daily at 6pm)

2. Get file metadata (Sharepoint)

3. Get file content (Sharepoint)

4. Send an Email (V2)

 

I receive the email but the attachment is corrupt. Any suggestions?

 

martzj_0-1704748813698.pngmartzj_1-1704748826226.pngmartzj_2-1704748846564.pngmartzj_3-1704748853382.png

 

Categories:
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @martzj 

    According to your description, you attachments is corrupt in your email .

    You need to check :
    (1)First , you need to put the File Name with extension , you need to check it in your run history:

    vyueyunmsft_0-1704763588804.png

    (2)You may just pass the "File Content" return by the "Getting File content using path" action:

    vyueyunmsft_1-1704763647081.png

    body('Get_file_content_using_path')

     

    If this reply can help you , you can click mark this reply as solution, thanks in advance!


    Best Regards,

    Yueyun Zhang

     

     

     

     

  • martzj Profile Picture
    106 on at

    I still get an error message when I open the document that it's corrupted.

     

    martzj_0-1704807286939.png

     

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @martzj 

    Can you try to remove the base64() function in your side  to test :

    vyueyunmsft_0-1704855312091.png

     

     

    If this reply can help you , you can click mark this reply as solution, thanks in advance!


    Best Regards,

    Yueyun Zhang

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard