Change to Office365/Exchange Online PowerShell URL?

Are you trying to connect to Exchange Online and only seeing this error?  

                WinRM cannot complete the operation.

Well, Microsoft is reporting an outage right now and after a colleague opening a case, he was informed that the URL that is in all documentation for PowerShell connections to Exchange Online has changed slightly.

Old URL:

$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session

New URL:

$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powerShell-liveID?serializationLevel=Full -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session

Happy Shelling!

Advertisements

About Gary Cooper

I am a Senior Systems Architect for a small midwestern US consulting company (Horizons Consulting) and I currently am certified by Microsoft
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s