![]() Once the EXO V2 module is installed, you can then connect to Exchange Online by simply typing Connect-ExchangeOnline. You may, if this is the first time you’ve installed any modules in PowerSHell, also need to set the Execution Policy to allow remote signed modules via Set-ExecutionPolicy RemoteSigned Then, in the PowerShell session, install the EXO V2 module by typing Install-Module -Name ExchangeOnlineManagement Then, once you have downloaded and installed it, launch PowerShell as root e.g. Head on over to the GitHub repository and download the latest release that isn’t a Preview Release (look for the green Latest release tag) Connecting to Exchange Online with Modern Auth required a whole new PowerShell module, and that module was only available on Windows.įortunately, Microsoft have ported the EXO V2 module to macOS and Linux, so now it’s possible to connect to Exchange Online from non-Windows platforms and use Modern Auth.įirst, you need to make sure you have an up-to-date version of PowerShell installed. ![]() ![]() While there were a couple of workarounds to connect using Basic authentication, until recently there was no solution for Modern Auth. For quite some time, it has not been possible to connect to Office 365 / Exchange Online with PowerShell, if your tenancy is using Modern Authentication (i.e.
0 Comments
Leave a Reply. |