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

Microsoft Flow Email Attachment Into SharePoint Document Library - File Extensions Type Error

Hi All,

 

I'm having issues with the Flow of saving email attachments into my SharePoint folder. It all works fine, however when the file is saved into SharePoint, the file has no extensions, and is corrupt.

 

For instance, the original file being sent in the original email is a PDF file, however when saved into SharePoint, has no extension defined and is corrupt. I've seen some suggestions to define the extension, however I do not want to limit the files saved as to only PDF files. I have previously managed to get it to work, where the PDF format was stated, however the file was still corrupt and could not be opened.

 

Any suggestions or anyone who has gotten through this would be great. 

 

Cheers

 

 

Flow1.JPG

The above flow runs fine, however below, the PDF file is saved without an extension. I have previously managed to get it to work, where the PDF format was stated, however the file was still corrupt and could not be opened.

sharepoint.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @kamac93 ,

 

Please try to add Attachment Name after string variable:

54.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @kamac93 ,

 

Please try to add Attachment Name after string variable:

54.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,626)