Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Renaming attachments in Sharepoint list

Hello everyone, I'm stuck with one problem. I have already read the solutions for this problem, and I get error everytime I start the flow.

Until now, this was the best solution: LINK TO SOLUTION

So the flow should go to for each loop and check every attachment and rename it, but in my case it renams only the first attachment, and then sends error that all have been renamed. Somehow it skips the for each loop and stays within first attachment.


2022-10-03 10_10_53-Ausführungsverlauf _ Power Automate.png2022_10_03_10_11_31_Abnahme_Elementeigenschaften.png


As in images above, I get only first attachment replaced, the second and third one stay unchanged.... I would be very grateful for any help. In images below is my flow


1st flow.png2nd flow.png

Community Support
Community Support

Hi @MomirG ,


It seems that the error occurs on the 'Add attachment' action.

Please provide the expression of its parameters.



Best Regards,


Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,122)