Autodiscover

Question : Autodiscover

My Office 2007 users cannot use the Autodiscover feature anymore. This is the error I receive when I run the Outlook Autodiscover.

Attempting URL https://mydomain.com/autodiscover/autodiscover.xml found through SCP
Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml starting
Autodiscover request completed with http status code 404
Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml FAILED (0x80004005)
Attempting URL https://myserver.mydomain.com/Autodiscover/Autodiscover.xml found through SCP
Autodiscover to https://myserver.mydomain.com/Autodiscover/Autodiscover.xml starting
Autodiscover request completed with http status code 404
Autodiscover to https://myserver.mydomain.com/Autodiscover/Autodiscover.xml FAILED (0x80004005)
Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml starting
Autodiscover internet timeout against URL https://mydomain.com/autodiscover/autodiscover.xml
Autodiscover internet timeout against URL https://mydomain.com/autodiscover/autodiscover.xml
Autodiscover to https://mydomain.com/qutodiscover/autodiscover.xml FAILED (0x800C8203)
Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
Autodiscover internet timeout against URL https://autodiscover.mydomain.com/autodiscover/autodiscover.xml
Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
Local autodiscover for mydomain.com starting
Local autodiscover for mydomain.com FAILED (0x8004010F)
Redirect check to http://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
Redirect check to http://autodiscover.mydomain.com/autodiscover/autodiscover.xml FAILED (0x80072EE2)
Srv Record lookup for mydomain.com starting
Srv Record lookup for mydomain.com FAILED (0x8004010F)


Solution: Autodiscover

I had to call MS and this is what I was told and used to fix the issue.
I used three KB articles to fix the issue. I followed these articles along with an engineer and poof it all works.

KB894435
ASP.NET 2.0, 64-bit version
To run the 64-bit version of ASP.NET 2.0, follow these steps:1. Click Start, click Run, type cmd, and then click OK.
2. Type the following command to disable the 32-bit mode:cscript %SYSTEMDRIVE%inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
3. Type the following command to install the version of ASP.NET 2.0 and to install the script maps at the IIS root and under:
%SYSTEMROOT%Microsoft.NETFramework64v2.0.50727aspnet_regiis.exe -i
4. Make sure that the status of ASP.NET version 2.0.50727 is set to Allowed in the Web service extension list in Internet Information Services Manager.

KB941201
Step 1: Delete and then re-create the Outlook Web Access-related virtual directories
To delete the Outlook Web Access-related virtual directories, follow these steps:1. Start the Exchange Management Shell.
2. Type the following commands. Press ENTER after you type each command.
Note These commands are case-sensitive.” Remove-OwaVirtualDirectory “exchange (default web site)”
” Remove-OwaVirtualDirectory “public (default web site)”
” Remove-OwaVirtualDirectory “exchweb (default web site)”
” Remove-OwaVirtualDirectory “owa (default web site)”

To re-create the Outlook Web Access-related virtual directories, type the following commands at the Exchange Management Shell. Press ENTER after you type each command:” New-OwaVirtualDirectory “exchange” -OwaVersion Exchange2003or2000 -VirtualDirectoryType Mailboxes -WebSiteName “Default Web Site”
” New-OwaVirtualDirectory “public” -OwaVersion Exchange2003or2000 -VirtualDirectoryType PublicFolders -WebSiteName “Default Web Site”
” New-OwaVirtualDirectory “exchweb” -OwaVersion Exchange2003or2000 -VirtualDirectoryType Exchweb -WebSiteName “Default Web Site”
” New-OwaVirtualDirectory -name “owa” -OwaVersion Exchange2007 -WebSiteName “Default Web Site”

KB940726
To resolve this issue, modify the URLs for the appropriate Exchange 2007 components. To do this, follow these steps:1. Start the Exchange Management Shell.
2. Modify the Autodiscover URL in the Service Connection Point. The Service Connection Point is stored in the Active Directory directory service. To modify this URL, type the following command, and then press ENTER:
Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml
3. Modify the InternalUrl attribute of the EWS. To do this, type the following command, and then press ENTER:
Set-WebServicesVirtualDirectory -Identity “CAS_Server_NameEWS (Default Web Site)” -InternalUrl https://mail.contoso.com/ews/exchange.asmx
4. Modify the InternalUrl attribute for Web-based Offline Address Book distribution. To do this, type the following command, and then press ENTER:
Set-OABVirtualDirectory -Identity “CAS_Server_nameoab (Default Web Site)” -InternalUrl https://mail.contoso.com/oab
5. Modify the InternalUrl attribute of the UM Web service. To do this, type the following command, and then press ENTER:
Set-UMVirtualDirectory -Identity “CAS_Server_Nameunifiedmessaging (Default Web Site)” -InternalUrl https://mail.contoso.com/unifiedmessaging/service.asmx
6. Open IIS Manager.
7. Expand the local computer, and then expand Application Pools.
8. Right-click MSExchangeAutodiscoverAppPool, and then click Recycle.