Export (0) Print
Expand All

Remove-RecipientPermission

Exchange Online
 

Applies to: Exchange Online

Topic Last Modified: 2012-08-03

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

Use the Remove-RecipientPermission cmdlet to remove SendAs permission from users in a cloud-based organization.

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

Remove-RecipientPermission -Identity <RecipientIdParameter> -AccessRights <MultiValuedProperty> -Trustee <SecurityPrincipalIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

This example removes the SendAs permission from the user Ayla Kol for the mailbox Help Desk. Ayla can't send messages that appear to come directly from the Help Desk mailbox.

Remove-RecipientPermission "Help Desk" -AccessRights SendAs -Trustee "Ayla Kol"

When a user is given SendAs permission to another user or group, the user can send messages that appear to come from the other user or group.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Recipient Provisioning Permissions" section in the Recipients permissions topic.

 

Parameter Required Type Description

AccessRights

Required

Microsoft.Exchange.Data.MultiValuedProperty

The AccessRights parameter specifies the permission.

Valid input for this parameter is SendAs.

Identity

Required

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter

The Identity parameter specifies the target recipient. The user or group specified by the Trustee parameter can no longer operate on this recipient.

You can specify any type of recipient, for example:

  • Mailboxes

  • Mail users

  • External contacts

  • Distribution groups

  • Dynamic distribution groups

You can use any value that uniquely identifies the recipient.

For example:

  • Alias

  • Distinguished name (DN)

  • GUID

  • Name

  • Display name

  • LegacyExchangeDN

  • Email address

Trustee

Required

Microsoft.Exchange.Configuration.Tasks.SecurityPrincipalIdParameter

The Trustee parameter specifies the user or group from whom you're removing the permission. This prevents the user or group from operating on the recipients specified by the Identity parameter.

You can specify the following types of users or groups:

  • Mailbox users

  • Mail users with a cloud-based account

  • Security groups

You can use any value that uniquely identifies the user or group.

For example:

  • Alias

  • Distinguished name (DN)

  • GUID

  • Name

  • Display name

  • LegacyExchangeDN

  • Email address

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch can be used to suppress the confirmation prompt that appears by default when this cmdlet is run. To suppress the confirmation prompt, use the syntax -Confirm:$False. You must include a colon ( : ) in the syntax.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter is reserved for internal Microsoft use.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft