Closed jagatjb closed 10 months ago
@jagatjb Just wanted to let you know that we had the same problem. What we did was removed the following properties from the resources and it fixed the issue. Even though that they are set to $False
HasSenderOverride
ExceptIfHasSenderOverride
Let us know if that works for you also.
@jagatjb Just wanted to let you know that we had the same problem. What we did was removed the following properties from the resources and it fixed the issue. Even though that they are set to
$False
HasSenderOverride ExceptIfHasSenderOverride
Let us know if that works for you also.
Yes, this works. And as of now this is the workaround until it's permanently fixed.
Description of the issue
The issue is You can't create or update DLP-related mail flow rules. See https://aka.ms/NoDLPinETRs. If the below Conditions are present, then I am not able to restore a deleted Exchange transport rule back from a previous snapshot.
MessageContainsDataClassifications (message contains sensitive information) ExceptIfMessageContainsDataClassifications HasSenderOverride (sender has overridden the Policy Tip) ExceptIfHasSenderOverride
So I have updated the module, and then taken a snapshot, deleted an exchange transport rule. Then modified that snapshot to add only thesingle exchange transport rule and converted to .mof file and deployed it. I got the above-mentioned error. Last I checked on 11th November, it worked fine, ie, restoring a deleted exchange transport rule.
Microsoft 365 DSC Version
1.23.1115.1
Which workloads are affected
Exchange Online
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version