Exchange 2010 multi-Tenant environment

I am having a hard time trying to figure out the command to give full access rights for an exchange mailbox. I'm trying to give full rights to a specific mailbox for another user.  

I am in a hosted environment so the exchange management console is not available.  Also, everything i am finding only relates to standard exchange setups as where my problem is in a hosted environment where i have to identify the organization in question.

Can someone help?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
do you have powershell?

Add-MailboxPermission "Mailbox" -User "Trusted User" -AccessRights FullAccess

refer to this document for more options :
TheGeeksCentralCAAuthor Commented:
nope.. this is for standard exchange setup only.  does not work for a multi-tenant setup.
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
ok see here .. how to login to console

wish that help
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

TheGeeksCentralCAAuthor Commented:
the ECP is limited on what it can do.  The one feature that ECP can not control is giving access rights to a mailbox which needs to be done in the EMS.
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
use exchange remote powershell its same of EMC and will help you in command lines
Madan SharmaConsultantCommented:
Run this cmdlet:-
[PS] C:\>Get-Mailbox -Identity | Add-MailboxPermission -User "" -AccessRights FullAccess

Open in new window

Hope it will be helpful for you....
Madan SharmaConsultantCommented:
@TheGeeksCentralCA would like to tell you that the cmdlet provided by @jordannet will also work for you. To use that you have to provide mailbox unique Identity as UPN. This is because in multi tenant hosting environment exchange can have two users with same name but UPN name can't be the same ever. So when ever you want to apply any settings on users in multi-tenant  environment you have to privide the unique Identity of users.

Hope this will also be helpful for you...
Good Luck
TheGeeksCentralCAAuthor Commented:
nope, didnt work. I get a Unexpected token 'C:\>Get-Mailbox' in expression or statement
James HIT DirectorCommented:
For multi-tenant you will need to add an additional marker to ID a mailbox.

should be: Get-Mailbox -Organization <<put org name here>> -id xxxxx ....
TheGeeksCentralCAAuthor Commented:
Nope.. still doesnt work. I get the same error.  "Unexpected Token"

this is what i am typing in just so you guys see that i am typing it in correctly.

Get-Mailbox -Organization "org name" -Identity | Add-MailboxPermission -User "" -AccessRights FullAccess

Replacing the org name and email addressess with the appropriate as needed.
James HIT DirectorCommented:
OK, how many CAS and HUB servers?
Could be possible you have too many CLI sessions open and not loading all the commands.
I have seen some weird behavior with Hosted mode clusters and this was one of them.
I would close check all servers and make sure there are no active sessions and close all of them out, then close CLI and re-open.
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
Madan SharmaConsultantCommented:
Please share the error screenshot. So that we can analyze where the issue is exactly.
TheGeeksCentralCAAuthor Commented:
here is the screenshot.

 screenshot screenshot
Madan SharmaConsultantCommented:
try this and get back with result:-

Add-MailboxPermission -Identity ''" -User "" -AccessRights FullAccess

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TheGeeksCentralCAAuthor Commented:
Nope didnt work. here is the results.
Madan SharmaConsultantCommented:
it looks like the logged on user does not have permission...

check this link:-
TheGeeksCentralCAAuthor Commented:
i do have permission. i am the only admin on this box. i have god rights. i can do anything and everything else.
Madan SharmaConsultantCommented:
We do understand that you are the top level admin but when we create new organization in hosted  environment it create it own permission group or administrator. So please add your admin once in the ou administrators group. and then try.
Madan SharmaConsultantCommented:
Also did you read the article which I have given to you if not then please have look at this comment from the Asker of that question:-

Hi imkottees,
Update: problem solved. After I logged in as the tenant administrator, I was able to add the rights to the usermailbox. Question still remains though, why is the domain administrator not allowed to give this access to the tenant user?
TheGeeksCentralCAAuthor Commented:
This worked! Thank you to akicute555 for your help!  For the dumbest reason, i failed to see the part of logginging in as the administrator of that hosted domain to run the command.  I figured that the main admin account which i was logging in as had all the rights since i was able to setup and install exchange hosted setup with that user and run any other commands, that it would be fine.

Comes to show, to give rights you have to be logged under the correct admin for that domain.
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
i must have a point at least i leaded you from the beginning how to use Powershell when you are no longer able to administrate and manage your Exchange..
anyway thank you and good luck
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.