Rediger

Del via


Remove-BlockedSenderAddress

This cmdlet is available only in the cloud-based service.

Use the Remove-BlockedSenderAddress cmdlet to unblock users in your Microsoft 365 organization that were impacted by the protection system. These users sent multiple messages that were classified as spam, so they were blocked from sending messages.

Note: There's a limit to the number of times you can unblock a Microsoft 365 account. If you exceed the unblock limit for a user, you'll receive an error, and you'll need to contact support to unblock the user.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Remove-BlockedSenderAddress
      -SenderAddress <SmtpAddress>
      [-Reason <String>]
      [<CommonParameters>]

Description

You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Remove-BlockedSenderAddress -SenderAddress julia@contoso.com

This example unblocks the user julia@contoso.com.

Parameters

-Reason

The Reason parameter specifies the reason the user was blocked (the Reason property value). If the value contains spaces, enclose the value in quotation marks (").

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection

-SenderAddress

The SenderAddress parameter specifies the email address of the user that you want to unblock.

Type:SmtpAddress
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection