If you are new to plugin development, you must’ve learnt by now that you’ll need to download and install a Plugin Registration Tool in order to register your plugin with the Dynamics 365 environment you are working on.
In case you are on your own and someone hasn’t given you the zip file already, here’s how you can start from scratch. đ

Download Plugin Registration Tool using PowerShell
Here’s how you start from the very beginning.
- If you do a quick Google Search, you might find someone must’ve already uploaded a Plugin Registration Tool somewhere, but in case you want to get it from Microsoft’s official website, here’s the link to Microsoft Docs – https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/download-tools-nuget?view=op-9-1&viewFallbackFrom=op-9-1%3FWT.mc_id%3DDX-MVP-5003911
Then, you can directly navigate to the Plugin Registration Tool segment by clicking on the highlighted link below - In Plugin Registration Tool, you can simply click on the Download Package button
This file Nuget file will be downloaded to your machine – - Now, open PowerShell in Admin mode –
- Now, write the below code in PowerShell [Make sure you are pointing to the directory where you want to install the Nuget.exe]
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $sourceNugetExe = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" $targetNugetExe = ".\nuget.exe" Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe Set-Alias nuget $targetNugetExe -Scope Global -Verbose
It’ll look like this when you type and press Enter, after a few moments when it’s completed downloading, you’ll be in the below state – - Now, Microsoft Docs article above lists the PS Script to download all the Tools, but from that, if you want to only Download Plugin Registration Tool for now, that’s fine! You can just write the below PS Script and leave the rest –
PS Script for Plugin Registration Tool only –## ##Download Plugin Registration Tool ## ./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools md .\Tools\PluginRegistration $prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'} move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration Remove-Item .\Tools\$prtFolder -Force -Recurse
And when you press enter, it’ll setup the same and this will be your completed state – - And you are done! Plugin Registration Tool has been downloaded
And since we only Downloaded the Plugin Registration Tool and nothing else, only Plugin Registration Tool folder will be seen - And here’s your Plugin Registration Tool
Hope this was helpful! Here are some more Dynamics 365 posts which you might be interested in –
- Dynamics 365 Storage Utilization | Dataverse Storage | Power Platform Admin Center
- Use Hierarchy in Roll Up Fields in Dynamics 365Â CRM
- Filter records in a View owned by a Team you are a member of | Dynamics 365Â CRM
- Get GUID of the current View in Dynamics 365 CRM JS from ribbon button | Ribbon Workbench
- Dynamics 365 App For Outlook missing on SiteMap in CRM? Use shortcut link [Quick Tip]
- Import lookup referencing records together in Dynamics 365 CRM | [Linking related entity data during Excel Import]
- Mailbox Alerts Hide/Show behavior in Dynamics 365Â CRM
- Excel Importing Notes (Annotation) entity in Dynamics 365Â CRM
- Enable/Disable the need to Approve Email for Mailboxes in Dynamics 365 CRMÂ CE
- Call Azure Function from Dynamics 365 CRM using Webhooks
- Show Ribbon button only on record selection in Dynamics CRM
- Accessing multiple occurrences of a field in Business Process Flow using JS in D365Â CRM
Thank you!!