Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OOF and Free Busy Don't Work 4

Status
Not open for further replies.

markdmac

MIS
Dec 20, 2003
12,340
US
My environment is SBS 2008 which has Exchange 2007. Out of Office Assistant works via OWA but not with Outlook 2007. My research shows that this is due to the fact that the Autodiscover service changed for Outlook 2007 clients.

We are using a public cert issued by Thawte.When I run Test-OutlookWeb Services I get a failure. Details below.

Code:
[PS] C:\Windows\System32>Test-OutlookWebServices | fl


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

Id      : 1007
Type    : Information
Message : Testing server PHOENIX.company.local with the published name https:
          //phoenix/EWS/Exchange.asmx & [URL unfurl="true"]https://mail.company.com/EWS/Exchange.asmx.[/URL]

Id      : 1019
Type    : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
           URL on this object is [URL unfurl="true"]https://mail.company.com/Autodiscover/Autodiscover.xml.[/URL]

Id      : 1013
Type    : Error
Message : When contacting [URL unfurl="true"]https://mail.company.com/Autodiscover/Autodiscover.[/URL]
          xml received the error The remote server returned an error: (401) Unauthorized.

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

I have resolved this problem for other customers int he past with the following commands but they are not resolving the issue on this server.
Code:
Set-ClientAccessServer -Identity PHOENIX -AutoDiscoverServiceInternalUri [URL unfurl="true"]https://mail.company.com/Autodiscover/Autodiscover.xml[/URL]

Set-WebServicesVirtualDirectory -Identity "PHOENIX\EWS (SBS Web Applications)" -InternalURL [URL unfurl="true"]https://mail.company.com/EWS/Exchange.asmx[/URL] -BasicAuthentication:$true 

Set-OABVirtualDirectory -Identity "PHOENIX\OAB (SBS Web Applications)" -InternalURL [URL unfurl="true"]https://mail.company.com/OAB[/URL]

Enable-OutlookAnywhere -Server PHOENIX -ExternalHostname "mail.company.com" -ClientAuthenticationMethod "Basic"-SSLOffloading:$False

Set-ActiveSyncVirtualDirectory -Identity "PHOENIX\Microsoft-Server-ActiveSync (SBS Web Applications)" -ExternalURL [URL unfurl="true"]https://mail.company.com/Microsoft-Server-Activesync[/URL]

Set-UMVirtualDirectory -Identity "PHOENIX\UnifiedMessaging (SBS Web Applications)" -InternalURL [URL unfurl="true"]https://phoenix.company.local/UnifiedMessaging/Service.asmx[/URL] -BasicAuthentication:$true

When I execute the command Enable-OutlookAnywhere -Server PHOENIX -ExternalHostname "mail.company.com" -ClientAuthenticationMethod "Basic"-SSLOffloading:$False I receive and error:
Code:
Enable-OutlookAnywhere : The virtual directory 'Rpc' already exists under 'PHOENIX.company.local/Default Web Site'.
Parameter name: VirtualDirectoryName
At line:1 char:23
+ Enable-OutlookAnywhere  <<<< -Server PHOENIX -ExternalHostname "mail.company.com" -ClientAuthenticationMethod "Basic"-SSLOffloading:$False

But when you look in IIS, the RPC and RPC With Cert folders are not under Default Web Site but under the SBS Web Applications.

Anybody have any ideas that can help me? I've tried everything I can think of.
 
Hey Mark,

I am not using SBS, I have a Mailbox server & Hub / Client Access both installed on Windows 2008 in a Windows 2008 domain.

I migrated from Exch 03 to 07 last week and have been having the issue since.

Have you seen this KB ? I installed it on my Hub / Client but did not help, might help you !!

 
Thanks guys,

I gave that hotfix a try but it did not resolve the issue.

I decided to recreate the autodiscover virtual directory. After recreatign it, when I run the following command I find the both the InternalUri and ExternalUri are blank.

get-autodiscovervirtualdirectory | FL

Can anyone else confirm that their server gives that same result? I read in an MS Support forum that the missing values is a known bug. I just want to verify it.

Thanks again.
 
[red]Success!!!![/red]

OK, so here is the rundown of all the last actions I took. Giving them in the order I did them, not 100% certain if you can omit steps or change the order.

As outlined in the above posts I recreated my Autodiscover virtual directory. This did appear to be corrupt on my server.

Next I installed the x64 version of the hotfix from on my server. The hotfix article says a reboot is not necessary, but on the server it did require a reboot.

Next I installed the x86 version of the same hotfix on my Vista client.

I rebooted my server.

I then re-executed the following commands. Some applied as if setting changes and others reported no changes were made.
Code:
Set-ClientAccessServer -Identity PHOENIX -AutoDiscoverServiceInternalUri [URL unfurl="true"]https://mail.company.com/Autodiscover/Autodiscover.xmlSet-WebServicesVirtualDirectory[/URL] -Identity "PHOENIX\EWS (SBS Web Applications)" -InternalURL [URL unfurl="true"]https://mail.company.com/EWS/Exchange.asmx[/URL] -BasicAuthentication:$true Set-OABVirtualDirectory -Identity "PHOENIX\OAB (SBS Web Applications)" -InternalURL [URL unfurl="true"]https://mail.company.com/OABEnable-OutlookAnywhere[/URL] -Server PHOENIX -ExternalHostname "mail.company.com" -ClientAuthenticationMethod "Basic"-SSLOffloading:$FalseSet-ActiveSyncVirtualDirectory -Identity "PHOENIX\Microsoft-Server-ActiveSync (SBS Web Applications)" -ExternalURL [URL unfurl="true"]https://mail.company.com/Microsoft-Server-ActivesyncSet-UMVirtualDirectory[/URL] -Identity "PHOENIX\UnifiedMessaging (SBS Web Applications)" -InternalURL [URL unfurl="true"]https://phoenix.company.local/UnifiedMessaging/Service.asmx[/URL] -BasicAuthentication:$true

After that I closed and reopened Outlook. I tested OOF and Free/Busy and both worked.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Great summary. Hopefully posterity will treat it well. So how did you find out about the hotfix?

I've spent most of today on the phone with Exchange support over a server that was hosed by a combination of .Net Framework patches and a corrupted installer... The core Exchange problem can supposedly be fixed by Rollup 5, but it can't be run due to the Installer issue... Fun, fun.

Dave Shackelford
ThirdTier.net
 
I guess I should say that I had also previously installed the RU5. We had this issue both before and after RU5 though.

Dave, as Patstone points out the KB recommends that hotfix, but the link on connect you provided also did. A few hours after you guys provided those links I heard back from the SBS Diva who I was also consulting and she made the same recommendation.

Stars all the way around for all who helped me. Collectively the questions and recommendations lead me further down the rabbit hole until I finally had a firm grasp on how the autodiscover works.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
SBS Diva? Gee, wonder who you could mean there Mark?!!

Pat - was your 2007 on 2008 a DC by any chance?
 
No, two separate servers. Still having the issues and and going to apply the MS Hotfix to the Vista client as Mark did, any other suggestions out there for my problem, keep them coming
 
Patsone, apply the fix to both server and client machines.

Zelandakh, Susan Bradley is the 'official' SBS Diva.
I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top