Quick answer: Get-EXORecipientPermission shows who has Send As permission on a mailbox or group in Exchange Online. Name the recipient:
Connect-ExchangeOnline
Get-EXORecipientPermission -Identity sales@contoso.com
Every user or group listed can send mail that appears to come straight from sales@contoso.com. Send As is the only permission this cmdlet returns. For Full Access and Send on Behalf, see Check the other two permissions.
Before you start
- Module. The cmdlet exists only in the Exchange Online PowerShell module (EXO V3). Run
Connect-ExchangeOnlinefirst. - Permissions. You need Exchange permissions assigned before you can run it.
- Get-EXO vs Get-RecipientPermission. Microsoft recommends
Get-EXORecipientPermissionover the older Get-RecipientPermission. It's one of nine Get-EXO cmdlets built for fast bulk reads, with fewer parameters than the older cmdlet.
Syntax
Default (whole organization):
Get-EXORecipientPermission
[-AccessRights <MultiValuedProperty>]
[-ResultSize <Unlimited>]
[-Trustee <String>]
[<CommonParameters>]
Identity (one recipient):
Get-EXORecipientPermission
[[-Identity] <String>]
[-AccessRights <MultiValuedProperty>]
[-ExternalDirectoryObjectId <Guid>]
[-PrimarySmtpAddress <String>]
[-ResultSize <Unlimited>]
[-Trustee <String>]
[-UserPrincipalName <String>]
[<CommonParameters>]
Parameters
| Parameter | What it does |
|---|---|
-Identity |
Position 0. The mailbox, mail user, mail contact, distribution group or dynamic distribution group to check. UPN or GUID is fastest |
-PrimarySmtpAddress |
Identify the recipient by primary SMTP address |
-UserPrincipalName |
Identify the recipient by UPN |
-ExternalDirectoryObjectId |
Identify the recipient by its Microsoft Entra ObjectId |
-Trustee |
Only show entries for this user or security group. Must be used with one of the four identity parameters above |
-AccessRights |
Filter by permission. The only valid value is SendAs |
-ResultSize |
Maximum results. Default 1000. Use Unlimited for all |
Use only one of -Identity, -PrimarySmtpAddress, -UserPrincipalName or -ExternalDirectoryObjectId at a time.
Careful: a $null or misspelled -Identity value returns every object, as if you left -Identity off.
Examples
Who can Send As a shared mailbox
Get-EXORecipientPermission -Identity sales@contoso.com |
Format-Table Identity, Trustee, AccessRights
Does one user have Send As on a mailbox
Get-EXORecipientPermission -Identity sales@contoso.com -Trustee adelev@contoso.com
No output means Adele doesn't have Send As on that mailbox.
Send As on a distribution group
Get-EXORecipientPermission -Identity allstaff@contoso.com
Every Send As entry in the organization
Get-EXORecipientPermission -ResultSize Unlimited
Without -ResultSize Unlimited you get the first 1000.
Everything one user can Send As
-Trustee on its own doesn't work with Get-EXORecipientPermission; it needs an identity parameter. To list every mailbox and group a user can send as, use the older cmdlet, which allows -Trustee alone:
Get-RecipientPermission -Trustee adelev@contoso.com
Export Send As permissions to CSV
Get-EXORecipientPermission -ResultSize Unlimited |
Select-Object Identity, Trustee, AccessRights |
Export-Csv -Path .\sendas.csv -NoTypeInformation
Check the other two permissions
Exchange Online has three delegate permissions. Each is read with a different cmdlet:
| Permission | What the delegate can do | Check it with |
|---|---|---|
| Send As | Send mail that appears to come directly from the mailbox or group | Get-EXORecipientPermission -Identity <mailbox> |
| Send on Behalf | Send mail that shows "Delegate on behalf of Mailbox" | Get-Mailbox -Identity <mailbox> | Format-List GrantSendOnBehalfTo |
| Full Access | Open the mailbox and read its contents, but not send | Get-EXOMailboxPermission -Identity <mailbox> |
If a user has both Send As and Send on Behalf, Send As is always used.
For a group, read Send on Behalf with Get-DistributionGroup, Get-DynamicDistributionGroup or Get-UnifiedGroup and Format-List GrantSendOnBehalfTo.
Grant or remove Send As
Add-RecipientPermission -Identity sales@contoso.com -Trustee adelev@contoso.com -AccessRights SendAs
Remove-RecipientPermission -Identity sales@contoso.com -Trustee adelev@contoso.com -AccessRights SendAs
Full guides: Add-RecipientPermission and Remove-RecipientPermission.
Troubleshooting
- The term is not recognized. You're not connected with the Exchange Online module. Run
Connect-ExchangeOnline. The cmdlet doesn't exist in on-premises Exchange. - -Trustee on its own doesn't list a user's access.
Get-EXORecipientPermissionneeds an identity parameter with-Trustee. Add-Identity, or useGet-RecipientPermission -Trusteeto search every recipient. - Results stop at 1000. Add
-ResultSize Unlimited. - Delegate still can't send. If the mailbox is hidden from address lists, delegates can't send from it even with Send As.
- You see far more results than expected. Check
-Identityisn't empty or misspelled.
FAQ
What's the difference between Send As and Send on Behalf?
Send As messages look like they came from the mailbox, with no sign of the delegate. Send on Behalf messages show "Delegate on behalf of Mailbox" in the From line.
Does Get-EXORecipientPermission show Full Access?
No. It returns Send As only. Use Get-EXOMailboxPermission for Full Access.
Does Send As let the delegate read the mailbox?
No. Send As doesn't allow the delegate to read the mailbox. That needs Full Access.
Can I check Send As in the Exchange admin center?
Yes. Open Recipients > Mailboxes, select the mailbox, then Mailbox delegation > Send as.
Sources: Get-EXORecipientPermission, Get-RecipientPermission, Manage permissions for recipients in Exchange Online and About the Exchange Online PowerShell V3 module on Microsoft Learn.
Managing Microsoft 365 rooms too? Meeting Room 365 turns any tablet into a room display for Outlook and Teams calendars.