Delete Record

dynamics_crm.delete_record
ActionCRM & salesconnection required

Calls the Microsoft Dynamics 365 API with the connection's credentials.

Delete one row from any Dynamics 365 table by its id.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Microsoft Dynamics 365
Secret shape
{"client_id": "…", "client_secret": "…", "refresh_token": "…"}
Config it needs
org_url, tenant, api_version
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
entity_set
The entity set to work with: 'accounts', 'contacts', 'opportunities', 'leads', 'incidents' (cases), 'tasks', or any other table's entity set name, including custom tables. It is the plural name from the table's 'Copy set name' in Power Apps, which is not always the plural of the table name.
stringYes——accounts
record_id
The row's primary key GUID, or an alternate-key predicate such as firstname='Joe',emailaddress1='joe@contoso.com'.
stringYes——00000000-0000-0000-0000-000000000001

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "entity_set": "accounts",
  "record_id": "00000000-0000-0000-0000-000000000001"
}

Output

One shape.

result

FieldTypeExample
entity_set
The entity set the row belonged to.
string—
record_id
The row that was deleted.
string—
deleted
True when Dataverse accepted the delete.
boolean—
{
  "deleted": false,
  "entity_set": "",
  "record_id": ""
}

Notes

  • Dataverse answers 404 when the row does not exist, which fails the step.

See Delete Record run in a workflow.

In a technical demo we add the Microsoft Dynamics 365 connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.