Query on Audit Logs

Roger Roger 5,751 Reputation points
2024-09-17T05:39:33.4333333+00:00

Hi All, i have a shared mailbox lets say smb@mydomain.com in exchange online. i have mailbox rules or outlook rules and one of the outlook rule was modified. i want to check in audit logs who modified the rule. please guide me

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,267 questions
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,493 questions
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,606 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,076 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jake Zhang-MSFT 5,055 Reputation points Microsoft Vendor
    2024-09-17T08:25:13.2133333+00:00

    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:

    1. 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.

    1. 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.
    1. 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.

    1. 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


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.