Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

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

December 26, 2022 ExchangeMicrosoft 365Office 365OutlookPowerShell

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. To do it, 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 secr[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 mun_a[email protected] -GrantSendOnBehalfTo @{Add="[email protected]"}

To delegate SendOnBehalf permissions on a dynamic distribution group:

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

Learn more about how to manage Exchange mailbox permissions.

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 HenriM@woshub.onmicrosoft.com | 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]

0 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

How to Connect VPN Before Windows Logon

November 14, 2023

Send Emails with Microsoft Graph API and PowerShell

November 6, 2023

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

October 15, 2023

Leave a Comment Cancel Reply

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

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Outlook Keeps Asking for Password on Windows
  • How to Manually Configure Exchange or Microsoft 365 Account in Outlook 365/2019/2016
  • Whitelist Domains and Email Addresses on Exchange Server and Microsoft 365
  • Moving Exchange Mailboxes to Different Database
  • FAQ: Licensing Microsoft Exchange Server 2019/2016
  • How to Cleanup, Truncate or Move Log Files in Exchange Server 2013/2016/2019?
  • Search and Delete Emails from User Mailboxes on Exchange Server (Microsoft 365) with PowerShell
Footer Logo

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


Back To Top