Hiring a Dynamics 365 plugin developer for a project, after the Developer Toolkit
The old Dynamics 365 Developer Toolkit for Visual Studio is no longer the way plugin projects are created; current practice is a .NET class library scaffolded with the Power Platform CLI (pac plugin init), registered with the Plugin Registration Tool and shipped inside a solution. If you are hiring for a plugin project, look for a developer who knows the Dataverse event pipeline, sandbox limits and solution-based ALM, not just C#.
When this makes sense
- You inherited plugin assemblies built with the Developer Toolkit and nobody can rebuild or deploy them cleanly
- Business rules in Dynamics 365 Sales or Customer Service are too complex or too performance sensitive for Power Automate
- You need server-side validation that cannot be bypassed by imports, the Web API or integrations
- A project needs custom APIs or custom actions callable from Power Apps and external systems
- Plugins are timing out or causing deadlocks during bulk imports and you need someone to redesign them
What the engagement covers
Project scaffolding
Create plugin projects with pac plugin init, target the supported .NET Framework version, sign assemblies, and use plugin packages when dependent assemblies are needed instead of merging DLLs by hand.
Event pipeline design
Choose pre-validation, pre-operation or post-operation stages and synchronous or asynchronous mode per step, with filtering attributes and pre and post images so plugins fire only when relevant fields change.
Custom APIs
Define custom API messages with typed request and response parameters for logic that Power Apps, Power Automate and external systems call, replacing older custom workflow activities where sensible.
Registration and ALM
Register assemblies, steps and images with the Plugin Registration Tool or pac, add them to an unmanaged solution in dev, and promote managed solutions through test and production with Power Platform Build Tools or GitHub Actions.
Performance and limits
Respect the sandbox isolation execution limit of about two minutes per synchronous call, avoid retrieving whole tables in a plugin, and use ExecuteMultiple or async patterns for heavy work.
Testing
Unit tests with a fake IOrganizationService framework, trace logging through ITracingService, and Plugin Trace Log review during user acceptance testing.
How it runs
- 1
Requirements and design (1-2 weeks)
- Confirm which rules truly need plugins versus Power Automate or business rules
- Document messages, tables, stages and images per step
- Agree environment and solution strategy
- 2
Build (2-6 weeks)
- Scaffold projects and set up source control and build
- Write plugins and custom APIs with unit tests
- Register steps in the development environment
- 3
Test and deploy (1-3 weeks)
- Run bulk import and integration tests to check timeouts and locking
- Promote managed solutions to test and production
- Review plugin trace logs and tune
What you get
- Plugin design sheet listing every step, stage, mode, filter and image
- Source code repository with unit tests and build pipeline
- Managed solution packages for each release
- Custom API definitions and usage examples
- Deployment and rollback guide
- Handover notes for internal makers and admins
What drives cost and effort
| Number of steps and tables touched | Each registered step needs design, tests and regression checks. |
| Legacy code quality | Rebuilding undocumented Developer Toolkit assemblies with no source code can double effort. |
| Integration load | High-volume imports force asynchronous designs and careful locking analysis. |
| ALM maturity | No pipeline and manual solution moves add setup work, but save time on every later release. |
| Security model | Plugins that run as a specific user or impersonate callers need extra testing against business units and teams. |
Fixed-price plugin project
A known list of rules and custom APIs with clear acceptance criteria.
Contract developer, time and materials
Projects where requirements evolve sprint by sprint alongside low-code makers.
Code review and rescue block
Teams with existing plugins that time out, conflict or cannot be deployed.
Questions to ask any Microsoft Dynamics 365 consultant
When would you not write a plugin?
A good developer will move simple logic to Power Automate, business rules or calculated columns and save you maintenance.
How do you handle dependent assemblies today?
Plugin packages replaced ILMerge-style workarounds, and the answer shows whether their practice is current.
What is your approach to the two-minute sandbox limit?
Long synchronous plugins block users and fail imports; the developer should know async and batching patterns.
How will plugins move between environments?
Manual registration in production is a common source of drift and outages.
Can we see unit tests from a previous plugin project?
Tests are the cheapest proof that the developer writes maintainable server-side code.
Score candidate partners side by side with the free Implementation Partner Scorecard
Where these projects go wrong
Infinite loops from plugins updating the record that triggered them
Use filtering attributes, depth checks and pre-operation updates to the target instead of a second update call.
Synchronous plugins slowing every save
Move non-blocking work such as notifications and integrations to asynchronous steps.
Lost source code
Require all code in your own repository from day one, not on the contractor's laptop.
Unmanaged changes in production
Deploy only managed solutions to production and lock down who can register steps there.
Many Dynamics 365 projects need no custom plugins at all. Business rules, calculated and rollup columns, Power Fx formula columns and Power Automate cover a lot. Hire a plugin developer when logic must run inside the transaction, cannot be bypassed, or must perform at import volumes.
Frequently asked questions
Is the Dynamics 365 Developer Toolkit still supported?
It is no longer the recommended path. Microsoft's current guidance uses the Power Platform CLI to create plugin projects and the Plugin Registration Tool or pac commands to register them. Older Toolkit projects can usually be migrated into a standard class library.
Plugin or Power Automate flow?
Use a plugin when logic must run synchronously in the same transaction, block a save with a validation error, or handle high volume. Use a flow for notifications, approvals and integrations that can run after the save.
Can plugins call external APIs?
Yes, over HTTPS from the sandbox, but calls count against the execution limit and should normally run in asynchronous steps or via Azure Service Bus or webhooks. Do not hold a user's save waiting on a slow external service.
How do I know which plugins are slow?
Enable Plugin Trace Log in the environment, review execution durations, and check the Power Platform admin center analytics for plugin failures. Then look at retrieve patterns inside the slowest steps first.
Can AI write Dataverse plugins?
AI coding tools speed up boilerplate and test writing, and Netray uses AI agents for code review and test generation. A developer still has to design stages, images and transaction behaviour, which is where most plugin bugs come from.