To create an auto-archiving policy that deletes older emails automatically in Outlook, do the following for each folder you want to clean automatically.
Delete emails
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
-
Amit Singh 5,071 Reputation points
2022-12-22T10:35:17.57+00:00
1 additional answer
Sort by: Most helpful
-
Faery Fu-MSFT 19,006 Reputation points
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. )