Unable to change Autodiscover URL for Exchange 2007

Posted on 2009-02-10
Last Modified: 2012-08-14
When running the Exchange Best Practices Analyzer (ExBPA) on our recent SBS 2008 install, we get the following error:

The subject alternative name (SAN) of SSL certificate for https://sites/Autodiscover/Autodiscover.xml does not appear to match the host address. Host address: sites. Current SAN: DNS, DNS, DNS, DNS Name=company-server, DNS, DNS, DNS

I need to change the "sites" to "company-server" so the URL actually works.  I know this is supposed to be done using the Set-ClientAccessServer cmdlet in the shell, but when I run a Get-ClientAccessServer, I see that the proper URL is already set!

Is there another place I should be looking?  Where is ExBPA looking for this info?

Question by:kemis
    LVL 8

    Expert Comment

    LVL 6

    Accepted Solution


    use the Set-autodiscoverVirtualDirectory command


    Author Closing Comment

    Holy crap!  I'm getting somewhere!!

    Set-AutodiscoverVirtualDirectory -identity "Autodiscover (SBS Web Applications)" -internalurl https://company-server/Autodiscover/Autodiscover.xml

    This appears to have worked for the Autodiscover, but now the ExBPA is complaining about UnifiedMessaging.  So, using intuition, I used the following command:

    Get-UMVirtualDirectory | set-umvirtualdirectory -internalurl "https://company-server/UnifiedMessaging/Service.asmx"

    That did it!  All certificate related errors are gone now.  Thanks!!

    P.S. - greesh_hem:  I read that article before, it didn't talk too many specifics for changing the VirtualDirectory Internal URL.  Thanks, though!


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
    Use email signature images to promote corporate certifications and industry awards.
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
    The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

    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

    20 Experts available now in Live!

    Get 1:1 Help Now