Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Uploading attachments to a SharePoint list from a Teams form

(0) ShareShare
ReportReport
Posted on by 11
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!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard