Add security group to Mailbox to allow multiple users to send email with "send on behalf" permission using centralize mailbox.
I have a task to finish.
In my place i need to create a centralize mailbox on Exchange 2010. For example,
user A,B,C,D need to have access to this mailbox "MailBox2" along with them individual mailboxes in
outlook 2003/2007. All four users need to have "Send on behalf" permission to send email from this mailbox too.
So now on exchange 2010 i have created "MailBox2" and a security group "Security MailBox2". All four users have been added to this security group and this security group has been added to "MailBox2" permission. Now
i can add this mailbox to all four users outlook.
To allow "Send on behalf" permission, i have added all four users to "Mailbox2" send of behalf permission. All working fine, no problem.
My question is what if i have more than 50 users to have such facility. It is very hard to add all 50 users to security group and 50 again to give "send on belf" permission.
Is there any way i could add same security group "Security MailBox2" to allow "send of behalf" permission so i do not need to add all 50 users to list twice?
October 26th, 2012 4:18pm
Try powershell script... it will be quite easy to do it.
#To be modified
$AllUsers = Get-Content "path_user_list.txt"
For Each ($user in $AllUsers){
Add-ADGroupMember -Identity GroupSecurity -Member $user
Set-Mailbox Mailbox2 -GrantSendOnBehalfTo $user
}
or you can create a distributiongroup and grant right to it.
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 4:46pm
On Fri, 26 Oct 2012 20:34:52 +0000, Nolwen wrote:
>Try powershell script... it will be quite easy to do it. #To be modified
>$AllUsers = Get-Content "path_user_list.txt"
>
>For Each ($user in $AllUsers){
>Add-ADGroupMember -Identity GroupSecurity -Member $user
>Set-Mailbox Mailbox2 -GrantSendOnBehalfTo $user
>}
If you already have a distribution group populated with the required
users you can use:
get-distributiongroupmember <name> | foreach {
Set-Mailbox Mailbox2 -GrantSendOnBehalfTo $_
}
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
October 26th, 2012 5:23pm
Hi Paurav,
Any updates?Frank Wang
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
October 29th, 2012 2:11am