Forum Discussion
LainRobertson
Dec 30, 2024Silver Contributor
Re: Microsoft Purview (DLP Policy via PowerShell)
Hi miaeb ,
Your command looks fine.
Have you checked the priority of your compliance rule? It's possible that your "SensitiveInfoRule" is fine (but check it with Get-DlpComplianceRule just to be sure), but a different rule with a higher priority is winning.
By default, if you create a new rule and do not specify a value for "priority", it will be created as the lowest priority rule.
Cheers,
Lain
No RepliesBe the first to reply