Add-MailboxPermission for specific resource type
Hi All, Is there a way to assign access rights using the Add-MailboxPermission cmdlet to target all room resources? For example if you create a Universal group called "Outlook Resource Administrators" is there a way of applying full access rights to all room resources for this group? I'm not having much luck finding the answer... if there is one! Thanx in advance. Dave
June 26th, 2008 9:09am

Hello Dave, Below command gives FullAccess to Outlook Resource Administrators group on all Room resources. Get-Mailbox | where{$_.RecipientTypeDetails -eq "RoomMailbox"} | Add-MailboxPermission -User "Outlook Resource Administrators"-Accessright Fullaccess Hope this helps you...
Free Windows Admin Tool Kit Click here and download it now
June 26th, 2008 9:23am

Oh Mate! Just tested and it works a treat! You are a Legend!!!! Thank you very much! Dave PS It did not add to every single room resource (98% did!). Any ideas why it wouldn't do all of them???
June 26th, 2008 9:51am

Glade to hear that it worked This would help you if you are planning for split permissions model in your org. Split Permissions Model Reference Do you get any error while giving permission to 2% of them? Try by giving permission individually and see if any error. Earlier command filters all the mailbox with recipient type RoomMailbox so check anyone of remaining mailbox with below command to make sure thatit shows RoomMailbox in recipient type, ifnot then it fails to give permission. Get-Mailbox Name | fl Name, RecipientTypeDetails
Free Windows Admin Tool Kit Click here and download it now
June 26th, 2008 10:30am

Hi Amit, I did as you requested on one of the "Missing Room Mailboxes" and ran the command above. Confirmed it was Room Resource and I manually added the permissions for "Outlook Resource Administrators" OK. In the Exchange Management Console it lists 80 room resources yet when I run your command above and export to a CSV it only lists 67. I've checked permissions and can't find any difference. The only common element all the new rooms have is that they were created recently. Any ideas? Cheers, Dave
July 2nd, 2008 6:51am

Then I have doubt that RecipientTypeDetails is not updated properly for new room resource, it doesn't make any difference on mailbox. You can run this command to see if it is updated properly or not. Get-Mailbox Any New Room Mailbox | FL Name, RecipientTypeDetails Another way is below to get list of all room mailboxes. Get-Mailbox | where{$_.IsResource -eq "True"} And another way to give permission to all of them is Get-Mailbox | where{$_.IsResource -eq "True"} | Add-MailboxPermission -User "Outlook Resource Administrators"-Accessright Fullaccess
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2008 7:10am

I used the Add-MailboxPermission cmlet to add a user group with full access. No problem.The group shows up when I look at Manage Full Access Permission for the resource. The problem is users added to the group don't have access. They get the following message when trying to view the calendar. "You do not have permission to view this calendar."Any ideas?Thanks,Ron
April 8th, 2009 11:35pm

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

Other recent topics Other recent topics