在CRM负载平衡环境中为SSRS设置SPN

在CRM运行报表时,我在CRM负载平衡实时环境中随机获取此exception。

System.ServiceModel.Security.SecurityNegotiationException:对SSPI的调用失败,请参阅内部exception。 System.Security.Authentication.AuthenticationException:对SSPI的调用失败,请参阅内部exception.System.ComponentModel.Win32Exception:目标主体名称不正确

所以我的下一步是更新运行其服务的SSRS和CRM域帐户的SPN。 在一个环境中:

  • 2个CRM服务器: live-srv-crm01 ; live-srv-crm02 live-srv-crm01 ; live-srv-crm02
  • 2个SSRS服务器: live-srv-ssrs01 ; live-srv-ssrs02 live-srv-ssrs01 ; live-srv-ssrs02

FQDN的服务器遵循以下语法: live-srv-crm01.companyname.azure

对于在任何SRSS服务器中运行Reporting Services服务的域帐户,我没有任何SPN设置。

运行CRM应用程序池的帐户的我的SPN是: http/live-srv-crm01.companyname.com http/live-srv-crm01 http/internalcrm.companyname.com http/internalcrm

  1. 对于运行Reporting Services服务的每个域帐户,将针对此设置进行SPN疑难解答吗?

http/live-srv-ssrs01 http/live-srv-ssrs01.companyname.azure

http/live-srv-ssrs02 http/live-srv-ssrs02.companyname.azure

  1. 或者我需要更新运行CRM应用程序池的域帐户的SPN?

http/live-srv-crm-01.companyname.azure http/live-srv-crm02 http/live-srv-crm02.companyname.azure

  1. 要testing执行步骤1是否有效,是否需要iisreset