Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Assigning user rights to other mailboxes using PowerShell

$
0
0

Hi guys! I'm an Intern at a certain IT company, I've been given a task by our manager to assign user rights to certain mailboxes using PowerShell. Now the  thing is, I have to get on to office365 using Powershell and all the material that I had a look at doesn't give me all the needed info. I have used this command>> "Add-MailboxPermission -Identity user@company.com -User admin@company.com -AccessRights FullAccess -InheritanceType" But it keeps on giving me this error message>>

Add-MailboxPermission : The term 'Add-MailboxPermission' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ Add-MailboxPermission -Identity thapelo@dajotechnologies.com -Userrefiloe@dajot ...
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Add-MailboxPermission:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I tried loading office365 functions onto powershell but still the error message keeps on coming up.

Your help will be greatly appreciated



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>