You cant really do that unless you perhaps set allowd IPs on the EWS virtual directory or use a load balancer / reverse proxy that allows you to target the EWS directory.
Note that
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are using Exchange 2019 I want to block EWS for external users, how we can do that?
You cant really do that unless you perhaps set allowd IPs on the EWS virtual directory or use a load balancer / reverse proxy that allows you to target the EWS directory.
Note that
You can use this as a guide and set on the EWS virtual directory instead:https://blog.expta.com/2018/10/how-to-block-external-access-to.html
To block external access to Exchange Web Services (EWS) in Exchange Server 2019, you can use the Set-OrganizationConfig cmdlet in the Exchange Management Shell. Here are the steps:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.