auditing for shared mailbox

Surya kumar 390 Reputation points
2023-04-27T06:01:36.7233333+00:00

Hi,

I am having a situation where my deleted items folder was empty. However, after one particular day I could see hundreds of emails in my deleted items folder. There are no inbox rules set. And retention policy settings are move to archive or move to purges folder of recover deleted items. None of shared mailbox members have deleted the email items.

is there any way to figure out how this emails were came into deleted items folder?

I checked the following article, however I am not able to find answer. Please help me if there any different ways.

https://learn.microsoft.com/en-us/powershell/module/exchange/search-mailboxauditlog?view=exchange-ps

if I use the above PowerShell commands, then how inbox rules or sweep rules will be identified in the log? I mean how they are been identified because that was a automatic process, right?

and another try was audit > compliance portal.

Could you please let me know how to find this??

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 | Other
Exchange | Other
A powerful email and collaboration platform developed by Microsoft, designed to support enterprise-level communication and productivity. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Yuki Sun-MSFT 41,451 Reputation points Moderator
    2023-04-27T08:08:15.1866667+00:00

    Hi @Surya kumar ,

    if I use the above PowerShell commands, then how inbox rules or sweep rules will be identified in the log? I mean how they are been identified because that was a automatic process, right?

    As far as I know, I am afraid it's not feasible to tell if the item was deleted by inbox rules or sweep rules directly using the logs.
    Given this, I'd recommend searching the audit log using the operation "MoveToDeletedItems" and see if more clues like logon user name could be found for further analysis:

    
    Search-MailboxAuditLog -Identity user1 -LogonTypes Owner,Admin,Delegate -ShowDetails -StartDate 4/26/2023 -EndDate 4/28/2023 | Where-Object {$_.Operation -eq "MoveToDeletedItems"} | FL Operation, LogonType, LogonUserDisplayName, SourceItemSubjectsList, ClientProcessName
    

    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.


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.