No Autodiscover folder under IIS? Even after Enabled OutlookAnywhere
I am running Exch 2007 SP1 on Win2008 server. I have got Outlook Anywhere up and running fine, I am now trying to get Autodiscovery working. I understand I am supposed to have a directory under IIS called "autodiscovery" and "ews" Neither one of these directorys are under in IIS. I have tried disabling/reenabling Outlook Anywhere but these directorys are still not being created. What am I missing here?
October 18th, 2009 9:26pm
Hi,Have a look at this article which describes how to manually create the directories:http://technet.microsoft.com/en-us/library/aa996418.aspxRegards,Johanblog: www.johanveldhuis.nl
Free Windows Admin Tool Kit Click here and download it now
October 18th, 2009 10:13pm
Can have a look into this http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_24746273.htmlRaj
October 18th, 2009 10:18pm
Resources:
New-WebServicesVirtualDirectory
Autodiscover and Exchange 2007
Configuring Outlook Anywhere for Exchange 2007 SP1
Exchange 2007 Autodiscover Service Part 1
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2009 10:54am
The commands to create the Autodiscover and EWS folders are the following
New-AutodiscoverVirtualDirectory -Websitename <websitename> -BasicAuthentication:$true -WindowsAuthentication:$true
New-WebServicesVirtualDirectory -Websitename <websitename> -BasicAuthentication:$true -WindowsAuthentication:$true
However, when I tried these commands I was met with this error
[PS] C:\Windows\System32>New-AutodiscoverVirtualDirectory -WebsiteName "Default
Web Site" -WindowsAuthentication $true -BasicAuthentication $true
New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS vir
tual directory 'IIS://Exch1.domain.local/W3SVC/1/ROOT/Autodiscover' on
'EXCH1'.
At line:1 char:33
+ New-AutodiscoverVirtualDirectory <<<< -WebsiteName "Default Web Site" -Windo
wsAuthentication $true -BasicAuthentication $true
After a bit of research I tried disabling W3SVC while creating the folder, still no go, tried disabling IIS altogether, no go.
A bit more research lead me to Metabase Explorer tool here. http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499
Downloaded and ran this tool on my exch server, I discovered that both the Autodiscover and EWS folders showed up when using this tool; However they still did not show up under IIS itself. I removed both EWS and Autodiscover virtual directories using the Metabase Explorer tool.
At that point I was successfull able to run the new-virtualdirectory commands and the virtual directorys were created successfully.
October 19th, 2009 5:07pm
At this point I had to set the Internal/External URLS for Autodiscover, OAB, and UM using the commands
Set-ClientAccessServer -Identity CASServer -AutoDiscoverServiceInternalUrl https://mail.domain.com/Autodiscover/Autodiscover.xml
Set-WebServicesVirtualDirectory -Identity CASServer\EWS (Default Web Site) -InternalURL https://mail.domain.comi/EWS/Exchange.asmx -ExternalURL https://mail.domain.comi/EWS/Exchange.asmx -BasicAuthentication:$true
Set-OABVirtualDirectory -Identity CASServer\OAB (Default Web Site) -InternalURL https://mail.domain.com/OAB -ExternalURL https://mail.domain.com/OAB
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2009 5:16pm
Also make sure you enable Distribution of the OAB Didnt have any OAB distribution points enabled, Turned on "Enable Web-Based Distribution" under Org Config/Mailboxes/OAB and it started working.
October 21st, 2009 6:14pm
Thanks for sharing! It will help a lot of people with same question
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2009 3:59am