Hi
I'm fighting with non functioning autodiscover in Exchange 2013.
This is an old Server 2012 box, running Exchange 2013 CU23. It had WSUS installed on the same machine, which got removed and resulted in HTTP 500 "Internal Server Error" on an Exchange virtual directory. After a bit of digging, I found a blog post
relevant to the situation with ISS:
This was caused by the removal of the WSUS role on the server which removed almost all the files installed by the Windows Update Services but not the configuration written in the ApplicationHost.config file. The Applicationhost.config file tries to call the
.dll installed by the WSUS Server but no longer exists on the system.
From the Applicationhost.config file:
<scheme name=”xpress” doStaticCompression=”false” doDynamicCompression=”true” dll=”C:\Windows\system32\inetsrv\suscomp.dll” staticCompressionLevel=”10″ dynamicCompressionLevel=”0″ />
<scheme name=”xpress” doStaticCompression=”false” doDynamicCompression=”true” dll=”C:\Program Files\Update Services\Webservices\suscomp.dll” staticCompressionLevel=”10″ dynamicCompressionLevel=”0″ />
Running the following command will remove all references to the module installed by WSUS.
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
The command listed in that article got things back up and running again apart from autodiscover.
If I try to go to https://autodiscover.domain.com/autodiscover/autodiscover.xml, I get a password prompt. Literally no combination off username or password will get me past it.
Test-OutlookWebServices -Identity "user@externaldomain.com" -MailboxCredential(Get-Credential ADdomain\username) | Fl yields:
[2019-09-10 22:53:23Z] Autodiscover response:
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
Which tallies with not being able to auth if I go to the autodiscover URL.
I've checked that the autodiscover URL is set correctly, auth methods are correct on the VD, reset the VD, and read just about every article I can find relating to that error and I'm still stuck.
Outlook prompts for a password at autodiscovery stage and also fails no matter what credentials I try to feed it. Setting up a profile manually (in old Outlook versions) works fine, as does mail flow, OWA and Activesync.
Any pointers much appreciated
Many thanks!