auditing for shared mailbox

Surya kumar 340 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??

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,349 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
446 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yuki Sun-MSFT 41,006 Reputation points
    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