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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to move a file ...
Power Automate
Suggested Answer

Unable to move a file because ID is not being passed over from the filter

(1) ShareShare
ReportReport
Posted on by 2
Here there i have a flow that runs every one
 
Flow is
Recurrence (look good)

Get file (Properties Only)
Library is Docs
limit entries to folder i have assigned to the root folder I want this flow to run

I have a compose where i can see all the items from the folders, including the zip files with their ID in the code

Filter Array
I am using 
outputs('Get_files_(properties_only)')?['body/value']
this should read all the data from the Get file action
Filter Query 
and( not(empty(item()?['{FilenameWithExtension}'])), startsWith(item()?['{FilenameWithExtension}'], 'ZIP123'),
endsWith(item()?['{FilenameWithExtension}'], 'zip'), not(startsWith(item()?['{FilenameWithExtension}'], 'NOZIP123')),
not(startsWith(item()?['{FilenameWithExtension}'], 'NOPAZIP123')) )
 
i have a compose that returns the filtered items

Then there is an Apply to each the output is from previous step
body('filter array')

I am using a get file content
THIS is where i think the issue is.
I am unable to find a way to select the ID of the item that i need to move. 
i am using items('Apply to each') (current item)
which doesnt find the file ID to move.
using dynamic content there is not ID from the filter array


and the move file fails due to not being able to find the ID of the item

is this even possible with power automate, i am pretty new to the tool but surely there is something really dumb happening with the flow that i can not spot
 
Few screen shot that might help
get file content no id to be found for filter array

 
Filter array
filter query as expression
 
Does anyone have any idea on how this went wrong or what to try..
 
I have been talking to Copilot for about 7 hours and going round in circles now.
 
Apparently  the ID should be passed from the filter array to the apply to all.
 
 
Categories:
I have the same question (0)
  • Suggested answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at
    Hi
     
    Below is the identifier you need to use.
     
     
    Thanks

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard