Quantcast
Viewing all articles
Browse latest Browse all 21975

Exchange online- The WinRM client cannot process the request because the server name cannot be resolved

When i tried to connect to Exchange online by using powershellthe following error arises for me.

$LiveCred = Get-Credential

Username

password

$Session = New-PSSession -ConfigurationName Microsoft.Exchange

 -ConnectionUri https://ps.outlook.com/powershell/ -Credential 

$LiveCred -Authentication Basic -AllowRedirection //While creating session the error

occurs."[ps.outlook.com] The WinRM client cannot process the request because the server name

 cannot be resolved"..


i have configured the winrm correctly..



C:\Windows\system32>winrm quickconfig
WinRM is already set up to receive requests on this machine.
WinRM is already set up for remote management  on this machine.

But still the error exists for me.







Viewing all articles
Browse latest Browse all 21975

Trending Articles