Office 365 – New-ExoPSSession error – The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration

While attempting to connect to Exchange Online using PowerShell the New-ExoPSSession cmdlet fails with the following error:

New-ExoPSSession : Connecting to remote server outlook.office365.com failed with the following error message : The
WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration.
Change the client configuration and try the request again. For more information, see the about_Remote_Troubleshooting
Help topic.

This happened because the WinRM service had not been configured on my laptop.  After running the following commands I was able to connect:

winrm quickconfig

winrm set winrm/config/client/auth @{Basic="true"}
[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]