Exchange Online: Use Test-Message to verify your Transport- and DLP Rules
Hi All,
In the Microsoft 365 Message Center https://admin.microsoft.com/#/MessageCenter there is an Announcement about Test-Message where you can test the Transport Rules and DLPRules.
![](https://icewolffile.blob.core.windows.net/$web/202301/EXO_Test-Message_01.jpg)
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-psTest-Message -Sender m.muster@icewolf.ch -Recipients postmaster@icewolf.ch -SendReportTo a.bohren@icewolf.ch -TransportRules -UnifiedDLPRules
![](https://icewolffile.blob.core.windows.net/$web/202301/EXO_Test-Message_02.jpg)
Let's have a look at my Transport Rules
Get-TransportRule
![](https://icewolffile.blob.core.windows.net/$web/202301/EXO_Test-Message_03.jpg)
Now i get two Reports: "Transport Rule Tracing Report"
![](https://icewolffile.blob.core.windows.net/$web/202301/EXO_Test-Message_04.jpg)
and a "DLP Rules Tracing Report"
![](https://icewolffile.blob.core.windows.net/$web/202301/EXO_Test-Message_05.jpg)
Regards
Andres
![](https://icewolffile.blob.core.windows.net/$web/logos/Exchange_logo.png)