In this Tutorial we will go over the configuration required to configure both Send as and Send on Behalf of in Distribution Groups in Exchange Server 2013. These options are more used in mailboxes but they can also be used in Distribution Groups.
In order to demonstrate and test both settings we will use two distributions groups previously created in this Tutorial. The groups that will be used are displayed using the following cmdlet which lists all Distribution Groups of your Organization:
Managing Send as…
The Send as is configured through a permission on the Active Directory object, and in order to allow the user called number6 to send as the zz_IT Group distribution group we will be using the cmdlet Add-ADPermission. The cmdlet syntax and an example is shown in the figure below.
Add-ADPermission “<Distribution-Group>” –ExtendendRights Send-As –User <mailbox>
In order to test the new configuration, let’s log on Outlook Web Access (OWA) using Number6 credentials, and we will create a new message, on the new page we will click on … and then Show From, by doing that we can chose which account will send any given message.
Now that the From field is available we will delete Number6 from that field and we will add zz_IT Group and we can type in the SMTP address or use the auto-complete feature from the Global Address List, the result will be the SMTP address being listed, and we will send this test message to the user called Number2.
A new message will arrive on Number2’s mailbox, and it will come from the zz_IT Group which means that the Send As is working properly.
Managing Send on Behalf of…
The Send on Behalf of is slight different from Send As because this configuration is one attribute of the Distribution Group. In order to configure it we will use the Set-DistributionGroup cmdlet. In the following example, we will configure the user email@example.com to send messages on behalf of zz_Marketing Group group.
Set-DistributionGroup “<DistributionGroup>” –GrantSendOnBehalfTo <user>
If you want to list all Distribution Groups of your Organization (by default up to 1000 entries) you can run the following cmdlet and it will list the Distribution Group name and the current value for Grant Send on Behalf to attribute.
Get-DistributionGroup | Select Name,*SendOnBehalf*
Time for a new test, the process on the end-user is the same, we need to expose the From field like we did in the previous section, and we will be sending a message to number2 using the group zz_Marketing Group, as shown in the image below.
The result will be a new message on Number2’s mailbox, however at this time the message says on the From field Number6 on behalf of zz_Marketing Group which means that the configuration worked properly.
Using the settings described in this Tutorial you will be able to manage both send as and send on behalf of feature on Distribution Groups in Exchange Server 2013.