In Dynamics CRM 2016 on-premise, I need to read in a plugin some information from another Dynamics CRM 2016 on-premise. I am trying to use use Microsoft.Xrm.Tooling.Connector to get a CrmServiceClient object for getting information from the remote Dynamics CRM.
I can register the plugin but when the step of the plugin is triggered I receive an error message: Business Process Error Impossible de charger le fichier ou l'assembly 'Microsoft.Xrm.Tooling.Connector, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ou une de ses dépendances. Le fichier spécifié est introuvable.
I want to know if this is the right way to get information from another CRM in the context of a plugin, and how can I resolve the above error.
Thank you Radu