使用 Microsoft 登录
登录或创建帐户。
你好,
使用其他帐户。
你有多个帐户
选择要登录的帐户。

配置本地的 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 MSExchangeAutodiscoverAppPool
    Restart-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:MSExchangeAutodiscoverAppPool
    appcmd start appPool /appPool.name:MSExchangeAutodiscoverAppPool

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


需要更多帮助?

需要更多选项?

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

社区可帮助你提出和回答问题、提供反馈,并听取经验丰富专家的意见。

此信息是否有帮助?

你对语言质量的满意程度如何?
哪些因素影响了你的体验?
按“提交”即表示你的反馈将用于改进 Microsoft 产品和服务。 你的 IT 管理员将能够收集此数据。 隐私声明。

谢谢您的反馈!

×