How to audit or track deleted emails from Shared mailbox

System Admin - Exch 80 Reputation points
2024-04-24T19:30:36.7966667+00:00

Hello,

We have Exchange 2019 DAG, looking for the command to audit deleted emails from the Shared mailbox which has multiple full access permission users.

Thanks

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
    2024-04-25T07:43:12.0566667+00:00

1 additional answer

Sort by: Most helpful
  1. Mike Hu-MSFT 4,145 Reputation points Microsoft External Staff
    2024-04-25T09:49:48.6066667+00:00

    Hi,

    You can try to use Search-MailboxAuditLog (ExchangePowerShell) | Microsoft Learn  to search for audit logs of deletions on shared mailboxes, example command: Search-MailboxAuditLog -Identity share1 - -ShowDetails -Operations HardDelete,SoftDelete,MoveToDeletedItems -StartDate 4/20/2024 -EndDelete LogonTypes Delegate -ShowDetails -Operations HardDelete,SoftDelete,MoveToDeletedItems -StartDate 4/20/2024 -EndDate 4/25/2024.

    User's image

    share1 is the name of my shared mailbox, the StartDate and EndDate attributes should be filled with the start and end dates you want to audit.

    But the prerequisite for getting the results you want is that you have previously enabled mailbox audit logging for that mailbox, using Set-Mailbox -Identity share1 -AuditEnabled $true enables mailbox audit logging. If it prompts like this, then you have enabled audit logging for the mailbox.

    User's image

    Please feel free to contact me for any updates.

    0 comments No comments

Your answer

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