各位好,苹果MAC的Outlook2011采用Exchange方式连接服务器的时候,无论采用自动发现还是手动配置,EWS内网和外网经常切换。这样就会导致如果EWS地址当时为内网InternalUrl时,离开公司网络环境无法收发邮件。
使用Get-WebServicesVirtualDirectory |fl 命令获取到的EWS地址如下:(域名已经被替换)
InternalUrl :
https://srv02.contoso.com/EWS/Exchange.asmx
ExternalUrl :
https://mail.contoso.com/ews/exchange.asmx
试图使用Get-ClientAccessServer -Identity srv02.contoso.com |Set-WebServicesVirtualDirectory -InternalUrl "https://mail.contoso.com/ews/exchange.asmx"将InternalUr地址改为外网URL时报错。
Set-WebServicesVirtualDirectory : 由于在域控制器“SRV0P.contoso.com”上未找到对象“SRV02”,因此无法执行该操作。
柳海宝