# Dynamics 365 Integration for Email Validation

URL: https://email-validation.org/integrations/dynamics-365/
Updated: 2026-11-30

> Documentation index: https://email-validation.org/llms.txt

Two pieces you download: a Dataverse plug-in checks each new or changed Contact and Lead address after the record is saved, and a bulk command you run on your own computer checks every existing record as one bulk list. Both keep the status in five columns of the record.

[Read the full setup guide](https://email-validation.org/docs/guides/dynamics-365/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- A plug-in and a command you download

**dynamics-365.mjs** Node 22.18 or later

Terminal

```bash
export EV_API_KEY=… DATAVERSE_URL=https://<env>.crm.dynamics.com
export DATAVERSE_TENANT_ID=… DATAVERSE_CLIENT_ID=… DATAVERSE_CLIENT_SECRET=…
node dynamics-365.mjs --setup --prefix cr5a1_ --solution YourSolution
node dynamics-365.mjs --dry-run --prefix cr5a1_
node dynamics-365.mjs --prefix cr5a1_
```

## At a glance.

- **Status**: **Setup guide.** Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- **For**: Sales and marketing teams on Dynamics 365 or Dataverse who want the contacts and leads that will bounce, or should not be mailed at all, marked on the record where views and flows can use them.
- **You need**: An [API key](https://email-validation.org/app/api-keys/) of ours (with Bulk lists for more than 50 records), a Microsoft Entra app registration with a client secret and its application user in your environment, an unmanaged solution of your own for the five columns, and Node 22.18 or later. The plug-in also needs Visual Studio or the dotnet command-line tools to build it and Windows for Microsoft’s Plug-in Registration Tool.
- **Costs**: 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/guides/dynamics-365/)

## Typical uses.

- **Filter views on the status**: Each record gets Email status, Email status reason, Email checked address, Email checked on and Email check error. Spam traps and complainers are valid with a warning reason.
- **Check new and changed addresses**: The plug-in runs as an asynchronous job after the save, so a save never waits and nothing is ever blocked. An unchanged address is never checked twice.
- **Clean what you already have**: The bulk command checks every existing Contact and Lead as one bulk list and writes each status back.

## Set it up. 4 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/dynamics-365/), which stays the reference when a step does not match what you see.

1. **Download and unzip**: It is not on a marketplace: download email-validation-dynamics-365.zip from the guide. It holds dynamics-365.mjs, the plug-in’s source in plugin/ and the licence.
2. **Connect your environment**: Register an app in Microsoft Entra ID with a client secret, then add it as an application user in Power Platform admin center (Manage → Environments → your environment → Settings → Users + permissions → Application users).
3. **Add the columns, dry run, run**: `node dynamics-365.mjs --setup` adds the five columns once; `--dry-run` counts what it would check and spends nothing; then run it without `--dry-run`.
4. **Register the plug-in**: Build and sign the assembly, then register four asynchronous PostOperation steps (Create and Update on Contact and Lead) with your API key as their secure configuration.

## Good to know.

- Neither piece ever blocks a save, deletes, deactivates or creates a record. A failed check leaves the record as saved and writes why in Email check error; the next bulk run checks it again.
- Run the bulk command again after any stop and it resumes the same bulk list without paying twice (within the 30 days a list is kept). It prints ids and counts, never an address or a secret.
- `--region eu` checks and keeps the list in the EU, with the same key; the plug-in takes `region=eu` in its unsecure configuration.
- The API key sits in each step’s secure configuration, which Dataverse shows only to administrators and never exports with a solution.

## Related

- [The full Dynamics 365 setup guide](https://email-validation.org/docs/guides/dynamics-365/)
- [The five columns it writes](https://email-validation.org/docs/guides/dynamics-365/#columns)
- [Try it free in a test environment](https://email-validation.org/docs/guides/dynamics-365/#try)
- [What each status means](https://email-validation.org/docs/statuses/)
- [Freshdesk integration](https://email-validation.org/integrations/freshdesk/)
- [Front integration](https://email-validation.org/integrations/front/)
- [Gorgias integration](https://email-validation.org/integrations/gorgias/)
- [Help Scout integration](https://email-validation.org/integrations/helpscout/)
- [All integrations](https://email-validation.org/integrations/)
