Exchange Online用户在非面向 Internet 的 Active Directory 站点中无法访问用户的忙/闲信息

注意

Microsoft Exchange Server 2010 Exchange 管理控制台中包含的混合配置向导不再受支持。 因此,不应再使用旧的混合配置向导。 请改用在 中 https://aka.ms/HybridWizard提供的 Microsoft 365 混合配置向导。 有关详细信息,请参阅 适用于 Exchange 2010 的 Microsoft 365 混合配置向导

原始 KB 编号: 3057905

症状

请考虑以下情况:

  • 你有Microsoft Exchange Online和本地Microsoft Exchange Server的混合部署。
  • 混合环境有两个 Active Directory 站点。
  • 一个 Active Directory 站点面向 Internet,另一个站点不面向 Internet。

在此方案中,Exchange Online中具有邮箱的用户无法访问在非面向 Internet 的 Active Directory 站点中拥有邮箱的本地用户的忙/闲信息。

此外,每当面向 Internet 的站点中的Exchange Online邮箱向非 Internet 站点中的本地邮箱发出可用性请求时,应用程序日志中都会记录类似于以下内容的事件 ID 4002 条目。

日志名称:应用程序
源:MSExchange Availability
事件 ID:4002
任务类别:可用性服务
级别:错误
关键字:经典
用户:不适用
计算机:<InternetfacingServer.domain.com>
说明:
进程 6424:ProxyWebRequest CrossSite 从 UserA@contoso.mail.onmicrosoft.comhttps://<FQDN of non-Internet-facing Exchange>:443/ews/exchange.asmx failed。 调用方 SID:WSSecurity。 返回的异常为
Microsoft.Exchange.InfoWorker.Common.Availability.ProxyWebRequestProcessingException:
System.Net.WebException:基础连接已关闭:接收时发生意外错误。
>--- System.IO.IOException:无法从传输连接读取数据:现有连接
被远程主机强行关闭。 >--- System.Net.Sockets.SocketException:现有连接
被远程主机强行关闭
at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult asyncResult)
---内部异常堆栈跟踪---结束
at System.Net.Security._SslStream.EndRead (IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead (IAsyncResult asyncResult)
at System.Net.PooledStream.EndRead (IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback (IAsyncResult asyncResult)
---内部异常堆栈跟踪---结束
at System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse ()
at System.Web.Services.Protocols.WebClientProtocol.EndSend (IAsyncResult asyncResult,
object& internalAsyncState,Stream& responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke (IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.Service.EndGetUserAvailability (IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.FreeBusyApplication.EndProxyWebRequest (ProxyWebRequest proxyWebRequest、QueryList queryList、Service、IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.ProxyWebRequest.EndInvoke (IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.AsyncWebRequest.EndInvokeWithErrorHandling () :<无响应>。 请求信息为 ProxyWebRequest 类型 = CrossSite,url = https://FQDN 非面向 Internet 的 Exchange>:443/ews/exchange.asmx
邮箱列表 = <用户 B>SMTP:UserB@fabrikam.com,参数:windowStart = DateTime,windowEnd = DateTime,MergedFBInterval = 30,RequestedView = Detailed。 >--- System.Net.WebException:基础连接已关闭:发生意外错误
接收。 >--- System.IO.IOException:无法从传输连接读取数据:远程主机强行关闭了现有连接。 >--- System.Net.Sockets.SocketException:远程主机强行关闭了现有连接
at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult asyncResult)
---内部异常堆栈跟踪---结束
at System.Net.Security._SslStream.EndRead (IAsyncResult asyncResult)
at System.Net.TlsStream.EndRead (IAsyncResult asyncResult)
at System.Net.PooledStream.EndRead (IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback (IAsyncResult asyncResult)
---内部异常堆栈跟踪---结束
at System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse ()
at System.Web.Services.Protocols.WebClientProtocol.EndSend (IAsyncResult asyncResult、Object& internalAsyncState、Stream& responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke (IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.Service.EndGetUserAvailability (IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.FreeBusyApplication.EndProxyWebRequest (ProxyWebRequest proxyWebRequest, QueryList queryList, Service, IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.ProxyWebRequest.EndInvoke (IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.AsyncWebRequest.EndInvokeWithErrorHandling ()
---内部异常堆栈跟踪---结束
. 异常引发的服务器的名称: <面向 Internet 的站点>的主机名。

确保包含用户邮箱的 Active Directory 站点或林至少有一台运行Exchange Server同时运行可用性服务的本地服务器。 打开可用性服务的日志记录,然后测试基本网络连接。

原因

用于创建与 Exchange Online 联合的证书未安装在非面向 Internet 的站点的 Exchange 服务器上。

解决方案

从面向 Internet 的 Exchange 服务器导出联合证书,然后将其导入到非面向 Internet 的 Exchange 服务器。

更多信息

有关如何在 Exchange Server 中导出证书的详细信息,请参阅以下资源:

仍然需要帮助? 前往 Microsoft 社区Microsoft 问答