Others

How to Get the Exchange Online Inbound Message Report via PowerShell

Chanuka GeekiyanageChanuka Geekiyanage Oct 28, 2026 869 views

Question details

Administrator needs the PowerShell command equivalent to the Exchange Online Inbound Message Report.

How to Get the Exchange Online Inbound Message Report via PowerShell
Product
Exchange Online PowerShell
Device & OS
not provided
Scenario
Automating or generating mail flow and inbound message reports using Exchange Online PowerShell.
Observed behavior
Required reporting data is not found in commonly used mail traffic cmdlets, or the expected cmdlet is unavailable in the current module.
Before you start

Ensure you have the latest Exchange Online PowerShell V3 module installed and are connected to your tenant with the appropriate administrator permissions (such as Security Reader or View-Only Organization Management).

Solution 1Recommended

Consult Exchange Online PowerShell Documentation and Support

Since standard Outlook support does not cover advanced PowerShell scripting, reaching out to the dedicated Exchange Online PowerShell team or checking Microsoft Graph API is recommended.

The Inbound Message Report data is often handled by specific reporting cmdlets like Get-MailTrafficReport. However, Microsoft frequently updates reporting endpoints, and legacy cmdlets may be deprecated or moved to the Microsoft Graph API.

1
Verify PowerShell Module

Run 'Get-Module -ListAvailable -Name ExchangeOnlineManagement' to ensure you are using the latest version of the Exchange Online PowerShell module.

2
Check Cmdlet Availability

Connect to Exchange Online and run 'Get-Command Get-MailTrafficReport' to see if the cmdlet is available in your tenant's current session.

3
Consult Microsoft Q&A

If the cmdlet is missing or returns insufficient data, visit the Microsoft Q&A PowerShell forum to ask the Exchange Online PowerShell team for the current supported reporting API.

4
Explore Microsoft Graph API

Review the Microsoft Graph API documentation for Mail Flow reporting, as Microsoft is actively transitioning reporting endpoints to Graph for better performance and security.

Consult Exchange Online PowerShell Documentation and Support
Microsoft Graph API Transition: Many legacy Exchange Online reporting cmdlets are being replaced by Microsoft Graph API endpoints. If PowerShell cmdlets fail to provide the required data, Graph API is the recommended modern alternative.
Free Microsoft Office alternative

Looking for a Lightweight Office Suite? Try WPS Office

While managing Exchange Online requires specialized Microsoft admin tools, your daily document, spreadsheet, and presentation tasks don't have to rely on heavy, expensive software. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office.

  1. 1. Download the Installer: Visit the official WPS Office website and click the 'Free Download' button.
  2. 2. Install the Software: Run the lightweight installer file and follow the simple on-screen instructions to complete the setup.
  3. 3. Open Your Files: Launch WPS Office and open your existing Microsoft Office documents directly without losing any formatting or data.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation that runs smoothly on older or less powerful hardware.Familiar tabbed user interface for seamless migration and zero learning curve.Built-in PDF editing, signing, and conversion tools at no extra cost.
microsoft office alternative - wps office

Frequently Asked Questions

Why is Get-MailTrafficReport missing from my PowerShell session?

This cmdlet may be unavailable if you lack the necessary administrative roles (like View-Only Organization Management), if your PowerShell module is outdated, or if Microsoft has deprecated the cmdlet in favor of newer Microsoft Graph API reporting endpoints.

Can I get the Inbound Message Report directly from the Exchange Admin Center?

Yes, administrators can view this data visually by navigating to the Exchange Admin Center, selecting Reports, and then clicking on Mail Flow followed by Inbound Message Report.

What permissions are required to run Exchange Online reporting cmdlets?

You typically need to be assigned the 'Security Reader', 'Security Administrator', or 'View-Only Organization Management' role in Exchange Online or Microsoft Entra ID to access mail flow reporting data via PowerShell.