cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Add Attachment to SharePoint list item not working

AddAttachments.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @rizwanmahfooz,

 

The error means that there is something wrong with input parameters in your “Add attachment” action.

I have made a test on my side and don’t have the issue that you mentioned. The flow works successfully as below:6.JPG

Please check if you fill proper File Name and File Content in “Add attachment” action.

 

Besides, please check if you have set Has Attachment and Include Attachments property to YES. The screenshot of trigger’s configuration as below:5.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
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

5 REPLIES 5
Highlighted
Community Support
Community Support

Hi @rizwanmahfooz,

 

The error means that there is something wrong with input parameters in your “Add attachment” action.

I have made a test on my side and don’t have the issue that you mentioned. The flow works successfully as below:6.JPG

Please check if you fill proper File Name and File Content in “Add attachment” action.

 

Besides, please check if you have set Has Attachment and Include Attachments property to YES. The screenshot of trigger’s configuration as below:5.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
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

Highlighted

Hi 

 

 

 

 

 

 

 

 

pic flow 3.PNG

Highlighted
Advocate IV
Advocate IV

@v-xida-msft @rizwanmahfooz,

I am able to attach all the files from Emails to SharePoint list item for most of the file types. For .txt file type, If I provide filename manually with .txt extension, it works otherwise it throws an error. Any ideas on how to resolve it?

2018-10-01_16-38-58.gif

Highlighted

Hi @v-xida-msft , 

I am having the same issue. can you please put the picture of the flow especially "Add attachment" part.

Highlighted
Advocate II
Advocate II

Hi @v-xida-msft 

I followed the flow described here, but instead of using email as trigger, i used Flow button to trigger the flow.

When the button is pressed, it will as for a file name and file to be uploaded to an SP list.

Flow Working.png

 

 

 

 

And i'm able to update the sharepoint item. However, I attached a PDF file, but when i opened the item it just shows the file without any file type. 

File type.pngAttachment in SP list.PNG

 

 

 

 

 

 

 

Is there an extra step i need to do to keep the same file type when I update an item with an attachment?

 

Many thanks!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (11,186)