• 1. London, UK
  • 2. New York, NY
  • 3. Sydney, Australia
  • 4. Melbourne, Australia
  • 5. Paris, France
  • 6. Bangalore, India
  • 7. Amsterdam, Netherlands
  • 8. San Francisco, CA
  • 9. Hong Kong
  • 10. Houston, TX

Thursday, June 28, 2007

 

HOW TO: Grant Full Mailbox Access permission

Posted by Bharat Suneja at 5:52 PM
Follow-up to previous post titled "HOW TO: Assign SendAs right using Exchange shell" - the ability to assign SendAs and ReceiveAs permissions is preserved in AD Users & Computers, but the ability to grant Full Mailbox Access permission isn't available. Full Mailbox Access is a mailbox permission (without getting into a debate about what's a permission and what's a right, the term is used interchangeably here). In Exchange Server 2003/2000, mailbox permissions can be controlled from the Exchange Advanced tab | Mailbox Rights, as seen in the following screenshot.


Figure 1: In Exchange Server 2003/2000, mailbox permissions can be managed from ADUC

Since Exchange Server 2007 does not use ADUC for recipient management, this can't be done using ADUC.

The shell is your friend when it comes to assigning Full Mailbox Access and other mailbox permissions. You can use the Add-MailboxPermission command from the shell to assign it.

In the following example, we assign Full Mailbox Access permission on Joe Adams' mailbox to another user (janea):

Add-MailboxPermission "Joe Adams" -AccessRights FullAccess -user "janea"

Besides FullAccess, the following mailbox permissions can be granted using Add-MailboxPermission: 1) SendAs 2) ExternalAccount 3) DeleteItem 4) ReadPermission 5) ChangePermission 6) ChangeOwner

Viewing permissions using Get-MailboxPermission

To view permissions on a mailbox, use the Get-MailboxPermission command:

Get-MailboxPermission "Joe Adams"

To view explicitly assigned permissions (i.e. permissions that are not inherited):

Get-MailboxPermission "Joe Adams" | where {$_.IsInherited -eq $false}

To view all security principals with Full Access permission on a mailbox:

Get-MailboxPermission "Joe Adams" | where {$_.AccessRights -like "*FullAccess*"}

Managing Full Mailbox Access using the EMC in Exchange Server 2007 SP1

Exchange Server 2007 SP1 adds management of Full Mailbox Access permission to the EMC.
1. From Recipient Configuration | Mailbox | select mailbox.
2. In the Action pane (or by right-clicking the mailbox), click Manage Full Mailbox Access...


Figure 2: Exchange Server 2007 SP1 allows management of Full Mailbox Access permission from the EMC

Labels: , , , ,

19 Comments:

January 16, 2008 1:41 PM
Anonymous Anonymous said...

How do you assign full mailbox permissions to all mailboxes in a mailstore? I'm wanting to give an Exchange Admin group full access to all mailboxes for administrative purposes but the only way I've found is by doing it on each mailbox individually which is no good with a large number of mailboxes...

 
March 4, 2008 2:00 AM
Blogger Gasper said...

Get-MailboxDatabase -identity "SERVERNAME\First Storage Group\Mailbox Database" | Add-ADPermission -user administrator -AccessRights FullAccess

 
April 25, 2008 8:52 AM
Anonymous Anonymous said...

The previous post didn't work for me...

However, the following did (only a small change at the end)

Get-MailboxDatabase -identity "SERVERNAME\First Storage Group\Mailbox Database" | Add-ADPermission -user administrator -AccessRights GenericAll

 
May 12, 2008 10:13 AM
Anonymous Anonymous said...

Neither of these work for me? I'm putting in exactly like both of you do... with my server name and storage group and database name... and I'm getting an error.

When I try full access it tells me to choose another parameter... so I choose generic all and I get this error.

couldn't be performed because object 'SIPXX\Archive Storage Group\Archive Database' could not be found on the domain controller 'sipxx etc.

Any idea's?

 
May 12, 2008 10:17 AM
Anonymous Anonymous said...

I get an error... trying to do that...

The operation could nore be performed because 'sipxx\storage group\storage database' could not be found

I checked to make sure everything is spelled right. I do not know what I'm doing wrong?

Any assistance would be appreciated!

 
June 30, 2008 12:37 PM
Anonymous Anonymous said...

Thanks, worked like a charm FYI to add a group like Domain Admins just enclose it in quotes but still use the -user (i.e. -user "Domain Admins")

 
August 25, 2008 3:29 PM
Anonymous Anonymous said...

Use Get-MailboxDatabase -identity "Mailbox Database" | Add-ADPermission -user administrator -AccessRights FullAccess

that should work

 
September 1, 2008 6:55 PM
Anonymous Anonymous said...

Get-MailboxDatabase -identity "SERVERNAME\First Storage Group\Mailbox Database" | Add-ADPermission -user administrator -AccessRights GenericAll


worked sweet for me logged on as administrator running the command from the mail server. all i changed was SERVERNAME to our servers name.

 
September 9, 2008 3:15 AM
Anonymous Anonymous said...

I am trying to do this task, but I wish to assign a mailbox to be used by a Group with full permission. However, assigning it to a group does not allow it to be opened. Only to individual users... is this common?

I wish an Admin Group who I have set up, containing certain members, to be able to have access to the email of one mailbox. Any ideas? email: airaura@gmail.com or karl.pennington@railtech.co.uk

 
October 22, 2008 7:10 AM
Anonymous Kyle Barringer said...

It's much easier to do the same with security explorer for microsoft exchange .

I've been using this new tool from ScriptLogic and really like it. You don't need to navigate multiple menus - you can do everything from a tree view.

Security explorer also inludes permissions cloning abilities for transfering permissions from one account to another as well as quite powerful backup and reporting features.

 
November 4, 2008 2:58 PM
Anonymous Bob Region said...

Thank you very much for this information. I searched MSDN and help for succinct descriptions of these commands and fell short. Again, thank you!

 
January 28, 2009 10:34 AM
Anonymous Anonymous said...

Get-MailboxDatabase -identity "SERVERNAME\First Storage Group\Mailbox Database" | Add-ADPermission -user "Domain Admins" -AccessRights GenericAll

Worked perfectly for me, one question tho, this will effect all mailboxes that currently exist, what happens when you create new mailboxes? Is there no way of adding a user or group so it is inherited automatically?

 
February 20, 2009 6:19 AM
Anonymous Anonymous said...

I'm trying to grant access for a group in Active Directory full access to a specific OU group mail boxes at once without having to do each, one at a time...anyone know if this can be done?

 
February 23, 2009 1:23 PM
Blogger Bharat Suneja said...

You can use Get-Mailbox to get mailboxes and pipe them to the Add-MailboxPermission cmdlet.

To get mailboxes in an Organizational Unit or container:
Get-Mailbox -OrganizationlUnit "MyOU" | Add-MailboxPermssion -User "UserOrGroup" -AccessRights FullAccess

You can also filter mailboxes by Database, Server, Anr, RecipientTypeDetails (Rome/Equipment/Linked, etc.), or use the -Filter parameter to specify an OPATH filter.

If using the -Filter parameter, you cannot use the other filtering mechanisms in the cmdlet (Database, OU, etc.). Look at the list of filterable properties you can use in the Filter parameter:
OPATH: Filterable properties that can be used in Recipient Filters.

 
October 25, 2009 10:09 PM
Anonymous Anonymous said...

Thx Guys,

Get-MailboxDatabase -identity "SERVERNAME\First Storage Group\Mailbox Database" | Add-ADPermission -user "Domain Admins" -AccessRights GenericAll

worked a treat, just need to repeat on all databases and i used Exchange Organization Administrators instead of Domain Admins as it was more logical to my environment.

cheers

Adam

 
November 26, 2009 12:10 PM
Anonymous Anonymous said...

Thanks Guys,

I was searching all over the Internet buy could not find what I was looking for even from the msft site, but you guys had the answer, thanks again

Thanks
ROshan

 
December 18, 2009 6:58 AM
Anonymous Anonymous said...

This worked for me; and I didn't have to enter it over every data store. I was able to open & manipulate all aspects of a users mailbox. Any thoughts on why this would be different then the above?

get-mailboxdatabase -server "srvch-exch" | add-adpermission -user "myusername" -extendedrights receive-as

(srvch-exch is our cluster)

 
January 6, 2010 3:54 PM
Anonymous Jimdar said...

The above script applied to all databases on the server because you didn't specify a database identity. You will see this returns all databases if you just run the first part of the script below in the EMS. This is nice if you have multiple databases per server.

Get-MailboxDatabase -Server "ServerName"

 
February 8, 2010 10:36 AM
Anonymous Anonymous said...

Anyone know how to assign full access to all domain users at once?

 

Post a Comment

Links to this post:

Create a Link

<< Home