More than often we try to play with some transport rule and when we don’t get the intended results we try to see what’s going on. The main thing that we want to understand here is whether the rule that we created is being applied to messages or not.
We will also sometimes end up in a scenario where some action has been taken on an email and we have a zillion transport rules and having a tough time figuring out which rule got applied to the email in question
There could be many ways of doing this. Here I will be explaining a simple way to find the same
- Now that you have the fine, connect to Exchange Online Powershell and run the below command
Get-TransportRule | FL Identity, Guid
Example below :-
Get-TransportRule | fl *Identity*, Guid
Identity : matches these text patterns in the subject: ‘^$’
Guid : 6b3562db-03ee-44b3-b3e7-daabcdea232
- Now open the message that you are trying to analyze and note down the message ID from the Header of the message. Now filter out the downloaded CSV with the MessageID you got from the previous step(column header name message_id)
Note: If you know the specific Sender, then you can directly filter the CSV according to the details.
- Once filtered now search for “ruleId” in the CSV. You will find it in the column header named custom_data
- If the ruleId in the CSV match the Guid you got in step 1, then this mail was processed by the concerned rule.
Note: If the rule does not match the Guid, you can run the command in step 1 again and see the rule which matches the ruleId
Very good written information. It will be valuable to anybody who employess it, as well as yours truly :). Keep up the good work – for sure i will check out more posts.
LikeLike
Thanks a bunch for sharing this with all folks you really understand what you’re speaking about! Bookmarked. Please also talk over with my web site =). We may have a link change arrangement between us!
LikeLike
It is in point of fact a nice and useful piece of info. I am happy that you just shared this helpful information with us. Please keep us informed like this. Thank you for sharing.
LikeLike