I'm new in power automate and
I need to delete emails from a folder that are more than 30 days old.
But the following expression "received:<@{formatDateTime(addDays(utcNow(), -30), 'yyyy-MM-ddTHH:mm:ssZ')}" is not working.
can you help me?
Hi @Thausd ,
It seems like this will work, please let me know.
So convert your 'received time' dynamic content to 'yyyy-MM-dd' to match your addDays.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492