New antimalware policy appears in powershell but not in the web UI
Posted by anonymousITCoward@reddit | sysadmin | View on Reddit | 0 comments
I've created a new anti-malware policy, and a new anti-spam policy, both are can be seen with their respective Get commands, but I'm not able to see them in the web ui. The script I wrote is below. I don't think I missed anything there's no isVisible or anything like that.
$spamFilterSplat = @{
Name = "Global Spam Policy"
AdminDisplayName = "This policy enables our recommended anti-spam settings."
BulkThreshold = 6
HighConfidencePhishAction = "Quarantine"
HighConfidencePhishQuarantineTag = "DefaultFullAccessPolicy"
PhishSpamAction = "Quarantine"
QuarantineRetentionPeriod = 30
WhatIf = $false
}
New-HostedContentFilterPolicy @spamFilterSplat
This is in Exchange Online.
I don't know if thats enough to go on, but if there's anything else let me know.
0 Comments