Microsoft Flow Move SharePoint list attachment to doc library

New Contributor

I am trying to move list attachment to document library when new list item is created or update. Have anyone done this before? I am getting 502 - Bad Gateway error while trying to move attachments using Move File action.

2 Replies

Not that I "like" this, just getting the same message! 

Hi @Nirav Patel,

You cannot use the Move File action in this scenario. The Move File action does exactly the same as the Move action in the ribbon of a SharePoint library or OneDrive for moving a file between these locations. This action does not work for list item attachments. 

In your scenario you can use the Create File action to create a new file with the contents of the list attachment. 

You could trie the copy file action, but I think that will get the samen result as the move file action.