Link to home
Start Free TrialLog in
Avatar of TheGeeksCentralCA
TheGeeksCentralCA

asked on

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?
Avatar of Maen Abu-Tabanjeh
Maen Abu-Tabanjeh
Flag of Jordan image

do you have powershell?

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


refer to this document for more options :

http://technet.microsoft.com/en-us/library/aa996343(EXCHG.80).aspx
Avatar of TheGeeksCentralCA
TheGeeksCentralCA

ASKER

nope.. this is for standard exchange setup only.  does not work for a multi-tenant setup.
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.
use exchange remote powershell its same of EMC and will help you in command lines
Run this cmdlet:-
 
[PS] C:\>Get-Mailbox -Identity akicute55@xyz.com | Add-MailboxPermission -User "Admin@xyz.com" -AccessRights FullAccess

Open in new window

Hope it will be helpful for you....
@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
nope, didnt work. I get a Unexpected token 'C:\>Get-Mailbox' in expression or statement
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 ....
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 name@domain.com | Add-MailboxPermission -User "name@domain.com" -AccessRights FullAccess

Replacing the org name and email addressess with the appropriate as needed.
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.
Please share the error screenshot. So that we can analyze where the issue is exactly.
here is the screenshot.

 User generated image User generated image
ASKER CERTIFIED SOLUTION
Avatar of Ajay Sharma
Ajay Sharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Nope didnt work. here is the results.
 User generated image
i do have permission. i am the only admin on this box. i have god rights. i can do anything and everything else.
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.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
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