Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

 

  • s3135977 Profile Picture
    22 on at
    Re: Cant not open PDF after file create from email attachment

    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

  • Verified answer
    v-duann-msft Profile Picture
    on at
    Re: Cant not open PDF after file create from email attachment

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow