应用对象
Exchange Server 2010 Enterprise Exchange Server 2010 Standard Exchange Server 2016 Enterprise Edition Exchange Server 2016 Standard Edition Exchange Server 2013 Enterprise Edition Exchange Server 2013 Standard Edition

配置本地的 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 身份验证。

  1. 打开 Windows Powershell 并添加 Exchange 管理管理单元中。

    Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn 
  2. 禁用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。

    Set-WebServicesVirtualDirectory "<ServerName>\ews (Exchange Back End)" -WSSecurityAuthentication:$False 
  3. 启用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。

    Set-WebServicesVirtualDirectory "<ServerName>\ews (Exchange Back End)" -WSSecurityAuthentication:$True 
  4. 禁用自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 WSSecurity 身份验证。

    Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Exchange Back End)" -WSSecurityAuthentication:$False 
  5. 自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 Eable WSSecurity 身份验证。

    Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Exchange Back End)" -WSSecurityAuthentication:$True 
  6. 重新启动应用程序池使用重新启动 WebAppPool cmdlet。

    Restart-WebAppPool MSExchangeAutodiscoverAppPoolRestart-WebAppPool MSExchangeServicesAppPool 

Exchange 2010要解决此问题,请重置远程组织中每个客户端访问服务器上的虚拟目录的 WSSecurity 身份验证。

  1. 打开 Exchange 管理外壳程序。

  2. 禁用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。

    Set-WebServicesVirtualDirectory "<ServerName>\ews (Default Web Site)" -WSSecurityAuthentication:$False 
  3. 启用 WSSecurity 使用一组 WebServicesVirtualDirectory cmdlet EWS 虚拟目录的身份验证。

    Set-WebServicesVirtualDirectory "<ServerName>\ews (Default Web Site)" -WSSecurityAuthentication:$True 
  4. 禁用自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 WSSecurity 身份验证。

    Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Default Web Site)" -WSSecurityAuthentication:$False 
  5. 启用自动发现虚拟目录使用一组 AutodiscoverVirtualDirectory cmdlet 的 WSSecurity 身份验证。

    Set-AutodiscoverVirtualDirectory "<ServerName>\Autodiscover (Default Web Site)" -WSSecurityAuthentication:$True 
  6. 重新启动应用程序池使用以下语法:

    appcmd stop appPool /appPool.name:MSExchangeAutodiscoverAppPoolappcmd start appPool /appPool.name:MSExchangeAutodiscoverAppPoolappcmd stop appPool /appPool.name:MSExchangeServicesAppPoolappcmd start appPool /appPool.name:MSExchangeServicesAppPool 

需要更多帮助?

需要更多选项?

了解订阅权益、浏览培训课程、了解如何保护设备等。