Run the following command, replacing identity with the actual name of your server and the externalurl with the actual URL: ...

Run the following command, replacing identity with the actual name of your server and the externalurl with the actual URL:  set-webservicesvirtualdirectory -identity "MYSERVER\EWS (Default Web Site)" -externalurl https://exchange.contoso.com/EWS/Exchange.asmx  -BasicAuthentication:$True
English
English (United States)
日本語
Japanese