I am building a flow to delete files on a SharePoint folder based on the date Last Modified - X Days.
I used the following approach as a guideline: https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Delete-files-older-than-X-days-fro...
However it seems I am getting a wrong output in the LastModified field as per screenshots: "0001-01-01T00:00:00"
Am I using the correct field for this purpose?
Can anyone assist?
Has your problem been solved?
If you want to delete a file based on it's modified date , you can refer to the following screenshots.
I have a folder like this:
Flow in details:
After flow runs, the files will be deleted.
Hope the content above may help you.
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.
It doesn't seem to work for me. I'm getting that the flow is running successfully, but nothing is getting deleted; I still have files from January...
Not sure what is going on...
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!