265 votestry this instead · 13 comments · Office 365 Security & Compliance » Spam & Phishing · Flag idea as inappropriate… · Admin →
An error occurred while saving the commentBarry Hayward commented
How can i run Get-Mailbox | Set-MailboxJunkEmailConfiguration –Enabled $False with multiple domains in my MS365 org?
i get an error stating The operation couldn't be performed because 'NAME' matches multiple entries.
This is because said users have multiple accounts such as email@example.com and firstname.lastname@example.org
i need to run this with some sort of filter? if so please could you assist me with command?