cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Andrewlu81
Helper II
Helper II

Saving E-mail Attachment(pdf/excel/word document) in sharepoint, but latest it can't open in sharepint?

I setting autmate to auto save email attachment in sharepoint. before it is normal.

But from last Saturday, the saved attachment can't open in sharepint, it is display error( the wrong decode?)

Why? how to do ?

Andrewlu81_0-1655702509136.jpeg

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Andrewlu81 ,

 

Please try:

vbofengmsft_0-1655793003247.png

 

Best Regards,

Bof

 

View solution in original post

8 REPLIES 8
ekarim2020
Super User
Super User

Hi @Andrewlu81 ,

 

Which file type is affected? 

 

Is it only PDF files that you can no longer open after the flow has saved them to a SharePoint document library?

 

Or, are all files types affacted, and you are unable to open any files saved to the SharePoint document library by the flow?

 

See also: How to save email attachments to a SharePoint Document Library using Power Automate

 


Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

Hi @Andrewlu81 ,

 

Please try:

vbofengmsft_0-1655793003247.png

 

Best Regards,

Bof

 

When I build the flow before, the saving document were opened normally,

but now all document can't open(include before document which can be opened before). it like sharepoint issue.

I try use your methods!

Thanks!

All saved attachment can't be open, include .xlsx/.doxx/pdf/jpg etc.

Thank you reply!

I have many documents can't open which saved from E-mail attachment.

How to transform so that  the file can be open?

Thanks!

I want transform sharepoint file  which have saved but can't open.

1. read file content.

2. use base64toBinary(content) to create file, but it can't success.

Andrewlu81_0-1656049148967.png

 

Hi @Andrewlu81 ,

 

If you use the get file content then it is no need to use base64toBinary, just use the file content returned by 'get file content' directly .

 

Best Regards,

Bof

It looks not success.

Andrewlu81_0-1656055719579.png

Andrewlu81_1-1656055889742.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,609)