Supported actions
Prerequisites
Create a Dynamics 365 credential
Create a Dynamics 365 credential
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 asname 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
Account not found
Account not found
The Account ID does not exist in the connected environment. Confirm the ID with a Get All action before retrieving, updating, or deleting.
Authentication or consent error
Authentication or consent error
The Entra app consent is missing or the access token expired. Reconnect the Dynamics 365 OAuth credential and confirm the app has been granted consent for the environment.
Only accounts are available
Only accounts are available
These actions currently support Account records only. Other Dynamics 365 entities are not yet available through these actions.
