This is an old revision of the document!
Microsoft Online Services Sign-in Assistant
module.https://www.microsoft.com/en-us/download/details.aspx?id=41950
Set-ExecutionPolicy RemoteSigned
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Remove-PSSession $Session