CRM角色权限问题及解决

今天遇到一个关于CRM 4 Outlook 客户端的问题:

有用户的Outlook Appointment窗体的工具栏中没有Track in CRM按钮:

检查遇到问题的用户所在的角色发现里面缺少了一些必要的权限:

CRM角色权限问题及解决

添加以上权限后,Track In CRM 按钮出现。但是还有问题:

用户发送Appointment时,遇到一个对话框显示:

The logged on user does not have the appropriate security permissions to view these records or perform the specific action.

上面的信息仅告知了一个权限问题却没有指出缺少哪个权限!

登录到CRM服务器 (CRM Tracing 状态为启动 - 如何启动?

找到上面对话框弹出时的trace log:

>CrmSoapExtension detected CrmException:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.BusinessEntities.CrmSecurityException: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: c871bbf4-f459-dd11-b3a3-00155d012206 and PrivilegeId: f1249a6e-33e2-45fe-903b-f4c50810ee58

在CRM数据库的PrivilegeBase表中查询以上PrivilegeID即可知道缺少哪个权限:

CRM角色权限问题及解决

Bingo! - 添加该权限,问题解决。

CRM角色权限问题及解决