Quantcast
Viewing all articles
Browse latest Browse all 120

Grant full access to a group on a mailbox in Multi-tenant Hosted Exchange environment with a PowerShell oneliner

Yesterday I helped a fellow IT Pro out with an issue concerning Exchange and PowerShell.
Why user PowerShell? Well, in an Exchange 2010 SP2 Multi-tenant hosted environment there isn’t a management console Image may be NSFW.
Clik here to view.
Knipogende emoticon

His goal was to use PowerShell to set full access rights for a group of users on a specific mailbox inside a multi-tenant environment.

When you look at the Add-MailboxPermissions cmdlet, you’ll see that there is a –User parameter. But when you would also expect a –Group parameter you will get a little disappointed; there isn’t any Image may be NSFW.
Clik here to view.
Bedroefde emoticon

All credits go toward the IT Pro I was helping, he found that instead of putting a username after the –User parameter, you can simple put a group name in there and it will work like a charm! Image may be NSFW.
Clik here to view.
Verhitte emoticon

Add-MailboxPermission -Identity “user” -User “groupname” -AccessRights FullAccess -InheritanceType All

To me, this just doesn’t sound logical since a user is a user and not a group. So I’m hoping Microsoft will either change the name for the parameter or create a –Group parameter… but that’s for them to decide Image may be NSFW.
Clik here to view.
Glimlach


Viewing all articles
Browse latest Browse all 120

Trending Articles