Send on Behalf of Permissions for Shared Mailboxes on Exchange 2007
I'm wondering if someone can help me with setting up send on behalf of rights for a shared mailbox on Exchange 2007? I've created the shared mailboxes by using the powershell command "New-Mailbox -Name:'Test' -OrganizationalUnit:'Domain/OU' -Database:'MyDatabase' -UserPrincipalName:'test@test.co.uk' -Shared". I've then assigned a security group to have full permissions to the shared mailbox- Add-MailboxPermission Test -User:'Test_SecurityGroup' -AccessRights:FullAccess. The thing i'm struggling with is the best way to assign Send on behalf of permissions to the shared mailboxes. I dont want "Send As" permissions which is a shame because this can be assigned easily to a security group and i dont want to individually add users to have rights to send on behalf of as i have a lot of mailboxes to create.... They best way i can think of doing it so far would be using the "Get-DistributionGroupMember" command and piping the results to the "Set-Mailbox -GrantSendOnBehalfTo" command but i dont know how to get it to work properly. Can someone please advise how to run a command so it will add the members of a security group to send on behalf of a shared mailbox?
July 9th, 2009 1:55pm

Try this... $members = Get-DistributionGroupMember -identity "Group Name"; $exs = (Get-Mailbox -Identity SharedMailboxName).GrantSendOnBehalfTo; ForEach($member in $members) {$exs += $member.identity}; Set-Mailbox -Identity Shared -GrantSendOnBehalfTo $exs Amit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2009 6:43pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics