How to configure Send on Behalf or Send As permissions for a Distribution GroupThere are numerous reasons to let users send email on behalf of as a distribution group. But before going through EMS codes let's define the difference between the two.
When a user who has Send As permission in a mailbox sends a message through that mailbox, the From field shows the mailbox owner as the sender. For example, let's say that I send a message through the Support mailbox, which is a distribution group for the Support department. The From field of the resulting message comes from the Display Name field of the account that owns the mailbox, which in this example I'll assume is Support. My name doesn't appear in the From field at all, and replies are directed to the Support e-mail address.
Send On Behalf, also called delegate permission, works a bit differently. If I grant Send On Behalf permission in a mailbox or public folder to a given user, that delegated user can send messages on behalf of that mailbox or folder. The From field reads <user> on behalf of <distribution group>.
To configure Send on Behalf:
Set-DistributionGroup "Distribution Group Name" -GrantSendOnBehalfTo "User1","User2","User3"
GrantSendOnBehalfTo is a multi-valued properties. You must have all users when you set the properties. You could not run the following for example :
Set-DistributionGroup "Distribution Group Name" -GrantSendOnBehalfTo "User1" Set-DistributionGroup "Distribution Group Name" -GrantSendOnBehalfTo "User2" Set-DistributionGroup "Distribution Group Name" -GrantSendOnBehalfTo "User3"
Only User3 would have the permission to send on behalf then.
Now if you want to set SendAs to user 1, user 2 and user 3 here is how :
Add-AdPermission "Distribution Group Name" -user user1@domain.com -AccessRights extendedright -ExtendedRights "send as"
Add-AdPermission "Distribution Group Name" -user user2@domain.com -AccessRights extendedright -ExtendedRights "send as"
Add-AdPermission "Distribution Group Name" -user user3@domain.com -AccessRights extendedright -ExtendedRights "send as"
Note: “Send as” as precedence over “Send on behalf” if you configure both.
--------------------
This article has been provided by Martin Gagnon from ITGeneration.ca |