Forum Discussion
Vince1959
Feb 09, 2023Tin Contributor
How to resolve Junk email validation error
I'm attempting to add an email address to all users mailboxes using Set-mailboxJunkEmailConfiguration. The command fails and returns an email address as the error (see below). I've dumped the thr...
opasko
Jul 16, 2026Brass Contributor
I had the same issue and resolved it by disabling the "Trust email from my contacts" option in the user's Junk email settings in Outlook.
This is the PowerShell command:
Set-MailboxJunkEmailConfiguration -Identity email address removed for privacy reasons -ContactsTrusted $false