Commands › Exchange Online

Get-BlockedSenderAddress

Exchange Online ExchangeOnlineManagement Get-*

View users in your Microsoft 365 organization that are affected by the protection system. These users sent multiple messages that were classified as spam, so they're blocked from sending messages.

Quick start script

# Get-BlockedSenderAddress — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-BlockedSenderAddress | Format-List

# 3. Export for evidence / drift tracking
Get-BlockedSenderAddress | Export-Clixml .\BlockedSenderAddress-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-BlockedSenderAddress [-SenderAddress <SmtpAddress>]
 [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-SenderAddress SmtpAddress The SenderAddress parameter filters the results by the email address of the blocked user.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.