配置本地的 Microsoft Exchange Server 组织和一个远程 Exchange Server 组织之间建立联合身份验证信任时,用户无法看到远程组织中用户的忙/闲信息。
此外,在本地 Exchange 服务器上的事件日志中记录以下错误:
事件 ID: 4001
任务类别:可用性服务
级别:错误
关键字:经典
用户:N/A
计算机: < 计算机名 >
说明:
\rocess Microsoft.Exchange.InfoWorker.Common.Delayed'1[System.String]: SMTP:user@contoso.com 失败。返回异常是 Microsoft.Exchange.InfoWorker.Common.Availability.AutoDiscoverFailedException: 自动发现失败的电子邮件地址 SMTP:user@contoso.com 与异常Microsoft.Exchange.InfoWorker.Common.Availability.AutoDiscoverFailedException: 到 https://autodiscover.right.com/autodiscover/autodiscover.svc/WSSecurity 上的自动发现服务请求失败的无效响应。
此外,W3SVC 日志中,如下所示记录 HTTP 500 的远程目录林 Exchange 服务器的可用性请求返回的响应:
原因
此问题是由于在本地 Exchange Server 2010年组织中的客户端访问服务器上禁用了"EWS"虚拟目录或"自动发现"虚拟目录的WSSecurity属性。
解决方案
交换 2016年或 Exchange 2013
要解决此问题,请重置远程组织中每个服务器的 Exchange 后端网站上的虚拟目录的 WSSecurity 身份验证。
-
打开 Windows Powershell 并添加 Exchange 管理管理单元中。
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
-
禁用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。
Set-WebServicesVirtualDirectory "<ServerName>\ews (Exchange Back End)" -WSSecurityAuthentication:$False
-
启用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。
Set-WebServicesVirtualDirectory "<ServerName>\ews (Exchange Back End)" -WSSecurityAuthentication:$True
-
禁用自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 WSSecurity 身份验证。
Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Exchange Back End)" -WSSecurityAuthentication:$False
-
自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 Eable WSSecurity 身份验证。
Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Exchange Back End)" -WSSecurityAuthentication:$True
-
重新启动应用程序池使用重新启动 WebAppPool cmdlet。
Restart-WebAppPool MSExchangeAutodiscoverAppPool
Restart-WebAppPool MSExchangeServicesAppPool
Exchange 2010
要解决此问题,请重置远程组织中每个客户端访问服务器上的虚拟目录的 WSSecurity 身份验证。
-
打开 Exchange 管理外壳程序。
-
禁用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。
Set-WebServicesVirtualDirectory "<ServerName>\ews (Default Web Site)" -WSSecurityAuthentication:$False
-
启用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。
Set-WebServicesVirtualDirectory "<ServerName>\ews (Default Web Site)" -WSSecurityAuthentication:$True
-
禁用自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 WSSecurity 身份验证。
Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Default Web Site)" -WSSecurityAuthentication:$False
-
启用自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 WSSecurity 身份验证。
Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Default Web Site)" -WSSecurityAuthentication:$True
-
重新启动应用程序池使用以下语法:
appcmd stop appPool /appPool.name:MSExchangeAutodiscoverAppPool
appcmd start appPool /appPool.name:MSExchangeAutodiscoverAppPool
appcmd stop appPool /appPool.name:MSExchangeServicesAppPool
appcmd start appPool /appPool.name:MSExchangeServicesAppPool