Get mailbox permission

Hi Team

Good day

Anyone had encountered this before and I tried to add “ 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” .

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.

Satya PathakLead Technical ConsultantCommented:
Try with below command

Add-MailboxPermission -Identity "resorce mailbox name" -User "user name" -AccessRights FullAccess -InheritanceType all

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
alanlam123Author Commented:

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 ''.
    + 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
    + PSComputerName        :

Alan lam
alanlam123Author Commented:
Add-MailboxPermission -Identity "AllStaff HONG KONG" -User "Michelle.Ng" -AccessRights FullAccess -InheritanceType all
alanlam123Author Commented:
Anyone had solution to resolve this issue
alanlam123Author Commented:
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.