Share via

Delete emails

Roger Roger 7,631 Reputation points
2021-12-30T23:07:12.953+00:00

Hi All

i have a unified group lets say ******@mydomain.com and the unified group mailbox is full i.e 50GB is full. i believe with unified groups we cannot put retention tags nor we can create folders in it. i want to delete all the emails from the mailbox just keeping 2 months emails. How do i do it from powershell as i am unable to do it from outlook as it is freezing.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.


Answer accepted by question author

KyleXu-MSFT 26,406 Reputation points
2021-12-31T01:51:15.667+00:00

@Roger Roger

The retention policy could work on Office 365 group, you could create the retention policy from the Information governance:
161535-qa-kyle-09-43-30.png

161449-qa-kyle-09-44-03.png


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.