Delete emails

Rising Flight 6,176 Reputation points
2022-12-21T16:03:16.963+00:00

Hi All

i have a shared mailbox and the shared mailbox has fully utilized the quota i.e 50GB.
Litigation hold is disabled for the mailbox so i set retain deleted items to 0. i want to keep the emails for 2 weeks and deleted rest of the emails. will outlook rule work to delete the emails. experts guide me how to delete the emails.

Set-Mailbox user1@Company portal .com -UseDatabaseRetentionDefaults $false -SingleItemRecoveryEnabled $true -RetainDeletedItemsFor 0

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Outlook | Windows | Classic Outlook for Windows | For business
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.
{count} votes

Answer accepted by question author
  1. Amit Singh 5,316 Reputation points
    2022-12-22T10:35:17.57+00:00

    To create an auto-archiving policy that deletes older emails automatically in Outlook, do the following for each folder you want to clean automatically.
    273312-unnamed-5.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Faery Fu-MSFT 19,841 Reputation points Moderator
    2022-12-22T05:56:26.733+00:00

    Hi @Rising Flight ,

    Do you want to use outlook built in feature to delete emails, you can use AutoArchive to do this automatically.

    Go to File > Options > Advanced.
    Under AutoArchive, click AutoArchive Settings.

    For more information about the AutoArchive feature, see: AutoArchive settings explained
    (Note: If you have multiple Exchange accounts in your Outlook profile and configure AutoArchive for one account, all other Exchange accounts will have the same settings applied automatically. )

    0 comments No comments

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.