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 Emails from a f...
Power Automate
Unanswered

Delete Emails from a folder with more 30 days old

(2) ShareShare
ReportReport
Posted on by 4

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?

del_emails_pw.png

Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,294 Super User 2026 Season 1 on at

    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.

     

    trice602_0-1720125061295.png

     

     

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard