troubleshooting Question

Exchange 2007 Shell - granting full access to RSG mailbox

Avatar of mddg
mddgFlag for Afghanistan asked on
ExchangeMicrosoft ApplicationsMicrosoft Enterprise
2 Comments1 Solution774 ViewsLast Modified:
I need to do a restore from a recovery storage group, of a mailbox that the AD account is no longer available.

To do this, i need to export the mailbox from the RSG to an active mailbox, which means granting my user account full access to the RSG mailbox.

So far, this is as close as I've gotten, but it does not work.

get-mailboxdatabase -identity "server\recovery storage group\mailbox database" | add-mailboxpermission "lastname, firstname" -user "domain\myaccount" -accessrights Fullaccess

Using this command I get this error:

Add-MailboxPermission : The input object cannot be bound to any parameters for
the command either because the command does not take pipeline input or the inpu
t and its properties do not match any of the parameters that take pipeline inpu
At line:1 char:105
+ get-mailboxdatabase -identity "server\Recovery storage group\mailbox databa
se" | add-mailboxpermission <<<<  "lastname, firstname" -user domain\myaccount -acc
essrights fullaccess
    + CategoryInfo          : InvalidArgument: (server\Recove...ailbox Datab
   ase:PSObject) [Add-MailboxPermission], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.Exchange.Managemen

Assistance would be greatly appreciated!!

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros