[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Full Mailbox Permission for Group members

Posted on 2014-03-05
6
Medium Priority
?
2,958 Views
Last Modified: 2014-03-06
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-DistributionGroupMember “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.
0
Comment
Question by:ipsec600
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:jimmithakkar
ID: 39908464
given example will work
0
 
LVL 31

Expert Comment

by:Gareth Gudger
ID: 39908468
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'
0
 

Author Comment

by:ipsec600
ID: 39910575
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-DistributionGroupMember “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.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 31

Accepted Solution

by:
Gareth Gudger earned 2000 total points
ID: 39910658
This doesn't look correct to me. The $_.Name would be assigning every user out of "Test Group" to have full access to TestAccess' mailbox. This command appears to be giving many people from a group full access to one mailbox.

I wonder if this would work. I don't have the ability to test right now. Use with caution.

Get-DistributionGroupMember “Test Group” | foreach-Object { Add-MailboxPermission $_.Name –AccessRights FullAccess –user "testaccess"}
0
 

Author Comment

by:ipsec600
ID: 39910786
Awesome!!!it works perfectly.

Get-DistributionGroupMember “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-DistributionGroupMember “Test Group” | Add-MailboxPermission -User "testaccess" -AccessRights FullAccess

Thank you once again for your excellent advise.
0
 
LVL 31

Expert Comment

by:Gareth Gudger
ID: 39910971
Awesome!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question