Exchange 2010 Autodiscover internal URL problem.

Posted on 2011-04-27
Last Modified: 2012-05-11
We have an Exchange 2010 server, and we have encountered a problem when users that have office 2007 and they try to turn on Out of Office assistant.  Outlook returns the message" Your Out of Office settings cannot be displayed, because the server is currently unavailiable.  Try again later."   From what we have read so far, the problem likely lies in the autodiscover service.  When we performed the Test Email Autoconfiguration from an outlook client, it fails we look at the logs, it shows our external url, not our internal url.  Any gui interface we have looked at so far distinctly reflects the correct internal and external urls to the mail server.  What we need to know is how (likely in powershell) we can force the autodiscover service to pass the correct internal url, instead of the external mail url?
Question by:SpiderGoat
    LVL 10

    Accepted Solution

    To resolve this issue, modify the URLs for the appropriate Exchange 2007 components. To do this, follow these steps:
    Start the Exchange Management Shell.
    Modify the Autodiscover URL in the Service Connection Point. The Service Connection Point is stored in the Active Directory directory service. To modify this URL, type the following command, and then press ENTER:
    Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri
    Modify the InternalUrl attribute of the EWS. To do this, type the following command, and then press ENTER:
    Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)" -InternalUrl
    Modify the InternalUrl attribute for Web-based Offline Address Book distribution. To do this, type the following command, and then press ENTER:
    Set-OABVirtualDirectory -Identity "CAS_Server_name\oab (Default Web Site)" -InternalUrl
    Modify the InternalUrl attribute of the UM Web service. To do this, type the following command, and then press ENTER:
    Set-UMVirtualDirectory -Identity "CAS_Server_Name\unifiedmessaging (Default Web Site)" -InternalUrl
    Note This command is required only in an Exchange 2007 environment. This command no longer exists in an Exchange 2010 environment. Instead, the WebServices URL is used for this purpose.
    Open IIS Manager.
    Expand the local computer, and then expand Application Pools.
    Right-click MSExchangeAutodiscoverAppPool, and then click Recycle.

    LVL 10

    Expert Comment

    The above same process is also valid for exchange 2010.
    LVL 8

    Expert Comment

    I think with exchange you are going to have better luck just setting up an Internal DNS record for your email server that matches your external records. In my organization I created a new DNS domain of our external domain for example: "" and then added records for "", "" and "" and pointed them to our internal IP address. This should solve your problem also. Plus it makes the Web Outlook easier to use for your clients.

    Author Closing Comment

    Thank you abhijitmdp, that seemed to do the trick. Thanks for the quick response.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Outlook Free & Paid Tools
    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now