症状
当单击 Dynamics 365 中的邮箱记录的测试和启用邮箱按钮时,测试结果部分出现故障,就会记录以下警告:
""您的邮箱现在已连接到 Dynamics 365"的电子邮件无法发送,因为建立安全连接到电子邮件服务器时出错。没有同步邮箱 [邮箱名称]。已通知 Microsoft Exchange Online 的电子邮件服务器配置文件的所有者。
通过电子邮件发送服务器错误代码: Http 服务器返回禁止例外。"
如果单击详细信息,将显示下面的其他详细信息:
"错误: System.Net.WebException: 请求失败,HTTP 状态 403: 禁止访问。
在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse SoapClientMessage 消息,WebResponse 响应、 流 responseStream (布尔型 asyncCall)
在 System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke (IAsyncResult asyncResult)
在 Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceBinding.EndCreateItem (IAsyncResult asyncResult)
在 Microsoft.Crm.Asynchronous.EmailConnector.ExchangeOutgoingEmailProvider.EndCreateItem()"