Unable to connect plugin registration tool
Recently i created a trial D365 org (version 22.214.171.12472) and tried connecting plugin registration tool downloaded with PRT of lastes sdk (version 126.96.36.199)from downloaded form here which is latest as on date on that portal of MS.
Newly created trail org is of version 9.0. while the latest sdk available is 8.2 but i though it shouldn’t be any problem (though it was) since we were used to of using older version plugin registration tools with newer version of CRM ( remember connecting CRM 2013 organisation with PRT of 2011 sdk).
On some digging i found that reason of the same:
Latest Update on Dynamics CRM V9:
Latest update in the Microsoft TSL(Transport Security Layer) Protocol in SDK assemblies.
Microsoft allowed the TSL connection 1.0 and 1.1 for the browsers or client to connect the CRM org. Now Microsoft will support only TSL 1.2 or above. Can get more information here.
If you are connecting your latest dynamic CRM trial org with the old version of plugin registration tool or connecting any external application, then you may face an issue.
TSL protocol of our .Net client is usually 1.0. You can check how to check tsl protocol of your .Net client by downloading fiddler from here
Once Fiddler gets installed, Go to Tools > Options in order to check Protocol version:
To Resolve Plugin registration connection issue we need to install Latest Plugin registration tool from Nuget rather than using PRT(Plugin registration tool) available in latest sdk available on MS website which is version 188.8.131.52 :-
There are 2 way of installing Latest Plugin registration tool easily:-
1. Create/Open a project in Visual studio
2. Navigate to Tools>NuGet Package Manager>Package manager console
3. Paste following command in Packager manager console and hit enter:
Install-Package Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -Version 184.108.40.206
once executes, this will install the package in current opened solution folder.
4. Open the folder of the solution opened in Visual studio:
5. You’ll see PRT V 9.0 in package folder:
6. Now try to connect to your version 9.0 CRM trial, it’ll get connected. 🙂
1. Create a new project just like step 1 of Option A.
2. Right click on the project and click manage NuGet Packages:
3. Click on browse and enter ‘Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool‘ and click install:-
4. It’ll install the package in your solution’s folder:-
5. You can navigate to the installed package same as step 4 and 5 of option A mentioned above.
6. Now connect your PRT with version 9.0 crm org and enjoy plugin registration.