Manage Outlook Safe and Blocked Sender Lists Without On-Premises Exchange
Question details
Determine whether Outlook safe and blocked sender lists require on-premises Exchange or local Exchange attributes when mailboxes are hosted in Exchange Online.

- Product
- Microsoft Outlook and Exchange Online
- Device & OS
- not provided
- Scenario
- An organization uses Active Directory synchronization and ADFS with Exchange Online mailboxes and wants to manage users' safe and blocked sender lists.
- Observed behavior
- Outlook can send safe and blocked sender settings directly to the Exchange Online mailbox, where an administrator can verify them.
Confirm that the user's mailbox is hosted in Exchange Online and that the user can access it in Outlook. For PowerShell verification, use an account with permission to view the mailbox's junk email configuration.
Manage sender lists in Outlook and verify them in Exchange Online
Use this approach when the mailbox is hosted in Exchange Online and there is no on-premises Exchange server.
An on-premises Exchange server and local Exchange attributes are not required for these mailbox settings. Outlook can transmit the lists directly to Exchange Online; they do not need to be written back to the local directory.
In classic Outlook, select Home > Junk > Junk E-mail Options. In new Outlook, open Settings > Mail > Junk email.
In Safe Senders or Blocked Senders, choose Add, enter the email address or domain, and save or confirm the change. Menu labels may vary by Outlook version.
In PowerShell, run Connect-ExchangeOnline and sign in with an authorized account. If the command is unavailable, install the ExchangeOnlineManagement module first.
Run Get-MailboxJunkEmailConfiguration -Identity user@example.com | Format-List TrustedSendersAndDomains,BlockedSendersAndDomains, replacing the address with the user's mailbox address.

Use WPS Office for Everyday Office Documents
WPS Office is a free, lightweight alternative for working with Office documents in a familiar interface. Its Microsoft Office format support makes it easier to move existing files. WPS Office does not manage Outlook sender lists or Exchange Online mailboxes.

Frequently Asked Questions
Do Exchange Online sender lists require an on-premises Exchange server?
No. When the mailbox is hosted in Exchange Online, Outlook can send safe and blocked sender settings directly to that mailbox without an on-premises Exchange server.
Are local Active Directory Exchange attributes required for these lists?
No. The mailbox settings can be stored in Exchange Online without local Exchange attributes. The safe-list attributes do not need to be written back to the on-premises directory.
How can an administrator check a user's blocked senders?
Connect with Connect-ExchangeOnline, then run Get-MailboxJunkEmailConfiguration -Identity user@example.com and inspect BlockedSendersAndDomains. The administrator needs permission to view the mailbox configuration.
Where can I add a safe sender in Outlook?
In classic Outlook, go to Home > Junk > Junk E-mail Options > Safe Senders. In new Outlook, open Settings > Mail > Junk email and add the address or domain under Safe senders.




