logo
search
Others

How to Find an Exchange Mail Flow Rule by Rule ID

Algirdas JasaitisAlgirdas Jasaitis Oct 21, 2026 868 views

Question details

The user needs to identify a specific Exchange mail flow rule using only its GUID or Rule ID obtained from message tracking logs.

How to Find an Exchange Mail Flow Rule by Rule ID
Product
Microsoft Exchange Online
Device & OS
not provided
Scenario
Troubleshooting email routing or analyzing Exchange message tracking logs where only a rule GUID is displayed instead of the rule name.
Observed behavior
Message tracking logs only display the mail-flow rule GUID, requiring the administrator to manually map this identity to the actual transport rule.
Before you start

Ensure you have the Exchange Online PowerShell module installed and that your account holds Global Administrator or Exchange Administrator privileges.

Solution 1Recommended

Locate Transport Rule via Exchange Online PowerShell

Use a direct PowerShell cmdlet to query the Exchange server and retrieve the specific transport rule by its unique ID.

Because the Exchange Admin Center (EAC) does not natively allow searching for rules by their GUID, PowerShell is the most effective method for mapping an ID from message tracking logs to its corresponding rule.

1
Connect to Exchange Online

Open PowerShell as an administrator and run the 'Connect-ExchangeOnline' cmdlet to authenticate with your administrator credentials.

2
Run the Get-TransportRule Command

Execute the command 'Get-TransportRule -Identity <transport-rule-ID>', replacing '<transport-rule-ID>' with the exact GUID found in your message tracking logs.

3
Review Rule Details

Press Enter to retrieve the rule details. The output will display the rule's actual display name, applied conditions, and associated actions.

Locate Transport Rule via Exchange Online PowerShell
Required Permissions: You must use an account with Global Administrator or Exchange Administrator permissions to successfully run the Get-TransportRule command.
Free Microsoft Office alternative

Manage Your IT Documentation with WPS Office

While WPS Office does not manage Microsoft Exchange server configurations, it is a fantastic, lightweight alternative to Microsoft Office for writing administrative reports, documenting IT procedures, and analyzing message tracking data in spreadsheets.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the on-screen prompts to set up WPS Office on your computer.
  3. 3. Start Documenting: Open WPS Writer or WPS Spreadsheet to begin creating detailed IT configuration reports or logging your PowerShell troubleshooting steps.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx) for seamless documentation sharing.Lightweight installation with a familiar, easy-to-use tabbed interface.Completely free alternative for handling your daily IT reporting and administrative paperwork.
microsoft office alternative - wps office

Frequently Asked Questions

Why does message tracking only show a rule GUID instead of the rule name?

For performance and systemic accuracy, Exchange system logs and message tracking primarily record the unique identifier (GUID) of the transport rule rather than its display name, which could potentially be changed by administrators over time.

What should I do if the PowerShell command returns an object not found error?

Ensure that you have copied the entire GUID correctly without any trailing spaces. If the rule was recently deleted, its GUID may still appear in older message tracking logs but will no longer be queryable in Exchange Online PowerShell.

Can I find the rule ID using the Exchange admin center (EAC) interface?

The Exchange admin center displays the descriptive names and settings of mail flow rules, but it does not natively expose the underlying rule GUIDs for search purposes. PowerShell must be used to map a GUID back to a specific rule.