Exchange Online: Use Test-Message to verify your Transport- and DLP Rules

Hi All,

In the Microsoft 365 Message Center there is an Announcement about Test-Message where you can test the Transport Rules and DLPRules.

FIX: Exchange Transport rule (ETR) or Data Loss Prevention (DLP) rule is not working as expected

Test-Message

https://learn.microsoft.com/en-us/powershell/module/exchange/test-message?view=exchange-ps

Test-Message -Sender m.muster@icewolf.ch -Recipients postmaster@icewolf.ch -SendReportTo a.bohren@icewolf.ch  -TransportRules -UnifiedDLPRules

Let’s have a look at my Transport Rules

Get-TransportRule

Now i get two Reports: “Transport Rule Tracing Report”

and a “DLP Rules Tracing Report”

Regards
Andres