I think MFA is giving me issues when using Connect-EXOPSSession in the cloud shell.
PS C:\users\me:\>Get-Mailbox -Filter '(RecipientTypeDetails -eq "RoomMailBox")' | Get-MailboxRegionalConfiguration
works fine when executed from a powershell session on my pc, but returns an error when executing in the cloud shell
PS Azure:\> Get-Mailbox -Filter '(RecipientTypeDetails -eq "RoomMailBox")' | Get-MailboxStatistics
Sending data to a remote command failed with the following error message: Basic Authorization failed for user ..@... For more information, see the about_Remote_Troubleshooting Help topic.
With a select, it works ok:
PS Azure:\> Get-Mailbox -Filter '(RecipientTypeDetails -eq "RoomMailBox")' | Select Name,Alias