Hi @Roger Roger ,
Welcome to the Microsoft Q&A platform!
According to your description, to check who modified the mailbox rules in the shared mailbox in Exchange Online, you can use the audit log. Here is a step-by-step guide to help you:
- By default, mailbox auditing is enabled for all mailboxes. You can verify this by running the following command in Exchange Online PowerShell:
Get-OrganizationConfig | Format-List AuditDisabled
If the value is False, it means that auditing is enabled.
- Run an audit log search:
- Open the Microsoft 365 Compliance Center.
- Navigate to Solutions > Audit > Search.
- Use the search parameters to specify the date range and mailbox (for example, smb@mydomain.com).
- Find actions related to rule modifications.
- You can also use PowerShell to search the audit log. Here is a sample script:
Search-MailboxAuditLog -Mailbox "smb@mydomain.com" -LogonTypes Owner -StartDate "2024-09-01" -EndDate "2024-09-17" -Operations UpdateInboxRule
This command searches for any updates to the Inbox rule within the specified date range.
- The results will show who made the change, as well as the date and time of the modification.
Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.
Best,
Jake Zhang