Enable Mailbox Auditing for All Users

Enable auditing on all mailboxes to track user and admin actions. Use the Connect-ExchangeOnline function to use this code.

Get-Mailbox -ResultSize Unlimited | Set-Mailbox -AuditEnabled $true