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 / ERROR - Send email wit...
Power Automate
Answered

ERROR - Send email with attachment using Get file Content from Sharepoint

(0) ShareShare
ReportReport
Posted on by

I use 'Get File Content' and get file id from the sharepoint Library to use as attachment.

 

Than I 'Send Email' using what I got from above for the Attachment to the email.

 

I get an error 500 - Internal Server error and I can't figure out why.  Anyone can give me some directions where to look?

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi,

     

    I am trying to get files from 2 document libraries same way using get file content action. I wanted to give specific names to both files but its not working. I tried couple of things mentioned as below :

     

    1.  Attachments Name : abc.xlsx  xyz.docx

     

    2.  Attachments Name : abc.xlsx ; xyz.docx

     

    But its taking as a single file name. I dont know why?

     

    How to use get file content action multiple times and how to give file names in case with multiple attachments in email. Can anyone please help me?

  • Verified answer
    v-monli-msft Profile Picture
    on at

    Hi @dmark,

     

    You cannot use the file id in the File Identifier field. You need to whether fill with the Identifier dynamic content or pick the file from the dropdown list.

    Capture.PNG

     

     

    Just created a test flow and this worked for me:

    Capture.PNG

    Regards,

    Mona

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
David_MA Profile Picture

David_MA 258 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 205 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 204 Most Valuable Professional

Last 30 days Overall leaderboard