Connectors
ERP & Enterprise Systems
Microsoft Dynamics 365
Business apps suite: accounts, contacts, opportunities, and Dataverse records
- Signs in with
- OAuth 2.0 sign-in
- Runs on
- Cloud or On-Prem Worker
- Operations
- 160
- Ready-made triggers
- 7
Connect Microsoft Dynamics 365
- In Neblex open Connect › Connections and click New Connection.
- Search for Microsoft Dynamics 365 and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
For services offered under Connect a Service you only sign in and approve access. Otherwise use Connect with OAuth2 with your own OAuth app. See Authorize with OAuth.
| Field | What to enter |
|---|---|
| Environment hostRequired | Cloud: org12345.crm.dynamics.com. On-premises: your Dynamics 365 CE server host, e.g. crm.acme.corp. |
| Token endpointRequired | Cloud: https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token. On-premises: your AD FS token endpoint, e.g. https://adfs.acme.corp/adfs/oauth2/token. |
| Application (client) IDRequired | |
| Client secretRequiredSecret | |
| ScopeRequired | https://<your-environment-host>/.default |
Triggers
Start a flow when something changes in Microsoft Dynamics 365: add a Poll for changes trigger, choose Microsoft Dynamics 365 and pick the event.
| Event | What it does | How |
|---|---|---|
| Account created or changed | An account was created or modified. | Checks for changes by modifiedon |
| Case created | A case (incident) was created. | Checks for changes by createdon |
| Contact created or changed | A contact was created or modified. | Checks for changes by modifiedon |
| Lead created | A lead was created. | Checks for changes by createdon |
| Opportunity created or changed | An opportunity was created or modified. | Checks for changes by modifiedon |
| Row created | A row was created in the watched table. | Checks for changes by createdon |
| Row updated | A row was modified in the watched table. | Checks for changes by modifiedon |
Use it in a flow
- Open a flow, open the node library and search for Microsoft Dynamics 365.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
Operations
160 operations in 22 groups. Each one is a step you can add to a flow.
Access3
Grant record accessgrantAccess | POST | GrantAccess: share a record with a user or team. |
Modify record accessmodifyAccess | POST | ModifyAccess: replace a principal's access rights on a record. |
Revoke record accessrevokeAccess | POST | RevokeAccess: remove a principal's access to a record. |
Account5
Create an accountcreateAccount | POST | Insert an account; returns the created row. |
Delete an accountdeleteAccount | DELETE | Delete an account by GUID. |
Get an accountgetAccount | GET | Fetch one account by GUID. |
List accountslistAccounts | GET | Query accounts with OData options; Dataverse serves up to 5000 rows per call. |
Update an accountupdateAccount | PATCH | Patch columns on an account by GUID; only the columns you set are sent. |
Action2
Call an actioncallAction | POST | Invoke an unbound Dataverse action (e.g. WinOpportunity) with its parameters. |
Run a workflowexecuteWorkflow | POST | ExecuteWorkflow: start an on-demand classic workflow for one record (bound to the workflow). |
Activity21
Create a phone callcreatePhoneCall | POST | Insert a phone call; returns the created row. |
Create a taskcreateTask | POST | Insert a task; returns the created row. |
Create an appointmentcreateAppointment | POST | Insert an appointment; returns the created row. |
Create an emailcreateEmail | POST | Insert an email; returns the created row. |
Delete a phone calldeletePhoneCall | DELETE | Delete a phone call by GUID. |
Delete a taskdeleteTask | DELETE | Delete a task by GUID. |
Delete an appointmentdeleteAppointment | DELETE | Delete an appointment by GUID. |
Delete an emaildeleteEmail | DELETE | Delete an email by GUID. |
Get a phone callgetPhoneCall | GET | Fetch one phone call by GUID. |
Get a taskgetTask | GET | Fetch one task by GUID. |
Get an appointmentgetAppointment | GET | Fetch one appointment by GUID. |
Get an emailgetEmail | GET | Fetch one email activity by GUID. |
List appointmentslistAppointments | GET | Query appointments with OData options; Dataverse serves up to 5000 rows per call. |
List email activitieslistEmails | GET | Query email activities with OData options; Dataverse serves up to 5000 rows per call. |
List phone callslistPhoneCalls | GET | Query phone calls with OData options; Dataverse serves up to 5000 rows per call. |
List taskslistTasks | GET | Query tasks with OData options; Dataverse serves up to 5000 rows per call. |
Send an email activitysendEmail | POST | Send a created email activity (bound SendEmail action). |
Update a phone callupdatePhoneCall | PATCH | Patch columns on a phone call by GUID; only the columns you set are sent. |
Update a taskupdateTask | PATCH | Patch columns on a task by GUID; only the columns you set are sent. |
Update an appointmentupdateAppointment | PATCH | Patch columns on an appointment by GUID; only the columns you set are sent. |
Update an emailupdateEmail | PATCH | Patch columns on an email by GUID; only the columns you set are sent. |
Campaign5
Create a campaigncreateCampaign | POST | Insert a campaign; returns the created row. |
Delete a campaigndeleteCampaign | DELETE | Delete a campaign by GUID. |
Get a campaigngetCampaign | GET | Fetch one campaign by GUID. |
List campaignslistCampaigns | GET | Query campaigns with OData options; Dataverse serves up to 5000 rows per call. |
Update a campaignupdateCampaign | PATCH | Patch columns on a campaign by GUID; only the columns you set are sent. |
Case6
Create a casecreateCase | POST | Insert a case; returns the created row. |
Delete a casedeleteCase | DELETE | Delete a case by GUID. |
Get a casegetCase | GET | Fetch one case (incident) by GUID. |
List cases (incidents)listCases | GET | Query cases (incidents) with OData options; Dataverse serves up to 5000 rows per call. |
Resolve a casecloseCase | POST | CloseIncident: resolve a case with an incidentresolution (Dynamics 365 Customer Service). |
Update a caseupdateCase | PATCH | Patch columns on a case by GUID; only the columns you set are sent. |
Contact5
Create a contactcreateContact | POST | Insert a contact; returns the created row. |
Delete a contactdeleteContact | DELETE | Delete a contact by GUID. |
Get a contactgetContact | GET | Fetch one contact by GUID. |
List contactslistContacts | GET | Query contacts with OData options; Dataverse serves up to 5000 rows per call. |
Update a contactupdateContact | PATCH | Patch columns on a contact by GUID; only the columns you set are sent. |
Directory8
Add team membersaddTeamMembers | POST | AddMembersTeam: add users to a team (bound to the team). |
Get a business unitgetBusinessUnit | GET | Fetch one by GUID. |
Get a teamgetTeam | GET | Fetch one by GUID. |
Get a usergetUser | GET | Fetch one by GUID. |
List business unitslistBusinessUnits | GET | Query business units with OData options. |
List teamslistTeams | GET | Query teams with OData options. |
List userslistUsers | GET | Query users with OData options. |
Remove team membersremoveTeamMembers | POST | RemoveMembersTeam: remove users from a team (bound to the team). |
Invoice10
Create an invoicecreateInvoice | POST | Insert an invoice; returns the created row. |
Create an invoice linecreateInvoiceLine | POST | Insert an invoice line; returns the created row. |
Delete an invoicedeleteInvoice | DELETE | Delete an invoice by GUID. |
Delete an invoice linedeleteInvoiceLine | DELETE | Delete an invoice line by GUID. |
Get an invoicegetInvoice | GET | Fetch one invoice by GUID. |
Get an invoice linegetInvoiceLine | GET | Fetch one invoice line by GUID. |
List invoice lineslistInvoiceLines | GET | Query invoice lines with OData options; Dataverse serves up to 5000 rows per call. |
List invoiceslistInvoices | GET | Query invoices with OData options; Dataverse serves up to 5000 rows per call. |
Update an invoiceupdateInvoice | PATCH | Patch columns on an invoice by GUID; only the columns you set are sent. |
Update an invoice lineupdateInvoiceLine | PATCH | Patch columns on an invoice line by GUID; only the columns you set are sent. |
Knowledge5
Create a knowledge articlecreateKnowledgeArticle | POST | Insert a knowledge article; returns the created row. |
Delete a knowledge articledeleteKnowledgeArticle | DELETE | Delete a knowledge article by GUID. |
Get a knowledge articlegetKnowledgeArticle | GET | Fetch one knowledge article by GUID. |
List knowledge articleslistKnowledgeArticles | GET | Query knowledge articles with OData options; Dataverse serves up to 5000 rows per call. |
Update a knowledge articleupdateKnowledgeArticle | PATCH | Patch columns on a knowledge article by GUID; only the columns you set are sent. |
Lead6
Create a leadcreateLead | POST | Insert a lead; returns the created row. |
Delete a leaddeleteLead | DELETE | Delete a lead by GUID. |
Get a leadgetLead | GET | Fetch one lead by GUID. |
List leadslistLeads | GET | Query leads with OData options; Dataverse serves up to 5000 rows per call. |
Qualify a leadqualifyLead | POST | Qualify a lead into an account, contact and/or opportunity (Dynamics 365 Sales). |
Update a leadupdateLead | PATCH | Patch columns on a lead by GUID; only the columns you set are sent. |
Marketing List6
Add list membersaddListMembers | POST | AddListMembersList: add accounts, contacts or leads (one type per list) to a static marketing list. |
Create a marketing listcreateMarketingList | POST | Insert a marketing list; returns the created row. |
Delete a marketing listdeleteMarketingList | DELETE | Delete a marketing list by GUID. |
Get a marketing listgetMarketingList | GET | Fetch one marketing list by GUID. |
List marketing listslistMarketingLists | GET | Query marketing lists with OData options; Dataverse serves up to 5000 rows per call. |
Update a marketing listupdateMarketingList | PATCH | Patch columns on a marketing list by GUID; only the columns you set are sent. |
Metadata3
List a table's columnslistColumns | GET | The attribute (column) definitions of one table. |
List tableslistTables | GET | Every table (entity definition) with its logical and set names. |
Who am IwhoAmI | GET | The connected app's user, business unit and organization ids. |
Note5
Create a notecreateNote | POST | Insert a note; returns the created row. |
Delete a notedeleteNote | DELETE | Delete a note by GUID. |
Get a notegetNote | GET | Fetch one note (annotation) by GUID. |
List notes (annotations)listNotes | GET | Query notes (annotations) with OData options; Dataverse serves up to 5000 rows per call. |
Update a noteupdateNote | PATCH | Patch columns on a note by GUID; only the columns you set are sent. |
Opportunity12
Create an opportunitycreateOpportunity | POST | Insert an opportunity; returns the created row. |
Create an opportunity linecreateOpportunityLine | POST | Insert an opportunity line; returns the created row. |
Delete an opportunitydeleteOpportunity | DELETE | Delete an opportunity by GUID. |
Delete an opportunity linedeleteOpportunityLine | DELETE | Delete an opportunity line by GUID. |
Get an opportunitygetOpportunity | GET | Fetch one opportunity by GUID. |
Get an opportunity linegetOpportunityLine | GET | Fetch one opportunity line by GUID. |
List opportunitieslistOpportunities | GET | Query opportunities with OData options; Dataverse serves up to 5000 rows per call. |
List opportunity lineslistOpportunityLines | GET | Query opportunity lines with OData options; Dataverse serves up to 5000 rows per call. |
Lose an opportunityloseOpportunity | POST | Close an opportunity as Lost with an opportunityclose activity (Dynamics 365 Sales). |
Update an opportunityupdateOpportunity | PATCH | Patch columns on an opportunity by GUID; only the columns you set are sent. |
Update an opportunity lineupdateOpportunityLine | PATCH | Patch columns on an opportunity line by GUID; only the columns you set are sent. |
Win an opportunitywinOpportunity | POST | Close an opportunity as Won with an opportunityclose activity (Dynamics 365 Sales). |
Order12
Cancel an ordercancelOrder | POST | CancelSalesOrder: cancel an order with an orderclose activity (Dynamics 365 Sales). |
Convert order to invoiceconvertOrderToInvoice | POST | ConvertSalesOrderToInvoice: turn an order into an invoice (Dynamics 365 Sales). |
Create an ordercreateOrder | POST | Insert an order; returns the created row. |
Create an order linecreateOrderLine | POST | Insert an order line; returns the created row. |
Delete an orderdeleteOrder | DELETE | Delete an order by GUID. |
Delete an order linedeleteOrderLine | DELETE | Delete an order line by GUID. |
Get an ordergetOrder | GET | Fetch one order (salesorder) by GUID. |
Get an order linegetOrderLine | GET | Fetch one order line by GUID. |
List order lineslistOrderLines | GET | Query order lines with OData options; Dataverse serves up to 5000 rows per call. |
List orders (salesorders)listOrders | GET | Query orders (salesorders) with OData options; Dataverse serves up to 5000 rows per call. |
Update an orderupdateOrder | PATCH | Patch columns on an order by GUID; only the columns you set are sent. |
Update an order lineupdateOrderLine | PATCH | Patch columns on an order line by GUID; only the columns you set are sent. |
Product10
Create a price listcreatePriceList | POST | Insert a price list; returns the created row. |
Create a productcreateProduct | POST | Insert a product; returns the created row. |
Delete a price listdeletePriceList | DELETE | Delete a price list by GUID. |
Delete a productdeleteProduct | DELETE | Delete a product by GUID. |
Get a price listgetPriceList | GET | Fetch one price list (pricelevel) by GUID. |
Get a productgetProduct | GET | Fetch one product by GUID. |
List price lists (pricelevels)listPriceLists | GET | Query price lists (pricelevels) with OData options; Dataverse serves up to 5000 rows per call. |
List productslistProducts | GET | Query products with OData options; Dataverse serves up to 5000 rows per call. |
Update a price listupdatePriceList | PATCH | Patch columns on a price list by GUID; only the columns you set are sent. |
Update a productupdateProduct | PATCH | Patch columns on a product by GUID; only the columns you set are sent. |
Queue11
Add to a queueaddToQueue | POST | Move a record into a queue (bound AddToQueue action on the destination queue). |
Create a queuecreateQueue | POST | Insert a queue; returns the created row. |
Create a queue itemcreateQueueItem | POST | Insert a queue item; returns the created row. |
Delete a queuedeleteQueue | DELETE | Delete a queue by GUID. |
Delete a queue itemdeleteQueueItem | DELETE | Delete a queue item by GUID. |
Get a queuegetQueue | GET | Fetch one queue by GUID. |
Get a queue itemgetQueueItem | GET | Fetch one queue item by GUID. |
List queue itemslistQueueItems | GET | Query queue items with OData options; Dataverse serves up to 5000 rows per call. |
List queueslistQueues | GET | Query queues with OData options; Dataverse serves up to 5000 rows per call. |
Update a queueupdateQueue | PATCH | Patch columns on a queue by GUID; only the columns you set are sent. |
Update a queue itemupdateQueueItem | PATCH | Patch columns on a queue item by GUID; only the columns you set are sent. |
Quote13
Close a quotecloseQuote | POST | Close a quote as Lost/Canceled with a quoteclose activity (Dynamics 365 Sales). |
Convert quote to orderconvertQuoteToOrder | POST | ConvertQuoteToSalesOrder: turn a won quote into an order (Dynamics 365 Sales). |
Create a quotecreateQuote | POST | Insert a quote; returns the created row. |
Create a quote linecreateQuoteLine | POST | Insert a quote line; returns the created row. |
Delete a quotedeleteQuote | DELETE | Delete a quote by GUID. |
Delete a quote linedeleteQuoteLine | DELETE | Delete a quote line by GUID. |
Get a quotegetQuote | GET | Fetch one quote by GUID. |
Get a quote linegetQuoteLine | GET | Fetch one quote line by GUID. |
List quote lineslistQuoteLines | GET | Query quote lines with OData options; Dataverse serves up to 5000 rows per call. |
List quoteslistQuotes | GET | Query quotes with OData options; Dataverse serves up to 5000 rows per call. |
Update a quoteupdateQuote | PATCH | Patch columns on a quote by GUID; only the columns you set are sent. |
Update a quote lineupdateQuoteLine | PATCH | Patch columns on a quote line by GUID; only the columns you set are sent. |
Win a quotewinQuote | POST | Close a quote as Won with a quoteclose activity - required before converting it to an order (Dynamics 365 Sales). |
Relationship1
Associate rowsassociateRows | POST | Link two rows over a navigation property (@odata.id = the full URL of the related row). |
Row10
Create a rowcreateRow | POST | Insert a row; returns the created row (Prefer: return=representation). |
Create rows in bulkcreateMultiple | POST | CreateMultiple: insert many rows of one table in a single call. |
Delete a rowdeleteRow | DELETE | Delete a row by GUID. |
Get a rowgetRow | GET | Fetch one row by its GUID. |
List rowslistRows | GET | Query a table with OData options ($filter, $select, $expand, $orderby, $top). |
Merge two recordsmergeRecords | POST | Merge: fold a subordinate account, contact, lead or case into a target record. |
Query with FetchXMLqueryFetchXml | GET | Run a FetchXML query against a table - aggregates, linked entities and paging cookies included. |
Update a rowupdateRow | PATCH | Patch columns on a row by GUID. |
Update rows in bulkupdateMultiple | POST | UpdateMultiple: patch many rows of one table in a single call. |
Upsert by alternate keyupsertRow | PATCH | Create or update a row addressed by an alternate key, e.g. accountnumber='A-100'. |
Search1
Search (relevance)searchQuery | POST | Dataverse search across tables enabled for relevance search. |