Connecting to ExchangeOnline

We have our 365 tenant connection set up between AR and AZ and consented as well.  I'm trying to just test things out a bit.  Should this work?   I've created a simple script and added it to a workflow that simply runs a get-mailbox command on a user.  I've added "O365 script execution configuration" to the workflow.  No errors when that runs, but when the 365 script runs it tells me get-mailbox is not a valid command.  So obviously its not getting the 365 EXO cmdlets.  What could I be doing wrong?  Adding "O365 script execution configuration", that should make the connection to Exchange Online correct?  Sorry just trying to wrap my head around how exactly this should work.  Appreciate it.

Parents Reply Children
No Data