Forum Discussion
M3Jota
Nov 12, 2020Copper Contributor
Unable to Connect to ExchangeOnline
So we have MFA enabled on our Office 365 accounts. From my Windows 10 computer, I can connect to the ExchangeOnlineManagement module without issue. However, on my DC I installed Powershell 7.0.3, the...
Lu_Li
Nov 26, 2020Copper Contributor
Hi VasilMichev , i am facing the same issue to use powershell script 7 to connect to ExchangeOnline.
Just wondering if you know what is current progress ? Thanks.
M3Jota
Nov 26, 2020Copper Contributor
Powershell 7 is not compatible with EXO. Must use powershell 5 or 6.
- chahrenApr 11, 2022Copper ContributorFor those (like me) finding this in 2022 or later, current versions of ExchangeOnlineManagement are compatible with PowerShell Core. To fix this issue, install ExchangeOnlineManagement 2.0.4+
Open a command prompt with admin rights and enter:
Install-Module ExchangeOnlineManagement -Force
This installs the latest version alongside your current instance.