sexta-feira, junho 15, 2012

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



When you have a CAS load balance and use a virtual name to access its virtual directories, e.g. https://webmail.yourdomain.com/owa rather than the server name, you have to configure the internalURL and externalURL of all virtual directories. The problem occours if you change them through EMC, doing so you'll miss some virtual directories that can be managed only through EMS. EWS (Exchange Web Services) is one of these virtual directories and it's responsible for OOF.

To configure the proper URL for EWS run the following commands on EWS:

Set-webservicesvirtualdirectory –Identity –internalurl “https:///ews/exchange.asmx” –externalurl “https:///ews/exchange.asmx”

In order to configure all virtual directories' URL there is a script to help changing all virtual directories.

#ChangeAutodiscoverPath.ps1
#Changing InternalURL Path
$urlpath = Read-Host "Type Internal Client Access FQDN starting with http:// or https://"
Set-AutodiscoverVirtualDirectory -Identity * –internalurl “$urlpath/autodiscover/autodiscover.xml”
Set-ClientAccessServer –Identity * –AutodiscoverServiceInternalUri “$urlpath/autodiscover/autodiscover.xml”
Set-webservicesvirtualdirectory -Identity * –internalurl “$urlpath/ews/exchange.asmx”
Set-oabvirtualdirectory –Identity * –internalurl “$urlpath/oab”
Set-owavirtualdirectory –Identity * –internalurl “$urlpath/owa”
Set-ecpvirtualdirectory –Identity * –internalurl “$urlpath/ecp”
Set-ActiveSyncVirtualDirectory -Identity * -InternalUrl "$urlpath/Microsoft-Server-ActiveSync"
#Changing ExternalURL Path
$urlpath2 = Read-Host "Type External Client Access FQDN starting with http:// or https://"
Set-AutodiscoverVirtualDirectory -Identity * –externalurl “$urlpath2/autodiscover/autodiscover.xml”
Set-ClientAccessServer –Identity * –AutodiscoverServiceInternalUri “$urlpath2/autodiscover/autodiscover.xml”
Set-webservicesvirtualdirectory –Identity * –externalurl “$urlpath2/ews/exchange.asmx”
Set-oabvirtualdirectory –Identity * –externalurl “$urlpath2/oab”
Set-owavirtualdirectory –Identity * –externalurl “$urlpath2/owa”
Set-ecpvirtualdirectory –Identity * –externalurl “$urlpath2/ecp”
Set-ActiveSyncVirtualDirectory -Identity * -ExternalUrl "$urlpath2/Microsoft-Server-ActiveSync"
#get commands to doublecheck the config
get-AutodiscoverVirtualDirectory | fl identity,internalurl, externalurl
get-ClientAccessServer | fl identity,AutodiscoverServiceInternalUri
get-webservicesvirtualdirectory | fl identity,internalurl,externalurl
get-oabvirtualdirectory | fl identity,internalurl,externalurl
get-owavirtualdirectory | fl identity,internalurl,externalurl
get-ecpvirtualdirectory | fl identity,internalurl,externalurl
get-ActiveSyncVirtualDirectory | fl identity,internalurl,externalurl

Outlook uses the Internet Explorer proxy configuration to access any Exchange web service, such as OAB, Autodiscover and EWS, so make sure the internal Client Access FQDN is in the proxy exception list.


3 comentários:

  1. Whoa! This blog looks exactly like my old one! It's on a entirely different subject but it has pretty much the same page layout and design. Outstanding choice of colors!

    Also visit my site; Louis Vuitton Outlet

    ResponderExcluir
  2. I don't even know how I ended up here, but I thought this post was great. I do not know who you are but certainly you are going to a famous blogger if you aren't already ;) Cheers!


    My web site; visit this link

    ResponderExcluir
  3. Know quickly How to Convert EDB file to PST within some time at no cost the tool fully help you in entire conversion of edb to pst and nevre show or create any error in real EDB file and wok for all version of EDB File upto latest - export edb to pst software

    ResponderExcluir