Exchange Management Console error: The attempt to connect to PowerShell using ‘Kerberos’ authentication failed
Admin tried to install EMC and EMS on the exchange server after installing SQL. Firstly, it’s always recommended not to have any other application other than exchange if it is a dedicated exchange box
In this case, they had an SBS server and they attempted to install everything on the box for cost effective purpose
Post installing the SQL we were getting the below error when we open EMC
The following error occurred while attempting to connect to the specified Exchange server E2010.MsexchangeGuru.com:
The attempt to connect to http://e201.msexchangeguru.com/powershell using ‘Kerberos’ authentication failed: Connecting to the remote server failed with the following error message: WinRM cannot process the request. The following error occurred while using Kerberos authentication: The network path was not found.
We tried to browse the PowerShell virtual directory and got the below error
We checked for redirection on PowerShell and it was not set
All the authentication on PowerShell VDIR looks normal
Then tried to Browse Default web site and we were getting the same error as PowerShell
On the Default wed site also there was no redirection
Tried to restore the IIS back that was taken before the SQL install and that did not help us
On the PowerShell virtual directory, we tried to replace the web.config from a working server and that did not help us much
Checked the IIS logs and got the below entry
2017-01-13 11:18:02 127.0.0.1 GET / – 80 – 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/55.0.2883.87+Safari/537.36 500 0 126 518
2017-01-13 11:18:02 127.0.0.1 GET /Msexchangegiru.com – 80 – 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/55.0.2883.87+Safari/537.36 500 0 126 6
Then looked into the application logs on the server and we got 2 events
Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-WP
Date: 28.02.2013 12:30:55
Event ID: 2268
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: E2010.MsexchangeGruru.com
Description:
Could not load all ISAPI filters for site ‘DEFAULT WEB SITE’. Therefore site startup aborted.
Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-WP
Date: 28.02.2013 12:30:55
Event ID: 2214
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: E2010.MsexchangeGuru.com
Description:
The HTTP Filter DLL C:Program FilesMicrosoftExchange ServerV14ClientAccessowaauthowaauth.dll failed to load. The data is the error
Which made me think of an issue on the server setting as the ISAPI filters could not load
Referred the article https://support.microsoft.com/en-us/kb/2619202
Compared the values between the working and non-working server for the value of Path
To get the value of path we need to follow the below steps
Open Control Panel
2. Open the System Icon
3. Click Advanced System Settings
4. Click the Environment Variables button
5. In the System Variables section, edit the variable for Path
Working set
C:ProgramDataOracleJavajavapath;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program FilesMicrosoftExchange ServerV14bin
Non-Working set
%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program FilesDellSysMgtrac5;C:Program Files (x86)EMCNavisphere CLI;C:Program FilesDellSysMgtomabin;C:Program FilesDellSysMgtsharedbin;C:Program FilesDellSysMgtidrac;C:Program FilesMicrosoftExchange ServerV14bin14bin”耀Ö߾;C:Program FilesMicrosoft SQL ServerClient SDKODBC110ToolsBinn;C:Program Files (x86)Microsoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120DTSBinn
We could see for the non-working in exchange we could see the value is wrong, after adding the correct value as that of the working server. Did an IIS reset and then we could open the EMC without any issue
Ratish Nair
Microsoft MVP | Exchange Server
Team @MSExchangeGuru.com