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 / Send Email V2 how to a...
Power Automate
Answered

Send Email V2 how to add attachment using file path

(0) ShareShare
ReportReport
Posted on by 54

Hi,

 

I'm having trouble adding attachment using file path to send an email (v2). Please help.

 

mjbaylon_1-1713941376383.png

 

mjbaylon_2-1713941461302.png

 

 

mjbaylon_0-1713941343695.png

 

Variable content:

mjbaylon_4-1713941654148.png

 

 

Error:

mjbaylon_3-1713941588599.png

 

I have the same question (0)
  • Verified answer
    VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @mjbaylon ,

     

    You have enabled Power Fx option while creating a new flow.

    Please Disable the Power Fx option and try Creating same flow it will work.

    VishnuReddy1997_0-1713941885013.png

     

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Vishnu Reddy

  • eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    Yeah it seems like its problem with Power Fx Convert file to binary data -action or the usage of its output value.
    Even if you try to just Set variable with the BinaryData output it gives the same error:

    eetuRobo_1-1713945391098.png

     

    So preview version bug for Power Fx most likely.

    I did find a way to do a simple work around with Run .NET script -action for anyone interested:

    eetuRobo_2-1713945447078.png

    And in the Edit script parameters window:

    eetuRobo_3-1713945472619.png

    So "filename" is the variable that has the file path. The direction is In since it takes that value in and the type is String.
    "bytes" is List type variable and direction is Out. And the Output variable I named to BinaryOut

    BinaryOut returns PAD a long list like so:

    eetuRobo_6-1713945677410.png

     


    Send an Email (V2) Attachment:

    eetuRobo_5-1713945585989.png

    So just use the output from the Run .Net Script action

    The whole flow:

    eetuRobo_7-1713946346626.png

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard