Forum Discussion
TechAB
Jun 01, 2020Copper Contributor
Unable to connect EXO PS module
I have a cloud account with which I am unable to connect to EXO PS module. Connecting to MSOL and S&C module works just fine.
-Tried the account both as MFA enabled and MFA disabled
-Azure Sign in shows that I am authenticated
-Tried both as GA and Exchange Admin
-Tried on PS ISE and PS on Windows 10
-Tried with V1 and V2 module
-Tried on MFA Enabled PS
-Other account with MFA enabled works just fine (GA)
-There are no logs generated.
New-ExoPSSession : Connecting to remote server outlook.office365.com failed with the following error message : For
more information, see the about_Remote_Troubleshooting Help topic.
At C:\Users\****\Documents\WindowsPowerShell\Modules\ExchangeOnlineManagement\0.4578.0\ExchangeOnlineManagement.psm
1:426 char:30
+ ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchang
e.Management.ExoPowershellSnapin.NewExoPSSession