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

Notifications

Announcements

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 256

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

    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.

  • Skybluekid Profile Picture
    256 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

    Are you using ID or Identifier?

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard