Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

App Proxy and Exchange Hybrid

Brass Contributor

I have what appears to be a odd scenario. I would like to enable the Exchange Hybrid config, however I don't want to expose my on-prem Exchange servers to the internet. I was thinking I could potentially use the Azure App Proxy to publish URIs like autodiscover.mydomain.com and mail.mydomain.com.

 

I know Exchange Online needs to access the AutoDiscover URI, but can I use the App Proxy with conditional access to somehow limit access to that URI to only Exchange Online? Is there another Azure product that would do this better? Any and all suggestions welcome.

6 Replies

@Vasil Michev That's the path I went but I still needed my autodiscover publicly available. :sad:

Hi,
you don't need to publish Autodiscover if you are using the Hybrid Agent. Or why do you want to publish it?
All Free/Busy requests will traverse over the Hybrid Agent.
Michael
Running through the hybrid configuration wizard I kept getting an error that my autodiscover url wasn’t reachable. It is listed in the requirements on docs.microsoft.com that autodiscover be reachable as well. https://docs.microsoft.com/en-us/Exchange/hybrid-deployment-prerequisites And isn’t autodiscover discover required if I want ActiveSync to work for mailboxes I migrate to EOL?
For the HCW your Autodiscover URL should be reachable internally or you could ignore this error, because the TargetSharingEPR should be set correct by the HCW.
Yes Autodiscover is required for new mailboxes but if you lock it down to Exchange Online IPs it will not work for your mobile phones, because there are coming from different IPs. So if you want to have Autodiscover working you have to publish without any specific IP blocking rules.