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 SCC

July 10, 2019 | 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
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -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 :)