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 / PAD get latest modifie...
Power Automate
Answered

PAD get latest modified file from Sharepoint

(0) ShareShare
ReportReport
Posted on by 72

Hello

 

Im currently working with PAD new SharePoint connector and trying to get the last modified file in the SP directory. I'm trying to set the below IF condition but not really sure how to go on about this. Anyway I can retrieve the latest file? 

 

Khai_Lunkim_0-1661155684179.png

 

I have the same question (0)
  • XRQ57 Profile Picture
    206 on at

    Hi,

    What is the purpose of the process?

    It is easier to get the last modified file with Power Query.

     

  • Khai_Lunkim Profile Picture
    72 on at

    That's exactly what I want to do but am unable to, usually, with cloud flow, we can just enter the query but not sure how to do that here in PAD. Where would I enter this query and get the last modified file?

  • Verified answer
    kinuasa Profile Picture
    801 Most Valuable Professional on at

    Hi,
    I suggest to store the files retrieved by the "List folder" action in a variable of type list and sort them by the LastModified property.

     

    Regards,
    kinuasa

     

    PAD_GetNewItem_01.jpgPAD_GetNewItem_02.jpgPAD_GetNewItem_03.jpg

  • Khai_Lunkim Profile Picture
    72 on at

    Thank you so much! I had to make some adjustments on the other action steps but your solution for sorting the list was all I needed! 🙂

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard