Connect to Exchange Online Power Shell
Open Power Shell as an Administrator
Go to Start
Search for Power Shell
Right click on Windows Power Shell
Run as Administrator
Run the following commands
Set-ExecutionPolicy RemoteSigned
1st Command
(Need to configure this setting only once on your computer)
-Press “A” or “Y”
–Press Enter
$UserCredential = Get-Credential
2nd Command
Windows Power Shell Credential Request
Enter Admin’s Username & Password
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
3rd Command
Import-PSSession $Session -DisableNameChecking
4th Command