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

Cannot open attachments uploaded to sharepoint document library using flow

Hello

 

I'm trying to build a flow to upload attachments of emails sent to a mailbox to a SharePoint document library. The flow works as expected and uploaded email attachments to the designated library. However, when I try to open the documents that have been uploaded to the library I'm unable to preview them. I have tried to download the documents but then cannot open them as they are an unsupported document type. 

 

I've tested with Word, PowerPoint and PDF documents. 

 

Flow screenshotFlow screenshot

 

Above is a screenshot of the Flow I've built. Can anyone explain why I'm not able to open the attachments once they've been uploaded to the SharePoint document library?

 

Many thanks for your help,

Laura 

4 REPLIES 4
Highlighted
Post Prodigy
Post Prodigy

Re: Cannot open attachments uploaded to sharepoint document library using flow

Hi @leh0202 ,

 

Please add the extension of the file (.docx ,.pdf) explicitly at the end of File Name after your variable. 

 

Thanks

Highlighted
New Member

Re: Cannot open attachments uploaded to sharepoint document library using flow

Hello @ManishJain 

 

The document names do already include the document type (see below). Is this what you mean or do I need to include the extension of the file somewhere else too?

 

flow 2.png

 

Many thanks

Laura

Highlighted
Post Prodigy
Post Prodigy

Re: Cannot open attachments uploaded to sharepoint document library using flow

Highlighted
Community Support
Community Support

Re: Cannot open attachments uploaded to sharepoint document library using flow

 

Hi @leh0202 ,

 

Please try to create a new flow as follows:

22.PNG

In addition, please make sure that the source file of the attachment can be opened normally.

 

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
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (9,529)