Skip to main content
Dynamics 365 actions let an agent work with account records directly in a flow. An agent can read, list, create, update, and delete accounts, then pass the results to later steps.

Supported actions

Prerequisites

Connect Dynamics 365 as a Dynamics 365 OAuth credential in Credential Management, then select it on every Dynamics 365 action. For the connection steps, see the Microsoft Entra OAuth setup guide.

How to use these actions

  • Map text inputs from earlier steps. Text inputs accept a value mapped from a previous step. The Top number and the Return All toggle take fixed values.
  • Query with OData options. The Get All action accepts OData query options. Use Select to choose fields, Filter to narrow results such as statecode eq 0, and Order By to sort such as name asc.
  • List fields as comma separated values. The Select and Expand inputs take comma separated field names.
  • Only accounts are supported today. These actions currently work with Account records only.

Actions

Account

Dynamics 365 Account Get

Retrieves an account by ID.

Dynamics 365 Account Get All

Lists accounts.

Dynamics 365 Account Create

Creates a new account.

Dynamics 365 Account Update

Updates an existing account.

Dynamics 365 Account Delete

Deletes an account.

Example

An agent that refreshes details on active accounts:
1

List the accounts

A Dynamics 365 Account Get All action sets Filter to statecode eq 0 to return only active accounts and Select to the fields the agent needs.
2

Pick a record

A model step reviews the list and chooses the account to update, carrying its Account ID forward.
3

Update the account

A Dynamics 365 Account Update action maps Account ID from the previous step and sets the new field values, such as Telephone and Website URL.

Troubleshooting

The Account ID does not exist in the connected environment. Confirm the ID with a Get All action before retrieving, updating, or deleting.
These actions currently support Account records only. Other Dynamics 365 entities are not yet available through these actions.
For issues common to every vendor, see the Actions overview.