Get mailbox permission

Hi Team

Good day

Anyone had encountered this before and I tried to add “User.ng to “#AllStaff Hong Kong” that I encountered the following in the Exchange Admin Center error messageError-message-in-outllok-and-AD.docx and please i am the administrator and was giving full admin right.

And I added in the Active direction that i had received the error message show in the attachment.

Question what is the command in the Powershell that i can assign permission to user in “#AllStaff Hong Kong” .

Thanks
alanlam123Asked:
Who is Participating?
 
Satya PathakLead Technical ConsultantCommented:
Try with below command


Add-MailboxPermission -Identity "resorce mailbox name" -User "user name" -AccessRights FullAccess -InheritanceType all
0
 
alanlam123Author Commented:
Hi  

Thanks for the prompt response and getting the following error message;

The operation couldn't be performed because object 'AllStaff HONG KONG' couldn't be found on 'DC001.com.net'.
    + CategoryInfo          : NotSpecified: (:) [Add-MailboxPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=com-EXMBX004,RequestId=491ba5cb-c7c6-4339-b452-3d78940a322b,TimeStamp=14/05/20
   15 6:37:49 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 844E379B,Microsoft.Exchange.Management.R
  ecipientTasks.AddMailboxPermission
    + PSComputerName        : com1-excas004.com.net

Regards
Alan lam
0
 
alanlam123Author Commented:
Add-MailboxPermission -Identity "AllStaff HONG KONG" -User "Michelle.Ng" -AccessRights FullAccess -InheritanceType all
0
 
alanlam123Author Commented:
Anyone had solution to resolve this issue
0
 
alanlam123Author Commented:
Nil
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.