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 deleted Items f...
Power Automate
Unanswered

Delete deleted Items from Outlook 365

(0) ShareShare
ReportReport
Posted on by 14

Hi,

I'm currently trying to build a flow that checks every week if there are older emails than 93 days in the deleted folder in Outlook and deletes them.

there are two issues at hand:
1. there is a limit to how many emails I can get from the folder structure via "get emails", 25 to be specific, which is hilariously low. but getting it greater seems impossible. before I can check if I can go around that with the sorting direction of the folder there is the other issue at hand.
2. the get emails function gives me back an empty array. this function only gets me back emails that are marked unread, and I cant find a way to switch that off, so it can count the others as well. and marking everyting unread in the deleted folder is just a hazard for errors. (Solved: Delete deleted Items from Outlook 365 - Power Platform Community (microsoft.com))

as linked, issue two has been solved and i clicked solved to soon, and now i have to create a new post regarding issue 1.
I tried to fix this one, as i now get items back from outlook, but i cant find a way arround its limit of 25. Sorting the different direction in Outlook doenst get safed, and the to delete emails are around 200 (depending on the season (traffic etc.)) emails later...

Thanks
tilman 


Thanks 

Categories:
I have the same question (0)

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard