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 / 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:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    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
    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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard