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