网友故障描述如下:
exchange2016 owa和ecp登陆时一直报输入的用户和密码不正确!查看过组件只有ForwardSyncDaemon和ProvisioningRps是Inactive!exchange相关的服务都是正常的!应用日志里报MSExchange ADAccess EventID 2160 !试过重建owa和ecp的虚拟目录、使用ADSIEDIT.msc清理过CN=Client Access里的msEmsExchCanaryData0数值。环境中有一台DC,三台ex2016做了dag,另外两个ex的owa和Ecp都是正常的!
解决方法如下:
Remove-OwaVirtualDirectory "exch\owa (Default Web Site)"
New-OwaVirtualDirectory -InternalUrl https://mail.domain.com.au/owa -ExternalUrl https://mail.domain.com.au/owa
Remove-ECPVirtualDirectory “exch\ECP (Default Web Site)”
New-ECPVirtualDirectory -InternalUrl https://mail.domain.com.au/ecp -ExternalUrl https://mail.domain.com.au/ecp
Set-OWAVirtualDirectory -Identity "exch\OWA (Default Web Site)" -FormsAuthentication $true -BasicAuthentication $True
Set-ecpVirtualDirectory -Identity "rexch\ecp (Default Web Site)" -FormsAuthentication $true -BasicAuthentication $True
重启IIS