cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
s3135977
New Member

Cant not open PDF after file create from email attachment

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-duann-msft
Community Support
Community Support

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

View solution in original post

2 REPLIES 2
v-duann-msft
Community Support
Community Support

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

View solution in original post

s3135977
New Member

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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,372)