Junk E-mail Settings for Shared Mailboxes

Copper Contributor



We started to receive all email for our shared inbox to junk folder. I have set some of them as safe senders, but it didn't help. How can I check/amend junk settings for our shared mailboxes please?



8 Replies

To modify your Junk Email settings on Shared Mailbox, you may follow these steps:

1. Access it via browser by using this URL, https://outlook.office365.com/ecp/admin@contoso.com (Sample Shared Mailbox Email Address)

2. On the options, click block or allow. Select "Don't move email to my Junk folder" and click Save.

PowerShell is easiest way to set junk mail configurations for shared mailbox.


To fetch the configuration:


Get-MailboxJunkEMailConfiguration -Identity "Shared Mailbox" | Format-List


To set it, use Set-MailboxEmailConfiguration. In this instance, I add "BadGirls.com" to the blocked list and set three domains up as trusted senders.


Set-MailboxJunkEMailConfiguration –Identity "Shared Mailbox"
–BlockedSendersAndDomains @{Add="Badgirls.com"} –ContactsTrusted $True
–TrustedSendersAndDomains "Microsoft.com", "Office365.com", "Outlook.com"


And of course, if you wanted to set the same configuration for all shared mailboxes in the tenant, you'd do:


Get-Mailbox -RecipientTypeDetails SharedMailbox | Set-MailboxJunkEMailConfiguration....

Aljohn, when I click on your link it says "Access Denied" is this a setting for admins only or is it something I need to request access to?

Yes, you need to be at least an Exchange Administrator to do this.

@Inna Chigareva 


Same problem, most external email -> shared mailbox went to spam.


This (below) worked for me, I call it a: partial (warning: - choice of 2 evils -) solution


Exchange Admin Center -> Mail Flow -> Rules

... Add a Bypass Spam Filtering:  is sent to '<shared box>'  (select from list)

... ... Set the spam confidence level to: Bypass (-1)

        (I tried other levels, only Bypass worked)


So yeah, you will let actual spam in too, but it's either that or lose email.  (email client should help mitigate against some spam).


Absolutely still need ms to fix this bug properly.

Thanx, it works for me.