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

Add Attachment to SharePoint list item not working

AddAttachments.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
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
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

SPTester
Frequent Visitor

Re: Add Attachment to SharePoint list item not working

Hi 

 

 

 

 

 

 

 

 

pic flow 3.PNG

pNabin 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

npatelAU
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
Jaystechtips 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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: 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!

sixthImage

Community Summit North America

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

Top Solution Authors
Users online (6,691)