Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Exchange / Granting Send As and Send on Behalf Permissions in Exchange Server/Microsoft 365

March 17, 2024 Azure and Microsoft 365ExchangePowerShell

Granting Send As and Send on Behalf Permissions in Exchange Server/Microsoft 365

In on-premises Exchange Server and Microsoft 365 (Exchange Online), you can grant users permission to send e-mails on behalf of another user or mailbox. In this article, we will show how to grant Send As and Send On Behalf permissions using the Exchange Admin Center and PowerShell.

There are two types of permissions in Exchange to send emails on behalf of another mailbox or group:

  • Send as – allow a user (delegate) to send email as if they came directly from another mailbox or group. A recipient doesn’t see that the message was sent by the delegate;
  • Send on behalf – permission similar to Send-As, but a real sender is displayed in the From field of an email message. In the Outlook screenshot below, you can see that XXX user has sent the email on behalf of YYY. send on behalf in email messages

Contents:
  • How to Grant Send As Permissions in Exchange Server?
  • Adding Send On Behalf Permissions in Microsoft 365 (Exchange Online)

How to Grant Send As Permissions in Exchange Server?

In on-premises Exchange Server 2019, 2016, and 2013, you can grant mailbox permissions using the Exchange Admin Center (EAC).

  1. Sign in to ECP: https://exchsrv1/ecp
  2. Go to Recipients -> Mailboxes -> find a user mailbox you want to grant permissions on;
  3. Open the mailbox properties and go to the Mailbox Delegation tab;
  4. Here you can grant SendAs or SendOnBehalf permissions to another user by adding their account to the appropriate section. EAC: Exchange server mailbox delegation - send as and send on behalf
If you delegate both “Send as” and “Send on behalf” permissions to a user, Send as will be used by default.

In the same way, you may grant permission to send emails on behalf of the distribution groups or mail-enabled security groups (go to the group delegation tab).

send on behalf of distribution group

You can grant send as permission using PowerShell (open the Exchange Management Shell console or connect to your Exchange Server remotely with PowerShell).
In order to delegate SendAs permissions, run the command below:

Get-Mailbox [email protected] | Add-ADPermission -User [email protected] -ExtendedRights "Send As"

The permissions are assigned on a user account object in Active Directory. You can also set them manually in the Security tab of user properties in the ADUC console.

You can grant SendOnBehalf permission:

Set-Mailbox -Identity [email protected] -GrantSendOnBehalfTo [email protected]

The previous command clears the current access list and adds only the new account to it. If you want to add a new user to the SendOnBehalf access list, use this command:

Set-Mailbox [email protected] -GrantSendOnBehalfTo @{Add="[email protected]"}

You can delegate SendOnBehalf permissions to all mailboxes in a specific Organizational Unit in Active Directory:

Get-Mailbox | Where {$_.DistinguishedName -like "*OU=Service,OU=MUN,DC=woshub,DC=com*"} | Set-Mailbox -GrantSendOnBehalfTo @{add="User1","User2"}

If you want to grant permissions to send on behalf of an Exchange distribution group:
Set-DistributionGroup -Identity [email protected] -GrantSendOnBehalfTo @{Add="[email protected]"}

To delegate SendOnBehalf permissions on a dynamic distribution group:

Set-DynamicDistributionGroup "IT_DeptUsers" -GrantSendOnBehalfTo @{Add="[email protected]"}

To send an e-mail on behalf of another mailbox in Outlook or OWA, add the From field to the interface. When creating a new e-mail message, select the sender’s e-mail address in the From (or select Other Email Address and find the owner from the Global Address List).

How to send mail on behalf of another user in Outlook?

In an on-premises Exchange Server organization, you will have to wait up to two hours or restart the Exchange Information Store service for the changes to propagate.

If you get the following error message when trying to send an e-mail message on behalf of another user:

You do not have permission to send to this recipient. For assistance, contact your system administrator.

or

You can't send a message on behalf of this user unless you have permission to do so.

Try the following:

  1. Send an email on behalf of a mailbox from OWA;
  2. If you were able to send the e-mail message from OWA, try to remove Offline Address Book (OAB, C:\Users\%username%\AppData\Local\Microsoft\Outlook\Offline Address Books) when desktop Outlook is not running.

Adding Send On Behalf Permissions in Microsoft 365 (Exchange Online)

In Exchange Online, you may delegate permissions to send emails on behalf of a mailbox or a distribution group using the Exchange Admin Center.

  1. Go to the Recipients and select Mailboxes (or Groups);
  2. Find the mailbox you want to delegate permissions on;
  3. Open mailbox properties, go to the Settings tab, and select Edit manage delegates; Manage mailbox settings in exchnage online
  4. Then select a user you want to grant access to and the permission type (Send as or Send on behalf). Allow members to send as or send on behalf of a group in MIcrosoft 365

You can also delegate SendAs permissions in Exchange Online using PowerShell. Connect to your Microsoft 365 tenant using the Exchange Online PowerShell (EXO) module:

Connect-ExchangeOnline -UserPrincipalName [email protected] -ShowProgress $true

To allow a user to send messages on behalf of a distribution group, use the Add-RecipientPermission cmdlet:

Add-RecipientPermission <GroupName> -Trustee <MailboxName> -AccessRights SendAs

To delegate Send As permissions on a distribution group:

Get-DistributionGroup -Identity server_admins | Add-RecipientPermission -AccessRights SendAs -Trustee jsmith

Add-RecipientPermission - Add Send As Permissions using PowerShell

To grant SendOnBehalf permission on a user mailbox, run this command:

Get-Mailbox max.joseph | Set-Mailbox -GrantSendOnBehalfTo HenriettaM

Grant permissions to send on behalf of a Microsoft 365 group:

Set-UnifiedGroup msteams_cc1234 -GrantSendOnBehalfTo max.joseph

List users having SendOnBehalf permissions on a mailbox:

Get-Mailbox max.joseph | Where {$_.GrantSendOnBehalfTo -ne $null} | Select UserprincipalName,GrantSendOnBehalfTo

List users having SendOnBehalf permissions on a mailbox

Display a list of users with SendAs permissions on a mailbox:

Get-RecipientPermission max.joseph

Find all mailboxes in the organization that have SendAs permissions set for the specified user:

Get-Recipient | Get-RecipientPermission -Trustee [email protected] | Select Identity, Trustee, AccessRights

PowerShell: list mailboxes with SendAs permissions for the specified user

Earlier we showed how to find all Exchange mailboxes user has access to with PowerShell.

Use the Remove-RecipientPermission cmdlet to remove SendAs permissions on a mailbox:

Get-Recipient max.joseph | Remove-RecipientPermission -AccessRights SendAs –Trustee [email protected]

1 comment
0
Facebook Twitter Google + Pinterest
previous post
How to Permanently Disable Microsoft Defender Antivirus on Windows 11 and 10
next post
Enable HTTP/3 Support for IIS on Windows Server 2022

Related Reading

View Windows Update History with PowerShell (CMD)

April 30, 2025

Uninstalling Windows Updates via CMD/PowerShell

April 18, 2025

Allowing Ping (ICMP Echo) Responses in Windows Firewall

April 15, 2025

How to Pause (Delay) Update Installation on Windows...

April 11, 2025

How to Write Logs to the Windows Event...

March 3, 2025

1 comment

Joe October 30, 2024 - 1:04 pm

Great article. When granting SendAs permission to a Team (office 365 group) it doesn’t seem to allow sending from classic outlook – always get a permission error. But it works from Outlook web & new outlook. Have you experienced this behavior? Know a fix?

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMware
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Outlook Keeps Asking for Password on Windows
  • Checking User Sign-in Logs in Entra ID (Microsoft 365)
  • How to Manually Configure Exchange or Microsoft 365 Account in Outlook 365/2019/2016
  • Search and Delete Emails from User Mailboxes on Exchange Server (Microsoft 365) with PowerShell
  • Fix: Microsoft Outlook Search Not Working on Windows 10/11
  • Blank Sign-in Screen in Office 365 Apps (Outlook, Teams, etc.)
  • Removing Built-in Teams Chat in Windows 11
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top