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

Re: Add Attachment to SharePoint list item not working

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

Re: Add Attachment to SharePoint list item not working

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
Frequent Visitor

Re: Add Attachment to SharePoint list item not working

Hi 

 

 

 

 

 

 

 

 

pic flow 3.PNG

Highlighted
Advocate IV
Advocate IV

Re: Add Attachment to SharePoint list item not working

@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
Frequent Visitor

Re: Add Attachment to SharePoint list item not working

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

Re: Add Attachment to SharePoint list item not working

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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 (5,769)