ipsec600
asked on
Full Mailbox Permission for Group members
In my environment I am using Exchange 2010, & I need to provide a service account which will have full permissions to create, update, and delete items for exchange mailbox for those users who are a member of a group. Meaning that service account will have full permission for those users who are member of a specific group, please advise which power shell command I can use to do so.
Service Account>Full mailbox permission on group members>ultimately full permission of the member of the group
So far I have found the following in the below URL:
http://social.technet.microsoft.com/Forums/exchange/en-US/9840fd13-daf8-45aa-ab35-4a827f1ba1e0/exchange-2010-unable-to-assign-full-access-permissions-using-a-security-group?forum=exchangesvrgenerallegacy
“If you only want members (in this security group) to have full access permission on the mailbox, you can use this command to achieve the goal:
Get-DistributionGroupMembe r “Test Group” | foreach-Object { Add-MailboxPermission “Usermailbox” –AccessRights FullAccess –user $_.Name}
Not sure does the power shell command will be applicable for my above requirement, as because if I follow the above power shell command in this case group member will have full mailbox permission to a mailbox but my requirement is opposite, i.e service account will have full mailbox permission to group members, can you please advise.
Service Account>Full mailbox permission on group members>ultimately full permission of the member of the group
So far I have found the following in the below URL:
http://social.technet.microsoft.com/Forums/exchange/en-US/9840fd13-daf8-45aa-ab35-4a827f1ba1e0/exchange-2010-unable-to-assign-full-access-permissions-using-a-security-group?forum=exchangesvrgenerallegacy
“If you only want members (in this security group) to have full access permission on the mailbox, you can use this command to achieve the goal:
Get-DistributionGroupMembe
Not sure does the power shell command will be applicable for my above requirement, as because if I follow the above power shell command in this case group member will have full mailbox permission to a mailbox but my requirement is opposite, i.e service account will have full mailbox permission to group members, can you please advise.
given example will work
Hmm not sure on that. But you could put all the members of that group into an OU and run the following command and achieve what you are looking for.
get-mailbox -OrganizationalUnit "DOMAIN.LOCAL/MYOU" | Add-MailboxPermission -user serviceaccount -AccessRights 'FullAccess'
get-mailbox -OrganizationalUnit "DOMAIN.LOCAL/MYOU" | Add-MailboxPermission -user serviceaccount -AccessRights 'FullAccess'
ASKER
Hi jimmithakkar, thanks for your reply, I tried following the below steps:
i. Created one test group called "Test Group"
ii. Created four test users test1, test2, test3, test4, and make those users member of the group.
iii. Create another user called "testaccess"
iv. Run the below power shell command:
Get-DistributionGroupMembe r “Test Group” | foreach-Object { Add-MailboxPermission “testaccess” –AccessRights FullAccess –user $_.Name}
Outcome is :
Command completed successfully but when I checked user mailbox(test1,test2,test3, test4) properties did not found that test account(testaccess) received full access permission.
Hi diggisaur, thanks for your reply, yes I tried with OU and followed your command and it works perfectly.
But my requirement is to follow the above stated steps from (i, ii, iii), ultimately one user will receive full mailbox access to all the members of the group.
Appreciate if you guys can advise.
i. Created one test group called "Test Group"
ii. Created four test users test1, test2, test3, test4, and make those users member of the group.
iii. Create another user called "testaccess"
iv. Run the below power shell command:
Get-DistributionGroupMembe
Outcome is :
Command completed successfully but when I checked user mailbox(test1,test2,test3,
Hi diggisaur, thanks for your reply, yes I tried with OU and followed your command and it works perfectly.
But my requirement is to follow the above stated steps from (i, ii, iii), ultimately one user will receive full mailbox access to all the members of the group.
Appreciate if you guys can advise.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Awesome!!!it works perfectly.
Get-DistributionGroupMembe r “Test Group” | foreach-Object { Add-MailboxPermission $_.Name –AccessRights FullAccess –user "testaccess"}
and I have also tested with the below command and found it also works
Get-DistributionGroupMembe r “Test Group” | Add-MailboxPermission -User "testaccess" -AccessRights FullAccess
Thank you once again for your excellent advise.
Get-DistributionGroupMembe
and I have also tested with the below command and found it also works
Get-DistributionGroupMembe
Thank you once again for your excellent advise.
Awesome!