From KB940726:
Set-ClientAccessServer -Identity <EXCHANGESERVERNAME> -AutodiscoverServiceIntern
alUri
https://mail.domainname.com/autodiscover/autodiscover.xml Set-WebServicesVirtualDire
ctory -Identity "<EXCHANGESERVERNAME>\EWS (Default Web Site)" -InternalUrl
https://mail.domainname.com/ews/exchange.asmxSet-OABVirtualDirectory -Identity "<EXCHANGESERVERNAME>\oab (Default Web Site)" -InternalUrl
https://mail.domainname.com/oabSet-UMVirtualDirectory -Identity "<EXCHANGESERVERNAME>\unifie
dmessaging
(Default Web Site)" -InternalUrl
https://mail.domainname.com/unifiedmessaging/service.asmxOpen IIS Manager on your Exchange Server.
Expand the local computer, and then expand Application Pools.
Right-click MSExchangeAutodiscoverAppP
ool, and then click Recycle.