Sunday, November 10, 2013

INT Your Out of Office settings cannot be displayed, because the server is currently unavailable. Try again later

Issue
==================
Users from Outlook 2010, unable to set OOF, no issues from OWA

"Your Out of Office settings cannot be displayed, because the server is currently unavailable. Try again later"

Environment
=======================
Exchange server 2010 Sp2
Outlook 2007 


Troubleshooting steps
======================
1. Check for Address book service to ensure that connectivity for Autodiscover is fine 
2. Check for Autodiscover status from Outlook machine. Click on URL to check "Test Connectivity"
3. On Exchange server, Check Autodiscover Virtual Directory
It can be check from EMC or EMS 

Get-AutodiscoveryVirtualDirectory -id "Autodiscover (Default Web Site)" | FL *URL*
and check for both InternalURL and ExternalURL




For reference, Autodiscover FQDN URL are listed as below. Outlook Client will try to Access URLs from Internet in following order
  • https://domainname.com/autodiscover/autodiscover.xml
  • https://autodiscover.domainname.com/autodiscover/autodiscover.xml

To Set the Autodiscover from Exchange server

Ran the below commands on the server:
Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://mail.domainname.com/autodiscover/autodiscover.xml

Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)" -InternalUrl https://mail.domainname.com/ews/exchange.asmx

Set-OABVirtualDirectory -Identity "CAS_Server_name\oab (Default Web Site)" -InternalUrl https://mail.domainname.com/oab


Scenario
========
Exchange 2013 and Outlook 2013, where a domain joined machine with Proxy Enabled with different Mailbox credentials.


On Test machine, Administrator logins with his credential and he is able to set OOF for himself but for other users, Mail Profile created by "Control Panel" "Mail", Getting error 

"Your Automatic reply settings cannot be displayed because the sever is currently Unavaialble". Try again later


Checked
Connection Status
Test E-Mail AutoConfiguration - Working


EWS URL accessibility - Working

As per one MS KB article  , here is the reason

This problem occurs because the CAS server uses the credentials that you used to log on to Windows instead of the credentials that you used to log on to the mailbox in Outlook 2010. Because the Windows credentials do not match the mailbox credentials, the CAS server returns a "500" error code. However, the "500" error code is not an authentication error code. Therefore, no other authentication methods are tried.

and the resolution is to add WinHttpAuth in the registry editor "HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security" if Security folder is not present you have to create "Security" folder and create WinHttpAuth key in it.



Process
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey: 
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
  3. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
  4. Type WinhttpAuth, and then press ENTER.
  5. In the Details pane, right-click WinhttpAuth, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Exit Registry Editor.




No comments:

Post a Comment