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 / Attaching a file when ...
Power Automate
Answered

Attaching a file when sending from a Shared Mailbox (V2)

(0) ShareShare
ReportReport
Posted on by

I had built a flow sending an email with an attached file (PDF) using my own email address and this was OK. I needed to change it to sending from a shared mailbox, and now when I use 'File content' in the Attachments 'Content' and save, it defaults to 'base64' (below). The email arrives but the PDF won't open. Would this be due to where the files are saved in SharePoint? Thanks for any help.

Bonniedog2_0-1702939548883.png

 

Categories:
  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @Bonniedog2 ,

    It has nothing to do with where the file is stored in SharePoint.

    Please switch to classic designer.

    vyetonggumsft_7-1702948639655.png

    I have listed two situations. Which one do you need?

    1)Get the contents of files in multiple items:

    vyetonggumsft_0-1702948051023.png

    vyetonggumsft_4-1702948231504.png

    vyetonggumsft_5-1702948269866.png

     

    {
    "Name":FileName,
    "ContentBytes":FileContent
    }

     

    vyetonggumsft_8-1702948681149.png

    2_Get the contents of files in single item:

    vyetonggumsft_11-1702949137343.png

    vyetonggumsft_9-1702949053665.png

    vyetonggumsft_10-1702949067148.png

    If you still have questions, please post a complete screenshot of your flow.

    Best Regards,

    Sunshine Gu

  • Bonniedog2 Profile Picture
    on at

    Thanks Sunshine - working perfectly now. Wasn't aware of having to change back to classic.

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 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard