Friday, January 2, 2009

Exchange Free / Busy



The Free/Busy information could not be retrieved when we access from Ms Outlook 2007. The environment has Mailbox server, CAS server and ISA 2006.

Let's take a look at the free busy information on Exchange 2003 first. What is a free busy data? It is the data within outlook shows users published availability information based on their Calendar information. (Individual schedule)

Exchange 2000&2003 FB

In exchange 2000/2003 Free Busy is stored in dedicated public folder called SCHEDULE+FREE BUSY. This folder also contains several subfolders for each administrative group. When user publishes FB data (outlook calendar appointment, etc) this information gets stored suitable FB subfolder

What happens if this folder is missing or corrupted in exchange 2003, users will get error indicating "Unable to update public free/busy data

http://support.microsoft.com/kb/284200

Exchange 2007 FB

What change in Exchange 2007, where is free /busy being stored? The new service called Availability Service in exchange 2007 handles the Free/Busy information. The free/busy process works by downloading information directly from the calendar in the mailbox. The FB information read from the client, so client is responsible for generating it.

Exchange 2007 will not store FB data on the public folders and eliminated unnecessary replication in exchange environment. The service deployed via CAS server role, the outlook client 2007 will discover the availability service via Autodiscover.

  • Remember outlook client will use Autodiscover service to use Availability service and retrieve free, busy information from CAS server.
  • Outlook 2007 employs availability service, whereas outlook 2003 clients still use public folders.
  • Availability service has ability to contact legacy exchange server, public folder and retrieve FB information

Here is excelled post explaining FB generation, after reading the post you will quickly realize the client will publish the FB information to the Server and things are changed in exchange 2007.

http://msexchangeteam.com/archive/2006/08/04/428597.aspx

What does Exchange 2007 Availability Service Do?

http://msexchangeteam.com/archive/2006/10/23/429296.aspx

Troubleshooting Free Busy in Exchange 2007

If free/busy is not working properly in exchange 2007, Autodiscover service or the Availability service needs to be investigated for the problem.

Troubleshoot the auto discovery connectivity on outlook 2007, turn on diagnosing login and investigate "olkdisc.log"

  • Logon to Outlook to troubleshoot the issue
  • Click Tools, Options, click the other tab, click Advanced Options.
  • Select Enable logging (troubleshooting), click ok.
  • Restart Outlook 2007, and then try to view free/busy information for another user.
  • In Microsoft Windows, click Start, click Run, and then type %temp%.
  • In Windows Explorer, open the olkdisc.log file and locate the files in the olkas directory.
  • The information that is contained in this directory can frequently provide information about which service is not functioning correctly.

Exchange Management Shell to test the Availability service

Open EMS (Exchange management Shell)

Test-OutlookWebServices -id:user1@smtp25.org -TargetAddress: user2@smtp25.org


Note:

I have seen troubles when single certificate is being used for exchange 2007 server with CAS and ISA 2006. The external published URL webmail.myCompany.com is mapping the ISA virtual IP address and it is getting routed to the CAS server IP, trough the ISA.

The name in the certificate wont math the CAS server name and therefore the warning message will appear when starting Outlook 2007 and then connect to a mailbox that is hosted on an Exchange 2007-based server: "The name of the security certificate is invalid or does not match the name of the site"

After following the steps explained in the KB 940726, make sure the record publish for outside Webmail.MyCompony.com is pointing to internal CAS server

http://support.microsoft.com/kb/940726

The clients who will connect from outside will go through Firewall, ISA, and CAS server. Internal clients will connect to CAS server directly. If you do have more than one CAS server to achieve round robin behavior and bring some redundancy for internal OWA users, create multiple A records for each CAS server, as

  • Webmail.MyCompany.com=10.10.10.15 (CAS01)
  • Webmail.MyCompany.com=10.10.10.16 (CAS02)
  • Webmail.MyCompany.com=10.10.10.17 (CAS03)

Make proper changes on the IIS each CAS server (redirection to OWA folder). The Form base authentication won't be available for internal OWA users since turning it on will break the ISA configuration.

To see the Directories

Get-AutoDiscoveryVirtualDirectory FL


Set-ClientAccessServer -Identity EXCCAS01 -AutodiscoverServiceInternalUri https://webmail.smtp25.org/autodiscover/autodiscover.xml


Set-WebServicesVirtualDirectory -Identity "EXCCAS01\EWS (Default Web Site)" -InternalUrl https://webmail.smtp25.org/ews/exchange.asmx


Set-OABVirtualDirectory -Identity "EXCCAS01\oab (Default Web Site)" -InternalUrl https://webmail.smtp25.org/oab

Troubleshooting Free/Busy Information for Outlook 2007

Follow the link below

http://technet.microsoft.com/en-us/library/bb397225.aspx

Note:

There is also way to force outlook 2007 to look for FB information on the PF folders

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\Calendar
Value Type: DWORD
Value Name: UseLegacyFB
Values:0 or not set (default behavior which is to use the Availability Service) or 1 (use Public Folder based Free/Busy information)


Oz ozugurlu MVP (Exchange)

MCITP (EMA), MCITP (EA) MCITP (SA),

MCSE (M+, S+) MCDST,

Security+, Server +, Project+

Blog: http://smtp25.blogspot.com/

Blog: http://telnet25.wordpress.com/

3 comments:

Anonymous said...

We had an issus where everything was setup correctly - but Outlook was looking to the wrong domain for the autodiscover server becuase most of our users have 2 email addresses with different information to the right of the @ - which Outlook uses to fing the autodiscover server! Here is the solution we found: http://windowsitpro.com/article/articleid/96913/how-can-i-force-my-microsoft-outlook-2007-client-to-a-particular-autodiscovery-server.html

Trevor Hook said...

There is any way to attach google calender in microsoft outlook.

Thanks
www.iyogi.co.uk

Oz Casey, Dedeal said...

This is as close as I can find the information,

Check this out

http://googlesystem.blogspot.com/2008/03/google-calendar-sync-for-microsoft.html

ocd
thanks for reading my blog