Commands › Exchange Online

Get-RecipientPermission

Exchange Online ExchangeOnlineManagement Get-*

View information about SendAs permissions that are configured for users in a cloud-based organization. **Note**: In Exchange Online PowerShell, we recommend that you use the Get-EXORecipientPermission cmdlet instead of this cmdlet. For more information, see Connect to Exchange Online PowerShell.

Quick start script

# Get-RecipientPermission — 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-RecipientPermission | Format-List

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

Syntax

Get-RecipientPermission [[-Identity] <RecipientIdParameter>]
 [-AccessRights <MultiValuedProperty>]
 [-IncludeTrusteeWithPrimarySmtpAddress]
 [-ReadFromDomainController]
 [-ResultSize <Unlimited>]
 [-Trustee <SecurityPrincipalIdParameter>]
 [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-Identity RecipientIdParameter The Identity parameter identifies the recipient that you want to view. The user or group specified by the Trustee parameter has Send As permissions on this recipient. You can specify any type of recipient, for example:
-AccessRights MultiValuedProperty The AccessRights parameter filters the results by permission. The only valid value for this parameter is SendAs.
-IncludeTrusteeWithPrimarySmtpAddress SwitchParameter {{ Fill IncludeTrusteeWithPrimarySmtpAddress Description }}
-ReadFromDomainController SwitchParameter The ReadFromDomainController parameter specifies that the user information is read from a domain controller in the user's domain. You don't need to specify a value with this switch.
-ResultSize Unlimited The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.
-Trustee SecurityPrincipalIdParameter The Trustee parameter filters the results by who has Send As permissions on the specified recipient. You can specify the following types of users or groups (security principals) for this parameter:

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