Here is all of the details on how Autodiscover can refresh it's cache. An Outlook 2007 client automatically contacts the Autodiscover service:
The Outlook layer runs at every boot to get settings, and refreshes them as often as the TTL period specifies (60 minutes), or when there’s an error contacting one of the servers, whichever comes first. If we fail to get Autodiscover information, the Outlook layer will retry every 5 minutes because the settings aren’t persisted through restarts, so booting up without Autodiscover means you don’t know where to go for free/busy, OOF, OAB or UM until we get those settings.
The MAPI layer only runs Autodiscover when there are errors connecting to the server MAPI is trying to connect to. For instance, trying to open your mailbox after a mailbox move, or trying to open someone else’s mailbox when it’s in a different forest (yes, we support Cross-Forest access this release, if you have trusts established between the two forests). We also will perform a “free” Autodiscover every 6 hours on the MAPI layer if there are network errors such as not having RPC/HTTP settings, going home and trying to connect using RPC/TCP and failing with a network error – in this case, the user wants their settings refreshed just in case the RPC/HTTP server has changed.
We also run Autodiscover at profile creation time to configure all the server settings stored in the MAPI profile, but web service information used by the Outlook layer is not persisted to the MAPI profile.
If you are connected and your mailbox is moved, Outlook detects this and uses the new information the next time it tries to connect.
I want to thank Ross Smith for getting the updates on this.
PingBack from http://www.artofbam.com/wordpress/?p=7221
Thanks this is great info,
However I have come across a situtation where somone’s email adress has changed, and it looks like autodiscover keeps trying to find the service using the legacy email domain, for the DNS lookup. The only way that I have found to change this is to recreate the profile. Is the domain name used to perform the DNS queries for Autodiscovery percistantly set in the profile, can it be reset without recreating the profile?
I also noticed that "Test Email Autoconfiguration..." tool does not use the same mechanism to get the Autdiscover namespace as does Outlook when it searches for autodiscover. This is significant when the mailbox you are accessing in Outlook is not in the same forest as the loged on user. Even though you are loged on to the mailbox the tool still uses the windows Logon user to do the AD look up for the autodiscover test, instead of the mailbox’s email address. Sure, once you know what's going on, you can override the email address before starting the test, otherwise it just adds to the confusion, when you are troobleshooting.
Autodiscover uses the SMTP proxy adress based to look up the user. If you are external to your domain autodiscover will use DNS. If your client is internal it will use the SCP (service connection point) to look up for which servers it can use in your domain. This data is stored in the keyword attribute. The Test Email Autoconfiguration will resolve the proxy address of the user your are logged in as and follow the same process by sending a properly formatted request to the autodiscover service -> Provider -> AD Provider to look up the urls based on the information it has -> back to the user.