Error executing O365 Script "MSOnline"

Hello community,

i can not run exchange online cmdlets in the script environment of Active Roltes 7.4.3 

I use the following code snippet:

$context.O365ImportModules("msonline")

$res = $context.O365ExecuteScriptCmd("get-mailbox test@test.com | select ExchangeGUID" )

I do get the error that the cmdlet "get-mailbox" is not know. Can you help me out here??? Thanks!

Best regards,

Michael

Parents Reply Children
No Data