How to Enable the Next Button for an Exchange Mail Flow Header Rule
Question details
The user is unable to proceed when creating a mail flow transport rule based on message headers in the Exchange Admin Center because the Next button is disabled.

- Product
- Microsoft Exchange Admin Center
- Device & OS
- not provided
- Scenario
- Creating a new transport rule based on message headers to filter or redirect emails.
- Observed behavior
- The Next button remains greyed out or disabled, preventing the administrator from continuing the rule creation process.
Ensure you have the necessary administrator permissions in the Exchange Admin Center to create or modify mail flow rules.
Specify Header Name and Matching Text to Enable the Next Button
The Next button remains disabled until both the specific header name and the text to match are explicitly defined in the rule parameters.
Many administrators get stuck on this step because the interface requires clicking specific hyperlinked text to input the parameters before it validates the configuration.
In the Exchange Admin Center, navigate to Mail flow rules and choose 'New rule'. Select the condition 'Apply rule if the message header includes or matches'.
Click on the 'Enter text' hyperlink in the first condition field. Type the exact header name you want to filter (for example, 'X-Tnid').
Click on the 'Enter words' hyperlink in the second condition field. Enter the specific text or value that the header should match.
Once both the header name and matching text fields are populated, the Next button will become active. Click 'Next' to continue configuring your transport rule.

Manage Your Office Tasks with WPS Office
While Exchange Server handles your mail flow rules, WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office for creating, editing, and managing your daily documents, spreadsheets, and presentations.
- 1. Download WPS Office: Visit the official WPS website to download the free installation package for your operating system.
- 2. Install the Suite: Run the installer and follow the on-screen instructions to set up the lightweight application in minutes.
- 3. Open Office Documents: Launch WPS Office and open your existing Microsoft Office files with perfect formatting preservation.

Frequently Asked Questions
Why is the Next button greyed out in the Exchange Admin Center?
The Next button remains disabled because the current rule condition requires additional parameters. For header rules, both the header name and the matching text must be explicitly entered before validation allows you to proceed.
How do I find the correct message header name to filter?
You can find message headers by analyzing the headers of an existing email in Outlook. Look for fields starting with 'X-' or standard headers to determine what specific string you need to filter.
Can I use wildcards in the Exchange message header rule?
Yes, Exchange mail flow rules support regular expressions and wildcard matching for message headers, allowing you to match variable strings within the header text.




