cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rizwanmahfooz
Level: Powered On

Add Attachment to SharePoint list item not working

AddAttachments.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

SPTester
Level: Powered On

Re: Add Attachment to SharePoint list item not working

Hi 

 

 

 

 

 

 

 

 

pic flow 3.PNG

Highlighted
pNabin
Level 8

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

npatelAU
Level: Powered On

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.

Jaystechtips
Level: Powered On

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

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,886)