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 / Cant not open PDF afte...
Power Automate
Answered

Cant not open PDF after file create from email attachment

(0) ShareShare
ReportReport
Posted on by 22

hi everyone i have created a flow, that grab any pdf attachment that is send to a sharedmailbox get upload (only the attach file) to sharepoint, the problem im getting at the moment is that the file that get uploaded i cant not open it, it say file has been corrupted

 

 

 

s3135977_1-1615960002109.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-duann-msft Profile Picture
    Microsoft Employee on at

    Hi @s3135977 

     

    Thank you for posting.

     

    According to your description, you are able to save PDF file from email but unable to open it from SharePoint. If any misunderstanding, please kindly let me know.

     

    If that’s the case, we should add ‘get attachment’ action before create file. If we extract property from ‘when an email arrived in shared mailbox’, we won’t get correct content and the file will always corrupt.

     

    Here is the flow for your reference:

    v-duann-msft_0-1615967612236.png

     

    Hope the content above may help you.

     

    Thanks

    Anna

  • s3135977 Profile Picture
    22 on at

    hi @v-duann-msft 

     

    it work!! thank you

     

    i have seen alot of example and they didnt use the get attachment action?

    in "File Content" get file what does it do?? i seen example people use attachment content or attachment

     

    thanks for the help again

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard