Exchange Online - Modify Safe Senders or Blocked Senders for a Shared Mailbox


  • When using a shared mailbox and marking a sender or domain as "safe" the settings are not saved in the shared mailbox.


  • Oregon State University
  • Email
  • Exchange Online


Method 1 - Use ECP

Anyone with full mailbox access to the shared mailbox can follow these steps:

  1. Open a web browser and visit: (where "" is the email address of the shared mailbox)
  2. You might have to specify your time zone.
  3. If prompted to sign in, enter your username in the format:
  4. Under "Options" on the left, select "block or allow"
  5. Make changes as needed and click "Save" at the bottom of the screen

Method 2 - Use PowerShell

An Exchange Online Admin can execute these commands in PowerShell:

  • View blocked senders: (Get-MailboxJunkEmailConfiguration
  • View trusted senders: (Get-MailboxJunkEmailConfiguration
  • Add blocked senders: Set-MailboxJunkEmailConfiguration -BlockedSendersAndDomains @{Add="",""}
  • Add trusted senders: Set-MailboxJunkEmailConfiguration -TrustedSendersAndDomains @{Add="",""}


For assistance, contact the Service Desk.


Article ID: 137084
Mon 3/14/22 4:03 PM
Mon 3/14/22 4:03 PM