I recently update the ExchangeOnlineManagement module to version 3.0.0 via
Update-Module. Now it fails to connect, but only in the ISE environment for some reason.
PS C:\> Connect-ExchangeOnline
You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.0.0\netFramework\ExchangeOnlineMa
+ ... $cmdletLogger.LogGenericError($connectionContextID, $glob ...
+ CategoryInfo : InvalidOperation: (:) , RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
The error mentions the logger is failing, so I also tried different values for
-LogDirectoryPath, and I tried this on a few different machines (win10,server2012/16) without any luck.
I know VS Code is prioritized, but ISE is still supported and it's what I have available. It's not critical for me to update, but wanted to check that it's not just something in my environment