I'm trying to build a flow that filters for all files in a Sharepoint library within a certain date range, then pulls those files (using Get File Content), and then Create New File[s] in a different Sharepoint library. The flow fails during the Get File Content action, with a "File not found" error message. I'm thinking the issue might be the File Identifier field, but I tried using both File ID and Current Item from the dynamic field choices. What am I missing?
Below is my flow as built, followed by the error screen.
Error message after running flow:
Solved! Go to Solution.
Hi @MarcusD1
When you use the Get Files it retrieves the folder as well. So you need to check whether its a folder or not. Also you need Get file properties. Here is the flow you need.
If you need any more help please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @MarcusD1
When you use the Get Files it retrieves the folder as well. So you need to check whether its a folder or not. Also you need Get file properties. Here is the flow you need.
If you need any more help please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThis did the trick - thank you! That's interesting that the "get files" action grabs the folders as well - I didn't even consider that.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
66 | |
22 | |
16 | |
16 | |
11 |
User | Count |
---|---|
133 | |
44 | |
32 | |
32 | |
28 |