Forum Discussion
AlvinKang
Jul 22, 2020Copper Contributor
unable to delete email in deleted item
I try unable to delete the email in deleted item It shows this error "Some items cannot be deleted. They were either moved or already deleted or access was denied" I also try to migrate this...
VasilMichev
Jul 22, 2020MVP
As the message suggests, you've reached the RecoverableItems subtree quota and need to clean up a bit: https://docs.microsoft.com/bg-bg/exchange/security-and-compliance/recoverable-items-folder/clean-up-deleted-items
Alternatively, you can put the mailbox on hold, which will effectively extend the quota to 100GB.
AlvinKang
Jul 23, 2020Copper Contributor
I had try run clean up but the email still inside the deleted items
Search-Mailbox -Identity "peter" -SearchDumpsterOnly -TargetMailbox "backup" -TargetFolder "Deleted" -DeleteContent
The search has Succeeded.
| Started by: | ||
| Start Time: | 23/07/2020 5:25:42 PM | |
| Size: | 0 B (0 bytes) | |
| Items: | 0 | |
| Results: | Staff\Backup | |
| Errors: | None | |
| Operations performed: | Messages were copied to the target mailbox and deleted from the source mailbox. | |
| Query: | ||
| Search Dumpster: | True | |
| Logging: | Basic | |
| Mailboxes to search: | (1) staff\peter |
See attachments for additional logging information when full logging is enabled.
Get-MailboxFolderStatistics -Identity "peter" -FolderScope RecoverableItems | Format-Table Name,FolderAndSubfolderSize,ItemsInFolderAndSubfolders -Auto