If your organization is large, you cannot retrieve all the data due to the PowerShell session expiry.Even after finding the right cmdlet, you need to use multiple filters and parameters to get the desired report.It requires different cmdlets for each email activity.Monitoring email activity through PowerShell is one of the toughest jobs because To generate more customized message trace report or cmdlet examples for most needed use cases, you can refer to the dedicated blog on Message tracing using PowerShell.Ĭhallenges in Generating Email Reports with PowerShell Message trace by delivery status such as delivered, failed, pending, expanded, quarantined, filtered as spam, and unknown.In this way, you can filter or narrow down the message trace details like
Identify emails that were redirected to another email addressĮmail traffic reports help you to analyze an organization’s email traffic such as the number of emails sent and received, number of spams received and sent, malware emails, spoof emails, etc.Identify which transport rule was applied on a mail.Inbound and Outbound email traffic report.With these cmdlets, you can generate the following Office 365 email reports. This blog lists the top 10 Exchange Online PowerShell cmdlets that help in monitoring and reporting employees’ email activity. Reporting and Monitoring Emails in Office 365 using PowerShell: If you use Microsoft 365 Admin portal to view the above information, you might suffer in searching the right portal. Also, you need to navigate to multiple admin portals like Microsoft 365 admin center, Exchange admin center, Security and Compliance center, etc. So, most admins prefer PowerShell or Microsoft 365 monitoring tool to track email activities. Emails that matched with rules, policies, etc.