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

Issue/Question

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

Environment

  • Oregon State University
  • Email
  • Exchange Online

Resolution

Method 1 - Use ECP

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

  1. Open a web browser and visit: https://outlook.office365.com/ecp/sharedemail@oregonstate.edu (where "sharedemail@oregonstate.edu" 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: username@oregonstate.edu
  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 sharedemail@oregonstate.edu).BlockedSendersAndDomains
  • View trusted senders: (Get-MailboxJunkEmailConfiguration sharedemail@oregonstate.edu).TrustedSendersAndDomains
  • Add blocked senders: Set-MailboxJunkEmailConfiguration sharedemail@oregonstate.edu -BlockedSendersAndDomains @{Add="address-to-block@somedomain.com","another@somedomain.com"}
  • Add trusted senders: Set-MailboxJunkEmailConfiguration sharedemail@oregonstate.edu -TrustedSendersAndDomains @{Add="address-to-trust@somedomain.com","another@somedomain.com"}

Assistance

For assistance, contact the Service Desk.