0

I want to connect to exchange server via remote Powershell. When I connect directly with server URL I am able to create the session. But in the production I have many instances of exchange server, So I have created loa balancer for them and tried to connect with load balancer URL through remote Powershell. But I am getting

Connecting to remote server failed with the following error message: WinRM cannot process the request. The following error occurred while using Kerberos authentication: The computer is unknown to Kerberos. Verify that the computer exists on the network, that the name provided is spelled correctly, and that the Kerberos configuration for accessing the computer is correct. The most common Kerberos configuration issue is that an SPN with the format HTTP/ is not configured for the target. If Kerberos is not required, specify the Negotiate authentication mechanism and resubmit the operation. For more information, see the about_Remote_Troubleshooting Help topic.

Mak
  • 101
  • Can I ask why you'd want to connect with a load balancer? It's definitely going to cause Kerberos problems, and while you could move down to NTLM, I wouldn't. This article might help with understanding Kerberos. https://blogs.iis.net/brian-murphy-booth/the-biggest-mistake-serviceprincipalname-s – Scott Heath Nov 01 '19 at 00:03

1 Answers1

0

Have you tried use IP address to connect to remote powershell? Are you able to telnet to port which you used?

In addition, you can have a read of this article to learn a bit more about selective trusts and whether or not it’s affecting you.

A similar case for your reference.

Joy Zhang
  • 1,002
  • 1
  • 4
  • 5