I am trying to fix autodiscover on a 2013 Exchange server. As far as I know it has never worked but is recently causing problem with new PCs being installed. I have recreated the autodiscover virtual directory already but did not help any.
In event viewer I see
Log Name: Application
Source: MSExchange Front End HTTP Proxy
Event ID: 1003
Task Category: Core
Level: Error
Keywords: Classic
User: N/A
Computer: exchange.domain.local
Description:
[Autodiscover] An internal server error occurred. The unhandled exception was: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at Microsoft.Exchange.HttpProxy.DatacenterRedirectStrategy.CheckLiveIdBasicPartialAuthResult(HttpContext httpContext)
at Microsoft.Exchange.HttpProxy.AutodiscoverProxyRequestHandler.OnInitializingHandler()
at Microsoft.Exchange.HttpProxy.ProxyRequestHandler.<>c__DisplayClass8.<Run>b__7()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
and when I run Test-OutlookWebServices I get
Test-OutlookWebServices : Autodiscover response:
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.InternalInvoke()
at Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.Invoke()
I have run out of hair to pull out, please help.
Thanks