I was directed here when I asked this question in the Community.
I am having an issue when connecting to EXO powershell and EXOP powershell in the same powershell window. I can connect to both ok and the cmdlets work ok initially. The issue appears when Modern Authentication creates a new session for implicit remoting for EXO or if I connect to EXOP first and then connect to EXO.
"Creating a new Remote PowerShell session using Modern Authentication for implicit remoting of "Get-Mailbox" command ..."
This causes an issue with the EXOP session as any cmdlets I try and run after this generates similar errors to the following.
"Exception calling "GetSteppablePipeline" with "1" argument(s): "Cannot bind argument to parameter 'TokenExpiryTime' because it is null."
I emailed exocmdletpreview {at} service {fullstop} microsoft {fullstop} com on 16/06/2021 and as yet I have received no reply therefore I am asking the question here to see if anyone else has had this issue and been able to resolve or has any suggestions as to how to resolve.