Exchange 2007 Autodiscover settings stopping Out of Office replies from working

Hello.  I'm not able to set an Outlook Out of Office message from any Outlook client on the network on a brand new SBS2008 server.  After doing some research, I think it might have something to do with the autodiscover settings not being correct.  Below is the result from test-outlookwebservices

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

Id      : 1007
Type    : Information
Message : Testing server IDS-01.ids.local with the published name https://sites
          /EWS/Exchange.asmx &

Id      : 1019
Type    : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
           URL on this object is https://sites/Autodiscover/Autodiscover.xml.

Id      : 1013
Type    : Error
Message : When contacting https://sites/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.

I do not have a third party SSL certificate yet.

I'm not too familiar with autodiscovery and dont really know where to look so any help would be awesome!  

Who is Participating?

Improve company productivity with a Business Account.Sign Up

e_aravindConnect With a Mentor Commented:
From the external location
do you have the name resolution for or

On the Iexplore
If you access the URL
https://sites/Autodiscover/Autodiscover.xml do you see any HTTP 600.

if yes, good!
If not, need to get the DNS, IE settings to reach the CAS server
What is the error message you receive, while trying to set Out of Office in Outlook ?
JasonJewettAuthor Commented:
Your automatic reply settings cannot be displayed because ther server is currently unavailable.  Try again later.
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.

JasonJewettAuthor Commented:
sorry - you lost me.
I cant ping from inside the network, and I dont have an a record for on the outside so it for sure won't work.  

Do I need to add a DNS entry so that resolves to the server IP?

I get a SSL error going to https://<servername>/Autodiscover/Autodiscover.xml.  if i continue past that I get a authentication prompt that i cant get past no matter what username/pass I use.
v_9mhdrfConnect With a Mentor Commented:
OOF not working

Please check the following steps mentioned below:-

Autodiscover = Basic + Windows Integrated + SSL Forced == Disable - Kernel Mode Authentication.
OAB= Windows Integrated = Disable - Kernel Mode Authentication.
EWS= Windows Integrated = Disable - Kernel Mode Authentication + SSL forced.

Follow the kb-940726, and run the following command on the server.

Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri 

Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)" -InternalUrl

Set-OABVirtualDirectory -Identity "CAS_Server_name\oab (Default Web Site)" -InternalUrl

Please run the following command in the management shell:-

test-outlookWebserivces | fl and see the result. If you get 401 Unauthorized please follow the below link and restart the server.

DisableLoopbackcheck registry.
key as per the article <>.

Then perform "SetSPN -a http/(Exchange server FQDN) (Exchange server name)"

Check the HTTP keep alive in IIS 7 in the following place:-
HTTP response headers on Default WebSite == set common headers.

If still the issue persists, please follow this steps:-

Delete and recreate the Autodiscover/ EWS Virtual Directories.
Remove-AutodiscoverVirtualDirectory -identity "CAS server name\Autodiscover (Default Web Site)"
Remove-WebservicesVirtualDirectory -identity "CAS server name\EWS (Default Web Site)"

And follow the kb-940726 again to set the InternalUri.
Perform IISreset.

And also please check whether you have 3.5 .netFramework, if yes please download and install the following hotfix.
KB- 958934

And Run Test EmailAutoconfiguration  from outlook 2007 client, and please select only Autodiscover. Remove Guessmart and Secure Guess mart.

Please check out these steps and revert back if the issue persists.

MrPaulTConnect With a Mentor Commented:
Do you have auto-discover setup for you domain name? If your auto-discover points to an IP make sure you have your A record point to the correct IP.

Try this:

1. open command prompt
2. type nslookup (this should return the below)

Non-authoritative answer:

JasonJewettAuthor Commented:
MrPaulT:  NS lookup didnt respond to so i added an A record to point to the server IP and now it does.
JasonJewettAuthor Commented:
v_9mhdrf:  thanks.  Lot to do - I'll let you know what happens.
Autodiscover = Basic + Windows Integrated + SSL Forced == Disable - Kernel Mode Authentication.
OAB= Windows Integrated = Disable - Kernel Mode Authentication.
EWS= Windows Integrated = Disable - Kernel Mode Authentication + SSL forced.

Where are these in IIS7?

If you are using Windows 2008 server then you will have IIS 7 in Administrative Tools.
And you have to highlight the Autodiscover directory in features view you would find the icons with Authentication/ SSL settings.

When you click the Authenticatio icon, you would find the multiple Authentications.
Click on Windows Integrated Authentication and on the extreme right hand side top, you will find Advance settings, click on it and there you will find Kernel Mode Authentication.

But if you have Exchange 2007 sp1 Roll up update 5 or later then you dont have worry about kernel mode, however to confirm please check it.

Hope it helps!

JasonJewettAuthor Commented:
v_9mhdrf:  thanks.  
Just to confirm:
Autodiscover:  Basic = yes  Windows = yes  SSL = Yes.   No Kernel Mode
OAB: Basic = no (mine is yes now), Windows = Yes.   SSL = no. (mine is yes now)   No Kernel Mode  
EWS: Basic = no (mine is yes now), Windows = Yes.  SSL = Yes.   No Kernel Mode

I dont have an SSL cert and I get prompted for one often.  Could that have anything to do with this?

You dont have SSL cert in Exchange 2007?  
In Exchange 2007 Cert is default created and make sure that you have the SSL is Enabled on the server.
And please disable Basic auth from OAB virtual directory.

Check out and revert with SSL cert info....
JasonJewettAuthor Commented:
still no luck.  I'll keep trying.
can you post results from the tests and/or cmdlets
JasonJewettAuthor Commented:
Sorry to abandon this.  I needed to add Autodiscover A records in DNS and that seemed to help. I didnt have the correct A records before.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.