Autodiscover Configuration Missing
I've read that the autodiscover configuration for Outlook clients is stored here: CN=DC1,CN=Autodiscover,CN=Protocols,CN=DC1,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Litware Inc,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=litwareinc,DC=com There is nothing in that container. Also, here is the output for the powershell command, get-autodiscovervirtual directory: Name Server InternalUrl---- ------ -----------Autodiscover (Default Web Site) DC1 How do I rebuild this? Thank you.
October 7th, 2008 2:08am

Hi, To view the configuration of the Autodiscovervirtualdirectory, please run get-autodiscovervirtualdirectory |fl in EMS. You can run set-autodiscovervirtualdirectory to configure it. http://technet.microsoft.com/en-us/library/aa998601(EXCHG.80).aspx Thanks Allen
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2008 7:44am

Thanks Allen. Should the auto-discover virtual directory be configured automatically when the CAS role is installed? I did a set-autodiscovervirtual directory and there's no change. Below is the content of autodiscover.xml and the command get-autodiscovervirtualdirectory: autodiscover.xml <?xml version="1.0" encoding="utf-8"?><Autodiscover><!-- This is a placeholder file --></Autodiscover> get-autodiscovervirtualdirectory | fl command: Name : Autodiscover (Default Web Site)InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}BasicAuthentication : TrueDigestAuthentication : FalseWindowsAuthentication : TrueMetabasePath : IIS://dc1.litwareinc.com/W3SVC/1/ROOT/AutodiscoverPath : C:\Program Files\Microsoft\Exchange Server\ClientAccess\AutodiscoverServer : DC1InternalUrl :ExternalUrl :AdminDisplayName :ExchangeVersion : 0.1 (8.0.535.0)DistinguishedName : CN=Autodiscover (Default Web Site),CN=HTTP,CN=Protocols,CN=DC1,CN=Servers,C dministrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Litware I oft Exchange,CN=Services,CN=Configuration,DC=litwareinc,DC=comIdentity : DC1\Autodiscover (Default Web Site)Guid : f3a6f902-f156-4115-8900-3eba410fc656ObjectCategory : litwareinc.com/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-DirectoryObjectClass : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}WhenChanged : 8/9/2007 7:04:21 PMWhenCreated : 8/9/2007 7:04:21 PMOriginatingServer : dc1.litwareinc.comIsValid : True
October 8th, 2008 1:21pm

Hi, The Autodiscover virtual directory is configured automatically when the CAS role is installed. Of course, you can change it based on your needs. For the authentication, we can operate on the IIS. For the internalurl or externalurl, we can change it by using the set-autodiscovervirtualdirectory command. After viewing the content of the autodiscover.xml, I found the autodiscover has problem. Now, I suggest we remove and recreate Autodiscover VD to fix this issue. First run the below command to remove Autodiscover VD: Remove-AutodiscoverVirtualDirectory Identity "cas-servername\Autodiscover (Default Web Site)" Then recreate it: New-AutodiscoverVirtualDirectory -WebsiteName "Default Web Site" -WindowsAuthentication $true -BasicAuthentication $true Please ensure the authentication method is identical as previous configuration. After that, please restart IISAdmin service. Thanks Allen
Free Windows Admin Tool Kit Click here and download it now
October 9th, 2008 2:45am

Thanks for your help Allen. I followed the steps you gave me, but the content of autodiscover.xml has not changed. Also, just for my own knowledge, can you tell me why the values for internalurl and externalurl are blank when I run the get-autodiscovervirtualdirectory? Thank you.
October 9th, 2008 3:06am

Hi, How did you view the content of the autodiscover.xml? Open autodiscover.xml directly in c:\program files\microsoft\Exchange server\clientaccess\autodisocver? If it is, that is normal since IE security will block the content to be displayed. I suggest we open IIS manager, locate Autodiscover, in the right panel,right click Autodiscover.xml, and select Browse. The example information as blow: <?xml version="1.0" encoding="utf-8" ?> - <Autodiscover xmlns="http://schemas.lab.com/exchange/autodiscover/responseschema/2006">- <Response>- <Error Time="20:34:04.4687500" Id="722291282"> <ErrorCode>600</ErrorCode> <Message>Invalid Request</Message> <DebugData /> </Error> </Response> </Autodiscover> Regarding the internalurl and externalurl, please understand that is current bug that the urls are exposed. In fact, the internalurl and external url of the autodiscover indeed exists andis pulled form the SCP or the 2 deafult urls (https://primarysmtpdomain/autodiscover/autodiscover.xml or https://autodiscover.primarysmtpdomain/autodiscover/autodiscover.xml) To better understand autodiscover, please view the document as below: http://technet.microsoft.com/en-us/library/bb332063.aspx Thanks Allen
Free Windows Admin Tool Kit Click here and download it now
October 9th, 2008 3:50am

I did open the file directly in notepad. If I try and browse through IIS I get "The website declined to show this webpage". Thank you.
October 9th, 2008 2:50pm

Hi, Whether you browsed the Autodiscover.xml by using https://? Thanks Allen
Free Windows Admin Tool Kit Click here and download it now
October 13th, 2008 9:15am

If I browse to the URL: https://localhost/autodiscover/autodiscover.xmlI get the following: <?xml version="1.0" encoding="utf-8" ?> - <Autodiscover xmlns="http://schemas.lab.com/exchange/autodiscover/responseschema/2006">- <Response>- <Error Time="20:34:04.4687500" Id="722291282"> <ErrorCode>600</ErrorCode> <Message>Invalid Request</Message> <DebugData /> </Error> </Response> </Autodiscover>
October 13th, 2008 5:47pm

Hi, This shows the Autodiscover configuration is correct. No issue on the Autodiscover Configuration and Autodiscover Virtual Directory. rebuild autodiscover virtual directory on the previous post was successful. Thanks Allen
Free Windows Admin Tool Kit Click here and download it now
October 14th, 2008 1:28am

Got it. So I was confused in thinking I could see theXML codethatis provided to the clients through the XML file. How can I see it?
October 14th, 2008 2:23am

Hi, That is because the autodiscover.xml is the special xml file which different from others XML file. Thanks Allen
Free Windows Admin Tool Kit Click here and download it now
October 14th, 2008 3:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics