Cannot connect to Exchange Shell or console using FQDN
Hi,
I have a peculiar issue where on the local machine where Mailbox, Client, and Hub roles are installed, I cannot connect to the Exchange server via EMC or Exchange PowerShell when I specify the local machine's FQDN. For example, the following command
works fine and I can connect to the exchange server properly:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://server/PowerShell/ -Authentication Kerberos
HOWEVER, if I use FQDN, for example:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://server.domain.com/PowerShell/ -Authentication Kerberos
I get the following error:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://server.domain.com/PowerShell/ -Authentication Kerberos
I get the following error:
[server.domain.com] Connecting to remote server failed with the following error message : WinRM cannot process the request. The following error occured while using Kerberos authentication: The
network path was not found.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed
How do I fix this?
thanks!
-sul.
February 24th, 2011 9:58pm
You already asked this question here:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdeploy/thread/627627b4-a479-4ab2-9ce0-5fcadcda3511 Please keep this question in one thread. ThanksJesper Bernle | Blog: http://xchangeserver.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2011 4:37am