Exchange 2013 Mailbox Audit Stopped

James Wilson 1 Reputation point
2020-10-02T13:47:52.213+00:00

Following a server crash on wednesday, i've found that a number of mailboxes that i have auditing enabled on have stopped recording any audit entries.

I can use the search-mailboxauditlog cmd to pull up the data from prior to the crash but nothing since it was rebooted.

After the reboot there've been no other issues with the server and no errors showing in logs that i can see either.

I've tried disabling the auditing and enabling it again but thats not helped.
Is there a way of purging the log so that it starts again?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,670 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 149.2K Reputation points MVP
    2020-10-02T13:51:35.307+00:00

    You can set the audit age log to 0, the run the Folder Assistant

    set-mailbox <user> -AuditLogAgeLimit 00:00:00  
    
    Start-ManagedFolderAssistant <user>  
    

    You may need to run that second command (Start-ManagedFolderAssistant <user>) a few times or let it sit over night

    https://learn.microsoft.com/en-us/powershell/module/exchange/set-mailbox?view=exchange-ps
    For example, to specify 60 days for this parameter, use 60.00:00:00. Setting this parameter to the value 00:00:00 removes all audit log entries for the mailbox. The entries are removed the next time the Managed Folder Assistant processes the mailbox (automatically or manually by running the Start-ManagedFolderAssistant cmdlet).

    0 comments No comments

  2. Eric Yin-MSFT 4,386 Reputation points
    2020-10-05T03:50:20.673+00:00

    Have you tried the command that Andy posts? Is the mailbox audit working now?
    Does mailbox audit work for new created mailbox? If yes, try to move the old mailboxes to a new database or run a mailbox repair: New-MailboxRepairRequest


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.


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.