The error message below I have is from Dell Quest Migration tool. I have been migrating users from Lotus Notes to Office 365.
The WinRM client cannot complete the operation within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled.
Open Windows Azure Active Directory Module PowerShell
- $UserCredential = Get-Credential
Now type your global administrator credentials
– $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
– Import-PSSession $Session
When the connection is established, run this
Now it is all set and you can try again