Hi,
To block or disable external OWA for exchange users, please refer to the following steps
- Create a new website only for ActiveSync service. Ex: (New-WebSite -Name TestSite -Port 80 -HostHeader TestSite -PhysicalPath "$env:systemdrive\inetpub\testsite").
- Assign new IP address to that website.
- Create ActiveSync virtual directory in the new website Ex: (New-ActiveSyncVirtualDirectory -WebSiteName "TestSite" -ExternalURL http://www.contoso.com/mail -InternalURL http://contoso/mail).
- Assign certificate to the new website.
- Dont create OWA and ECP virtual directory in the new website.
- On the firewall NAT the public IP address to internal IP address assigned to new website.
- Use Default Website for internal outlook web access(Without External URL settings and no public IP address for the default site).
Alternatively, we can keep the default web site for external access of ActiveSync and external OWA disabled. Then create a new Web Site for Internal OWA-ECP using.
For more details about this method, please refer to this blog:
http://www.expta.com/2013/09/how-to-block-owa-2010-and-2013-for.html
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
make sure that you completely understand the risk before retrieving any suggestions from the above link.
Best Regards.