Summary
In Microsoft Office 365, you can run mailbox audit logs to determine when a mailbox was updated unexpectedly or whether items are missing from a mailbox. You may have to do this, for example, if items are moved or if they're deleted unexpectedly or incorrectly.
For the vNext environment, please note that mailbox audit logs are not enabled by default and need to be turned on for a user before beginning a search
How to run and check mailbox audit logs
Mailbox audit logging lets users obtain information about actions that are performed by non-owners and administrators. Mailbox audit logging is available to members of the Audit Reporting Mailbox self-service group only by using Windows Remote PowerShell.
Step 1: Run the script
To run the script, follow these steps:
Start Notepad, and then copy the following code into the file. The code uses the
search-mailboxAuditLog
command that is part of Microsoft Exchange Server.
On the File menu, click Save As.
In the Save as type box, click All File.
In the File name box, type Run-MailboxAuditLogSearcher.ps1, and then click Save.
Start Windows PowerShell, and then connect to Windows Remote PowerShell.
Locate the directory in which you saved the script, and then run the script.
Note
- If you run the script without parameters, you will be prompted for the following default parameters:
- Mailbox
- StartDate
- EndDate
- To search for entries from the current day, add one day to the end-date value in the prompt window. For example, if the current date is 3/14/2017, and you want to include the current day in your search, enter 4/15/2017 as the end date.
No comments:
Post a Comment