Find Who Sent Email from Shared Mailbox in Office 365 using PowerShell

Tracking who sends emails from shared mailboxes in Office 365 requires auditing Send As and Send On Behalf activities through the unified audit log. A PowerShell script filters shared mailbox email activities and exports sender details, email subjects, and timestamps to CSV. The script supports MFA, certificate-based authentication, custom date ranges, individual shared mailbox filtering, and scheduled execution.