First, we run PowerShell as an administrator on our computer and then execute the following commands one by one.
Set-Executionpolicy Remotesigned
Install-Module-Name ExchangeOnlineManagement -Force
Import-Module ExchangeOnline Management
After these commands, the necessary modules will be installed. Anymore we can connect to Exchange Online using the following command;
Connect-ExchangeOnline
Leave a Reply