Help with Exchange 2007 Autodiscover
November 5, 2008 9:04 AM   Subscribe

Exchange 2007 Autodiscover woes! I can't run Remove-AutodiscoverVirtualDirectory to reset the autodiscover virtual directory. Agh, pulling hair out.

Alright I have each Exchange 2007 role setup on a separate server, client access (ca01), mailbox (ex01), and hub transport (ht01). I setup autodiscover on ca01 and then hop onto ht01 to run test-outlookwebservices (otherwise I receive this loopback error). I get this:

Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address user@externaldomain.com

Id : 1007
Type : Information
Message : Testing server ca01.internaldomain.local with the published name https://email.externaldomain.com/EWS/Exchange.asmx & https://email.externaldomain.com/EWS/Exchange.asmx.

Id : 1019
Type : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover URL on this object is https://email.externaldomain.com/autodiscover/autodiscover.xml.

Id : 1013
Type : Error
Message : When contacting https://email.externaldomain.com/autodiscover/autodiscover.xml received the error The remote server returned an error: (401) Unauthorized.

Id : 1006
Type : Error
Message : The Autodiscover service could not be contacted.

So some digging around reveals that Remove-AutodiscoverVirtualDirectory -Identity "mynode\Autodiscover (Default Web Site)" and then New-AutodiscoverVirtualDirectory (also recommended in this post).

So what happens when I run that command?

Remove-AutodiscoverVirtualDirectory -Identity "CA01\Autodiscover (Default Web Site)"

Remove-AutodiscoverVirtualDirectory : The operation could not be performed because object 'CA01\Autodiscover (Default Web Site)' could not be found on domain controller 'dc01.internalname.local'.
At line:1 char:36
+ Remove-AutodiscoverVirtualDirectory <<<< -Identity "CA01\Autodiscover (Default Web Site)"

Of course CA01 is listed in active directory. Split DNS is working correctly. This is all on an internal network. Everyone I've talked to is stumped, metafilter is my last hope!
posted by geoff. to Computers & Internet (1 answer total)
 
Response by poster: Success! Okay here's what I did and what worked for me. I had a normal cert on Default Web Site for email.externaldomain.com Autodiscover was a VD under that. I created a second web site (called second website) and added an autodiscover vd to that web site. Then I deleted (from the iisadmin gui) the first web site. Then I added a second IP address to the nic and applied that to the second website. I was still getting 404 errors. Blah. Okay so then I decide to get a godaddy cert for autodiscover, apply it to the autodiscover second web site, and voila ! Everything works. These certs are killing me.
posted by geoff. at 2:36 PM on November 5, 2008


« Older New Ones To Love?   |   Project Hinges on a Hinge Newer »
This thread is closed to new comments.