Assign "Send on behalf" permission to a distributiongroup (Exchange 2007)
Hi I'm trying to assign globaly the "send on behalf" permission to a mailbox for a distributiongroup. I allready assigned succesfully this permission to a user by using Code Snippet set-mailbox "user" -GrantSendOnBehalfTo "otherUser" When I use the same command but with the group instead of "otherUser" there's amesssage tellingme that Exchange cannont find the group. When I try to assign the permissions using the management console there's actually the same problem: I cannot see the Distributiongroup and therefore cannot assign the permission either. But - now the interesting part - when I start outlook (2007 or 2003) and then try to assign the delegation rights to the distributiongroup everything works fine... My problem is actually that each user had to assign the right group by itself and I'm worring a bit about if the users will be able to do that correctly... Is there a way to assign the permission through a Management shell command?
September 19th, 2007 5:13pm

I used the exact same PS cmdlet to assign to a mail enabled security group...maybe that's what it needs....just a guess.
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2007 8:10pm

I thougt a security group will become mail enabled when I create a distribution group using that security group, won't it? If it doesn't could you please tell me how to mail enable a security group? Thanks in advance.
September 21st, 2007 10:45am

You cannot assign permissions to distribution groups. Permissions can only be assigned to security groups. Are you running Exchange 2007 or earlier? -In Exchange 2000 and 2003 you create mail enabled security groups the same way you would distribution. Exchange 2007 http://technet.microsoft.com/en-us/library/bb123805.aspx(How to Mail-Enable a Security Group)
Free Windows Admin Tool Kit Click here and download it now
September 24th, 2007 7:28pm

Hey Guys Thanks for your support. Unfortunatelly nothing helped to solve the problem... Therefore I now give up on it and will let do it the users by hand... Thanks again.
September 26th, 2007 1:19pm

Michael Leuzinger wrote: Hey Guys Thanks for your support. Unfortunatelly nothing helped to solve the problem... Therefore I now give up on it and will let do it the users by hand... Thanks again. http://support.microsoft.com/kb/273459 Use this workaround for Send on Behalf of permissions to asecurity group. Remember the security group MUST be mail enabled! WORKAROUND To grant "Send on Behalf Of" permissions to all users on a distribution list: 1. In Outlook, log on to the mailbox to which you want to give access. 2. On the Tools menu, click Options. 3. On the Delegates tab, click Add. 4. Click the distribution list to which you want to grant "Send on Behalf Of" permissions, click Add, and then click OK. 5. Choose the delegate permissions that you want, and then set Inbox to Author or Editor for "Send On Behalf Of" permissions. 6. Click OK, and then click OK.
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2008 2:35am

Is there updated information for Exchange Server 2003? I'm using Outlook 2003 also and you can't log on to a Distribution or Security mailbox. Any help would be most appreciated. Thanks~
March 19th, 2008 9:08pm

Hi there.If its mail enabled security group, just go to active directory users and computer , click advanced features from the view menu. Double click the group that you wanna modify, go to security option, add the user and give ''send as'' right.Best Regards,
Free Windows Admin Tool Kit Click here and download it now
September 26th, 2008 1:58pm

You can grant "Send on Behalf" permissions using the powershell as follows:Set-DistributionGroup -Identity GroupName -GrantSendOnBehalfTo User1,User2
December 3rd, 2008 11:26pm

Hi Guys, simple script to achieve the above WITHOUT having to enter the member names by hand....which I think is what was being asked...it's a year late but I've only just got into powershell...RegardsBarnsey123-----cut and paste the below ----# sendonbehalf.ps1# Neil Barnes 27/11/2009# Powershell script to automate the GrantSendOnBehalfTo privilege to members of a mailgroup # Usage: Open Exchange Management Shell (EMS)# .\sendonbehalf.ps1 MAILGROUPNAME# e.g. .\sendonbehalf.ps1 mymailgroup# Get Mailgroup name from 1st argument $mailgroup # Get list of users from the enterered mailgroup $users =Get-DistributionGroupmember $mailgroup | foreach { $_.Name }# Grant the privilege Set-DistributionGroup-identity $mailgroup -GrantSendOnBehalfTo $users# Display the results Get-DistributionGroup $mailgroup | fl GrantSendOnBehalfTo $mailgroup | fl GrantSendOnBehalfTo $mailgroup | fl GrantSendOnBehalfTo $mailgroup | fl GrantSendOnBehalfTo -identity $mailgroup -GrantSendOnBehalfTo $users=$args[0]
Free Windows Admin Tool Kit Click here and download it now
December 8th, 2009 3:42pm

Copy and paste a bit of a mess - sorry, you should get the idea though...
December 8th, 2009 3:48pm

Hello dear collegues of the forum. Thank to this thread (Barnsey123) I will post what, for my opinion, is the solution. I have to grant to all the members of a distribution group the rights to Send on Behalf of the same distribution group. NOT the right to SEND AS, because I want the recipient clearly know who is the sender. So, using EMS I put on var the array of the name of the users who are member of the Distribution group: $Users= Get-DistributionGroupMember "<name of the group>" | foreach {$_.name} Now if you type $Users you will get the name of all the users. Then you assign the array to the GrantSendOnBehalfTo Attribute of the distribution group. This is the command: Set-DistributionGroup "<name of the group>" -GrantSendOnBehalfTo $Users Now if you get the Get-DistributionGroup "<name of the group>" | fl Grant* you will see all the users. And, infact, it is working as I expected. Bye Enrico
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2010 4:41pm

On Mon, 3 May 2010 13:41:00 +0000, Enrico Giacomin wrote: > > >Hello dear collegues of the forum. > >Thank to this thread (Barnsey123) I will post what, for my opinion, is the solution. I have to grant to all the members of a distribution group the rights to Send on Behalf of the same distribution group. NOT the right to SEND AS, because I want the recipient clearly know who is the sender. > >So, using EMS I put on var the array of the name of the users who are member of the Distribution group: > >$Users= Get-DistributionGroupMember "<name of the group>" | foreach {$_.name} > >Now if you type $Users you will get the name of all the users. Then you assign the array to the GrantSendOnBehalfTo Attribute of the distribution group. This is the command: > >Set-DistributionGroup "<name of the group>" -GrantSendOnBehalfTo $Users > >Now if you get the > >Get-DistributionGroup "<name of the group>" | fl Grant* > >you will see all the users. And, infact, it is working as I expected. Sure . . . until you add another person to the DL. :-) --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
May 4th, 2010 5:36am

On Mon, 3 May 2010 13:41:00 +0000, Enrico Giacomin wrote: ... >you will see all the users. And, infact, it is working as I expected. Sure . . . until you add another person to the DL. :-) --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP Can anyone suggest another solution that doesn't run into the problem Rich has pointed out? Thanks
Free Windows Admin Tool Kit Click here and download it now
June 24th, 2010 5:11pm

Hello, You only need to add this DL on the attribute called publicdelegation from the adsiedit. This will resolve the problem :) Thanks
July 29th, 2010 12:58pm

Thanks ahmed.badawy, it works perfectly! :)
Free Windows Admin Tool Kit Click here and download it now
June 1st, 2011 4:10pm

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

Other recent topics Other recent topics