Announcement: Need a free practice exam or an interactive mocks material for a Microsoft certification? Click here to use the MS Forms I've created previously.

Connecting to EXO

August 3, 2017 | by iaur | posted as Connect to M365 Services, PowerShell

Open PowerShell as an administrator then execute each line one at a time.

Set-ExecutionPolicy RemoteSigned
$credential = Get-Credential
$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://outlook.office365.com/powershell-liveid/” -Credential $credential -Authentication “Basic” -AllowRedirection
Import-PSSession $exchangeSession -DisableNameChecking

Having an access denied error? Try connecting with modern authentication

Feedback or Help?

Should you have one, click here

Feeling grateful?

Boring Ads. Pardon me :)