web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get attachment flow no...
Power Automate
Unanswered

Get attachment flow not working

(0) ShareShare
ReportReport
Posted on by 4
Hi, hoping I can get assistance with a flow which is attempting to move the attachments from 11 lists and save to a file on OneDrive. There seems to be an issue with the For Loop but I cannot work out the problem. I tried co-pilot but had trouble with changing the designer as it would not save due to the issue. Help most appreciated. 
Categories:
I have the same question (1)
  • VictorIvanidze Profile Picture
    13,058 on at
    Get attachment flow not working
     
    could you place here a screenshot of your flow and error message?
  • CU04110709-0 Profile Picture
    4 on at
    Get attachment flow not working
    Sure. Please see attached. 
     
    [Edited]
  • BabyBots Profile Picture
    243 on at
    Get attachment flow not working
    Are you getting the file content from the list and re-creating the file under Onedrive? List attachments are a little tricky as to moving a standard file that's already present in a document library. 

    For some reason, I am unable to import your flow. If you could add a screenshot I would be able to assist further!

    🚀 Automate. Optimize. Innovate. 🚀

    Helping businesses streamline workflows and maximize efficiency with Microsoft Power Platform. Let’s transform your processes and unlock new possibilities!

    Explore BabyBots.ai
  • CU04110709-0 Profile Picture
    4 on at
    Get attachment flow not working
    I receive this error when trying to save the flow: {"message":"Request failed with status code 400","name":"AxiosError","code":"ERR_BAD_REQUEST","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","accept-language":"en-US","x-ms-client-session-id":"762cd480-b97f-11f0-9635-b7e90b8ab578","x-ms-client-request-id":"977b70ac-fe2e-4ea3-af80-ed9b85936b26","authorization":""},"operationName":"PROCESSSIMPLE:PATCH/PROVIDERS/MICROSOFT.PROCESSSIMPLE/ENVIRONMENTS/FLOWS/","params":{"api-version":"1","$expand":"properties.connectionreferences.apidefinition,properties.definitionsummary.operations.apioperation,operationDefinition,plan,properties.throttleData,properties.estimatedsuspensiondata,properties.licenseData,properties.billingConte…
     
    screenshot attached. 
     
  • chiaraalina Profile Picture
    1,125 on at
    Get attachment flow not working
    Hi 
     
    Your goal is: You want the flow to automatically save attachments from SharePoint list items to OneDrive whenever an item is created or modified and this for 11 differenr lists, right?
     
    You have multiple “Get attachments” actions in one flow. One for each of your 11 lists.
    I think this is not the right approach for this use case.
     
    The better solution is: Create one flow per list.
     
    Trigger: When an item is created or modified (for that specific list)
     
    Actions: Get attachments, Get attachment content, Create file (OneDrive)
     
    Let me know if you want to try this and if need help with that!
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard