Sharepoint - Connect-SPOService : Could not connect to SharePoint Online
When trying to administer SharePoint Online (O365) via PowerShell through a proxy server the Connect-SPOService cmdlet connections fail.
Perform these commands and retry Connect-SPOService
$cred = [System.Net.CredentialCache]::DefaultCredentials
[System.Net.WebRequest]::DefaultWebProxy.Credentials = $cred