Autodiscover in Exchange External & Inernal URL must be configured?

Kaleem Ullah 61 Reputation points
2021-08-18T18:22:57.687+00:00

Hi

I have a 2Exchange Server MBX AND MBX1 is apart of DAG, which external connection point of acceptance is CAS1.

I Studied a lot of articles but i am facing some issue of Autodiscover connectivity from outside ,

I have to configure Autodiscover(Default Web Site) Internal and External URL in virtual Directory through GUI or PowerShell should i use or i don't need to configure this Autodiscover default website and leave it blank or what.?

But when i run command on CAS1>Get-AutodiscoverAccess Server | fl i am getting internal url like https://mail.mydomain.com if its exist in cas1 than why in ECP>server>virtual directory is not showing the internal url on ECP gui ?

124388-screenshot-9.png

Exchange | Exchange Server | Management
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2021-08-18T18:29:03.607+00:00

    You dont configure the autodiscover virtual directory URL. You set the other clients URLs for external access:

    https://blog.rmilne.ca/2013/04/02/busting-the-set-autodiscovervirtualdirectory-myth/

    If you notice, it only apples to Exchange 2010 to set that:
    https://learn.microsoft.com/en-us/powershell/module/exchange/set-autodiscovervirtualdirectory?view=exchange-ps

    Note: Please accept an answer in your other thread before starting a new one. Thank you

    0 comments No comments

  2. Kaleem Ullah 61 Reputation points
    2021-08-18T18:36:20.663+00:00

    @Andy David - MVP
    my all other urls are exist of ECP\OWA\EWS\OAB\ACTIV-SYCN etc but as shown in pic Autodiscover (Default Web site) is missing. So according to you it should be remain as it's or blank?


  3. KyleXu-MSFT 26,396 Reputation points
    2021-08-19T06:38:05.403+00:00

    @Kaleem Ullah

    It is an expected behavior that there doesn't show external user for Autodiscover from the ECP(It doesn't mean this value is null):
    124508-qa-kyle-14-13-10.png
    124544-qa-kyle-14-13-38.png

    You could use command below to check ExternalUrl from EMS (Don't need to care about the value of InternalUrl):

    Get-AutodiscoverVirtualDirectory -server exch | fl name, *url*  
    

    If there exist issue with your Autodiscover connectivity from outside, you could use the MRCA tool to check whether there real exist issue with External Autodiscover.
    You can also from an external client to use "Test Email Autoconfiguration" check whether there exist issue with external Autodiscover:
    124591-qa-kyle-14-49-08.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  4. Kaleem Ullah 61 Reputation points
    2021-08-19T08:20:01.963+00:00

    @KyleXu-MSFT

    Screenshot attached of mytesting

    124672-screenshot-10.png124673-screenshot-11.png


  5. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2021-08-19T13:53:53.44+00:00

    Ok, that wont work if so. And its not supported. Only the Edge role can be in a DMZ


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.