Go Premium for a chance to win a PS4. Enter to Win


How does outlook handle a blank Autoconfig.xml file?

Posted on 2013-01-24
Medium Priority
Last Modified: 2013-01-29
We had an issue last weekend with our web provider freaking out due to an unusual high number of requests for the autoconfig.xml file. Our exchange box was down for extended maintenance, so apparently all of the outlook clients started hitting our public facing web host to retrieve a new autoconfig.xml in order to verify settings, etc.  The host's firewall blocked our access for requesting a file that doesnt exist too many times.

as a "favor", our web host created a blank autoconfig.xml file to allow the server to serve up the requested file and not bog down the server with 404 errors. They stated the problem was solved because they added that file, but I suspect its more likely that since exchange is functional, the workstations arent requesting the file so from their end they THINK they fixed it.

 At this time its not causing any issues because the exchange server is up, but there is scheduled maintenance this weekend and I'm concerned that as soon as exchange drops, workstations will start referring to that blank file and I have absolutely no idea what the repercussions will be.  

What happens when outlook hits an absolutely blank (as in 0 byte, no contents whatsoever, not even header/formatting data, etc) autoconfig.xml file? Will this cause problems for my workstations, or will they ignore the absolute lack of data and carry on with the original config?
Question by:cameramonkey
  • 4
  • 2
  • 2

Expert Comment

ID: 38817569
If you have autodiscover record in your domain it should point to your exchange server

for example for Office365 looks like this

Type       Priority     Host name       Points to address                  TTL
CNAME   -                     autodiscover    autodiscover.outlook.com      1 Hour

Set the appropriate record for your exchange server. When it's down, your outlook clients will just fail to connect.



Author Comment

ID: 38818366
Nope. Our autodiscover record points to the exchange server, not the public web server.

I did just notice one of our domains does not have the autodiscover record listed at all (50 or so mailboxes) Would that cause it to fail over to the root domain address as a fallback, this creating this problem?
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 38818988
Autodiscover tries a number of URLs by default. One of those URLs is the root of the domain the email address is in.
Internally, if the machine is a member of the domain then it doesn't do a DNS lookup, as the client gets its information from the domain on where to look. It will only start using DNS queries if that isn't available.
Therefore as long as you don't have anyone using Outlook externally, and the Exchange server is available, the root of the domain wouldn't be used.

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.


Author Comment

ID: 38819381
Simon, thats the problem. When the exchange server is down for extended after hours maintenance, we see the issues.

Our external web host naturally doesnt have the xml file, so they decided to publish a zero byte blank file to make their servers happy and allow them to serve the requested (all be it incorrect and theoretically harmless) content instead of producing a 404 error.

My concern is what outlook does with that blank file? Worst case I could see outlook wiping settings and taking that mail client down to the point of IT intervention. (IT staff of 4+ 650 workstations= bad news!)
LVL 63

Accepted Solution

Simon Butler (Sembee) earned 800 total points
ID: 38819412
Extended after hours maintainance? What are you doing to your Exchange servers that need that? The longest I have had an Exchange server down for scheduled maintainance is 90 minutes, and that is for a service pack, the rest of the time it is down for 45 minutes at most.

A blank file isn't going to do anything because the format isn't recognised. If the file was formatted correctly, with the relevant fields blanked out, then I would be worried.

I don't see what the issue with 404s is. One of the sites I look after gets 15,000 an hour.


Author Comment

ID: 38819442
your time estimate is correct for a normal outage involving a patch, reboot, etc. We have had issues with patches that took the server down, as well as fiber disruptions that lasted several hours. Thats when we see these problems.

Expert Comment

ID: 38829733

If you are talking extended downtime then what you are getting is exactly what you should get.

It is the way the system works.

IMHO I would leave well alone.

it may be a good excuse to have a tested DR plan with a backup machine that can run Exchange if required. Not sure how big the environment is, but that will give you the peace of mind if you have problems with updates. You can do the test on the offline DR copy first, and then go on to the production machine later.
A Virtual environment is great for this stop the server copy the Virtual disk(s) and restart. If the patch fails you have an instant restore.

Author Closing Comment

ID: 38833718
The consensus across several experts is that as long as the file is blank, we are safe.

(the hosting provider is rejecting requests to that file now and is OK with the periodic spurts in access now that they understand what is going on)

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question