You may get an error called "You do not have the necessary permissions to change the domain logon name for this user" when you deploy you plugin to CRM Server in CRM 2011 and when it was triggered. Then you should check whether the plugin is a synchronous plugin or an asynchronous plugin.
If it is a synchronous plugin, means that this error occurs through IIS. And if this plugin is a asynchronous plugin, means that this error occurs through Microsoft Dynamics CRM Asynchronous Processing Service.
1. If it a synchronous plugin(means that this error occurs through IIS)
Check the 'CRMAppPool' running user
Add the Local Administrator Role to the user
Finally do not forget to reset IIS.
2. If it a asynchronous plugin(means that this error occurs through Microsoft Dynamics CRM Asynchronous Processing Service)
Navigate to the Service and check the service running user
Add the Local Administrator Role to the user
Finally do not forget to reset IIS.
It Really help..!! Thanks :)
ReplyDelete