I am trying to upload attachment from a Form in Teams to a SharePoint list. When I originally built the list, the Form was in my personal account and I could get everything to work! When I moved the Form to Teams, I could no longer get the attachment to upload. I removed all the OneDrive steps and replaced it with SharePoint steps. Here are my steps from after "Create Item in Sharepoint" (which works!)
1.Apply To Each step with the formula JSON(form attachment here)
2. Within the apply to each, I then have Get File Content (for sharepoint).
A. Site Address- my SharePoint site
B. File Identifier- formula item()?['id']
3. Add Attachment for SharePoint site
A. ID- Create Item (from earlier
B. File name- using dynamic content
C. File content- File Content from the previous step
When I run my flow, I get this error at the Get File Content step "Action 'Get_file_content_1' failed: File not found clientRequestId:"
I am an owner to the SharePoint site.
Any ideas why this is failing? It worked great when I was using the Form on my OneDrive!