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 / Delete Oldest Files if...
Power Automate
Unanswered

Delete Oldest Files if count is greater than 240

(0) ShareShare
ReportReport
Posted on by 262

Hi I have the below flow, which should delete the oldest files if the folder count is greater than 240.  

Skybluekid_1-1689600199635.png

Skybluekid_2-1689600232287.png

 

It works ok, until the delete part, where it says that it cant find the ID to delete.

 

Any help would be appreciated.

 

 

Categories:
I have the same question (0)
  • annetoal Profile Picture
    1,934 Moderator on at

    Are you using ID or Identifier?

  • Skybluekid Profile Picture
    262 on at

    Hi @annetoal

     

    I am using ID.  

    Would this be the answer: first(body('Get_files_(properties_only)')?['value'])?['{Identifier}'] ?
  • annetoal Profile Picture
    1,934 Moderator on at

    Try it and post your results. Not being able to see what you've actually written is something of a disadvantage.

    I would just try selecting Identifier from the dynamic inputs.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard