- Features > Integrations > Microsoft > CPQ for Microsoft Dynamics 365 Sales
Mercura CPQ + Microsoft Dynamics 365 Sales
CPQ for Microsoft Dynamics 365 Sales
Keep accounts, contacts, and opportunities in Dynamics 365 Sales while Mercura handles guided product configuration, commercial rules, pricing, and configuration-specific quotes.
Dynamics 365 Sales continues to own accounts, contacts, opportunities, and sales activity. Mercura adds the specialized configuration layer required when selling the product depends on rules, dependencies, calculations, pricing, or documentation that goes beyond picking items from a catalog.
Microsoft partner?
When one of your manufacturing customers reaches the limits of spreadsheet-based configuration or ERP customizations, Mercura can add the commercial configuration layer without replacing the systems you already implement.
What is CPQ for Dynamics 365 Sales?
Open CPQ from a Dynamics 365 Sales quote
This is what a sales rep sees. The quote stays open in Dynamics 365 Sales, and Mercura opens next to it with the quote context already filled in. The example uses the Truck Configurator from the Mercura demo.
- 1
Click Open CPQ on the quote
The Open CPQ button sits in the command bar of the Dynamics 365 Sales quote, next to Save. The quote keeps its customer, currency and price list.

- 2
Mercura opens in a side panel
The configurator opens in a panel inside Dynamics 365. A Pre-config dialog shows the request fields passed in from the quote, such as the contact email. The rep clicks Accept.

- 3
The configuration is named after the quote
The Dynamics 365 quote ID becomes the project name and the name of the configuration line in Mercura, so the two quotes can always be matched. Start configuration opens the line.

- 4
Configure without leaving Dynamics 365
The Truck Configurator opens next to the quote with Model X1 and its engine already selected by the link. Rules apply straight away: here the configurator warns that the Turbo Diesel engine is no longer compatible with the selected model.

Illustration: a Dynamics 365 Sales Hub quote with a sample customer. The panel shows the real Mercura demo configurator (demo.mercura.io), opened with the pre-config link in the examples below.
Dynamics 365 owns the customer relationship. Mercura owns product complexity.
Dynamics 365 Sales
- • Accounts
- • Contacts
- • Opportunities
- • Activities
- • Sales pipeline
- • Forecasting
- • Customer context
Mercura CPQ
- • Guided selling
- • Product selection
- • Rules and constraints
- • Dependencies
- • Calculations
- • Configuration pricing
- • Visualization
- • Documents
- • Technical configuration data
Approved outcome
- Configured lines
- Commercial description
- Price
- Configuration reference
- Quote document
- Other fields defined in the integration contract
The exact mapping depends on the data model and sales process in each Dynamics 365 environment.
When the CRM knows the customer but cannot decide how the product must be configured
Dynamics 365 Sales is strong at managing who the customer is, which opportunity is open, what sales activity has happened, and where the deal stands in the pipeline. In complex manufacturing, another layer of knowledge appears: which product fits the requirement, which options are compatible, which dimensions are valid, which accessories are mandatory, how price changes when configuration changes, what specification belongs in the proposal, and what production or ERP needs next. Mercura turns those repeatable decisions into configuration logic so sales can work with more autonomy without routing every quote through engineering.
Common architecture patterns with Dynamics 365 Sales
There is no single correct CRM + CPQ design. The right pattern depends on which system owns quoting, pricing, and downstream order execution.
A
Pattern A — CRM-led process with return to the opportunity
Dynamics 365 Sales → Mercura CPQ → Dynamics 365 Sales
A common pattern when the opportunity in Dynamics 365 Sales remains the commercial anchor. Mercura handles configuration and quote output; agreed lines, references, documents, or prices map back to the opportunity or related CRM records as defined in the project.
B
Pattern B — Dynamics 365 Sales with Business Central
Dynamics 365 Sales → Mercura CPQ → Business Central
Typical when CRM runs in Dynamics 365 Sales and operational quoting or orders continue in Microsoft Dynamics 365 Business Central. Mercura sits between customer-facing configuration and the ERP sales objects your team already uses.
C
Pattern C — Dynamics 365 Sales with Finance & Supply Chain Management
Dynamics 365 Sales → Mercura CPQ → Finance & Supply Chain Management
Common in enterprise manufacturing where opportunities live in Sales and execution moves to Microsoft Dynamics 365 Finance & Supply Chain Management. Mercura defines the sellable configuration before data crosses into ERP manufacturing and finance processes.
These are common architecture options, not a promise that every customer uses all three. Ownership of each data object is agreed during integration design.
One sales experience, even when the logic lives in several systems
Configure from opportunity context
The CPQ process can start from commercial context already in Dynamics 365 so basic customer and opportunity data does not need to be searched for or retyped.
Avoid technically invalid configurations
Mercura rules and constraints guide users through allowed combinations instead of asking sales to memorize the full product logic.
Calculate configuration pricing
Pricing can combine external sources with configuration-specific calculations. The source of truth for each price component is defined during implementation.
Generate the proposal from the same data
Structured configuration can feed commercial documents with products, options, quantities, specifications, images, and prices.
Continue the process without rebuilding the quote
After approval, agreed fields and lines can move into the next commercial step to reduce manual data entry.
How can Mercura connect with Dynamics 365 Sales?
Dynamics 365 Sales uses Microsoft Dataverse as its data platform. The integration is designed around the tables, fields, customizations, and sales process in each environment. A typical architecture may use information such as the following. Exact objects, sync direction, and ownership are defined during integration analysis.
Into Mercura
- Account
- Contact
- Opportunity
- Currency
- Commercial context
- Products or prices when applicable
Mercura calculates
- Product selection
- Options
- Rules
- Attributes
- Quantities
- Calculated values
- Configured price
- Documentation
Back to the CRM process
- Configuration reference
- Description
- Commercial lines
- Price
- Document
- Agreed fields
Dynamics 365 Sales + Mercura + ERP
In many manufacturers, the CRM is not the final step in the process. The opportunity may start in Dynamics 365 Sales, commercial configuration may happen in Mercura, and the approved result may continue to Business Central, Dynamics 365 Finance & Supply Chain Management, or another ERP. The architecture should state clearly which application is responsible for each stage.
Dynamics 365 Sales
- Account
- Opportunity
- Sales activity
Mercura CPQ
- Requirements
- Configuration
- Rules
- Price
- Quote
ERP
- Order
- Items
- Components
- Manufacturing
- Invoicing
Dynamics 365 Sales product catalog vs Mercura CPQ
Dynamics 365 Sales has a product catalog and quotes built in. That is enough for products sold by item number. Products that are configured need more.
| Capability | Dynamics 365 Sales (standard) | With Mercura CPQ |
|---|---|---|
| Products | Product catalog with families, bundles and product properties | Configuration model with options, dimensions and calculated attributes |
| Rules | Properties can be required or read-only. There are no compatibility rules between options. | Rules, constraints and dependencies decide which combinations are valid |
| Pricing | Price lists, discount lists and manual discounts | Configured price from options, dimensions, formulas and customer agreements, optionally based on Dynamics price lists |
| Product selection | Search and pick products from the catalog | Guided selling: needs-based questions that lead to a valid product |
| Visualisation | A product image | 2D and 3D visualisation that follows the configuration |
| Quote document | Word templates and quote PDF | Commercial and technical documents generated from the configuration |
| Approvals | Built with Power Automate or custom workflows | Discount and margin approvals as part of the quote |
| Dealer and customer self-service | Requires a separate portal project | Dealer portal and website configurator on the same product model |
Products
- Dynamics 365 Sales (standard)
- Product catalog with families, bundles and product properties
- With Mercura CPQ
- Configuration model with options, dimensions and calculated attributes
Rules
- Dynamics 365 Sales (standard)
- Properties can be required or read-only. There are no compatibility rules between options.
- With Mercura CPQ
- Rules, constraints and dependencies decide which combinations are valid
Pricing
- Dynamics 365 Sales (standard)
- Price lists, discount lists and manual discounts
- With Mercura CPQ
- Configured price from options, dimensions, formulas and customer agreements, optionally based on Dynamics price lists
Product selection
- Dynamics 365 Sales (standard)
- Search and pick products from the catalog
- With Mercura CPQ
- Guided selling: needs-based questions that lead to a valid product
Visualisation
- Dynamics 365 Sales (standard)
- A product image
- With Mercura CPQ
- 2D and 3D visualisation that follows the configuration
Quote document
- Dynamics 365 Sales (standard)
- Word templates and quote PDF
- With Mercura CPQ
- Commercial and technical documents generated from the configuration
Approvals
- Dynamics 365 Sales (standard)
- Built with Power Automate or custom workflows
- With Mercura CPQ
- Discount and margin approvals as part of the quote
Dealer and customer self-service
- Dynamics 365 Sales (standard)
- Requires a separate portal project
- With Mercura CPQ
- Dealer portal and website configurator on the same product model
Dynamics 365 Sales stays the CRM. Mercura adds the configuration layer and writes the result back to Dataverse.
Dataverse tables in a typical Dynamics 365 Sales CPQ integration
A Dynamics 365 CPQ integration reads and writes standard Dataverse tables. Custom tables and columns in your environment are mapped the same way.
| Dataverse table | Direction | Typical use | When |
|---|---|---|---|
| account | Dynamics → Mercura | Customer name, number, addresses, currency, price list | When Open CPQ is clicked |
| contact | Dynamics → Mercura | Buyer name, email, phone | When Open CPQ is clicked |
| opportunity | Both ways | ID and owner into Mercura. Estimated revenue, stage or quote reference back to Dynamics. | When Open CPQ is clicked, and on quote webhook events |
| quote, quotedetail | Mercura → Dynamics | Quote header and configured lines, as existing or write-in products, with totals | On quote webhook events |
| opportunityproduct | Mercura → Dynamics (optional) | Configured lines on the opportunity for pipeline reporting | When the quote is revised |
| product, pricelevel, productpricelevel | Dynamics → Mercura (optional) | Product numbers and price-list prices used as base prices | On a schedule or when records change |
| transactioncurrency | Dynamics → Mercura | Quote currency | When Open CPQ is clicked |
| annotation (notes) | Mercura → Dynamics | Quote PDF attached to the opportunity or quote | When the quote is sent |
account
Dynamics → Mercura
- Typical use
- Customer name, number, addresses, currency, price list
- When
- When Open CPQ is clicked
contact
Dynamics → Mercura
- Typical use
- Buyer name, email, phone
- When
- When Open CPQ is clicked
opportunity
Both ways
- Typical use
- ID and owner into Mercura. Estimated revenue, stage or quote reference back to Dynamics.
- When
- When Open CPQ is clicked, and on quote webhook events
quote, quotedetail
Mercura → Dynamics
- Typical use
- Quote header and configured lines, as existing or write-in products, with totals
- When
- On quote webhook events
opportunityproduct
Mercura → Dynamics (optional)
- Typical use
- Configured lines on the opportunity for pipeline reporting
- When
- When the quote is revised
product, pricelevel, productpricelevel
Dynamics → Mercura (optional)
- Typical use
- Product numbers and price-list prices used as base prices
- When
- On a schedule or when records change
transactioncurrency
Dynamics → Mercura
- Typical use
- Quote currency
- When
- When Open CPQ is clicked
annotation (notes)
Mercura → Dynamics
- Typical use
- Quote PDF attached to the opportunity or quote
- When
- When the quote is sent
Table names are Dataverse logical names. Which tables and columns are used, and in which direction, is agreed in the integration design.
How Mercura connects to Dynamics 365 Sales
Open CPQ with a pre-filled configuration link
The Open CPQ button builds a pre-config link from the quote: a JSON object with the project name (the quote ID), request fields such as the contact email or customer number, and optionally the products and options to pre-select. With reset set to true, the link replaces any session already open.
Webhooks back to Dataverse
Mercura sends webhook events when a quote is created, updated or deleted. A connector, for example a Power Automate flow, an Azure Function or your middleware, receives the event and writes the quote lines to Dataverse through the Web API.
Microsoft Entra ID
Users sign in to Mercura with their Microsoft Entra ID account through single sign-on (OIDC). The write-back connector signs in to Dataverse as an application user, with a security role that limits which tables it can read and write.
Live prices during configuration
When real-time lookup is turned on, Mercura asks a price endpoint for the selected SKUs while the rep configures. Request fields such as the customer number go with the lookup, so customer-specific prices from Dynamics 365 or the ERP can be used.
What the integration sends: real payloads
The examples below follow the formats in the Mercura developer documentation. Values are illustrative, and element and field IDs are set per configurator.
1. Dynamics 365 → Mercura: the pre-config link
Open CPQ turns the quote into this JSON, URL-encodes it and adds it to the configurator URL as ?preconfig=…
{
"projectName": "QUO-01024-T7K2P9",
"reset": true,
"configs": [
{
"configName": "QUO-01024-T7K2P9",
"configQuantity": 1,
"formId": 35,
"prefills": [
{ "elementId": 370, "value": "X1-STD-2025" },
{ "elementId": 371, "value": "ENG-DIESEL-V6-3.0L" }
]
}
],
"requestFields": [
{ "requestFieldId": "email", "value": "customer@example.com" }
]
}Form 35 is the demo Truck Configurator. Elements 370 and 371 are its truck model and engine, and the values are product SKUs. Element IDs and slugs come from the Form Builder.
2. Mercura → connector: the quote.updated webhook
When the quote changes, Mercura sends the quote with its total, currency, custom fields and one entry per configured line. This excerpt shows the fields a Dynamics 365 connector usually needs.
{
"event": "quote.updated",
"data": {
"id": 5680,
"revision_number": 2,
"conf_total": 173300,
"form_configuration": {
"name": "QUO-01024-T7K2P9",
"currency": { "code": "DKK" }
},
"extra_fields": [
{
"name": "Contact Details",
"fields": [{ "slug": "email", "value": "customer@example.com" }]
}
],
"form_submissions": [
{
"id": 14599,
"name": "Truck Configurator",
"quantity": 1,
"price": "173300.00",
"groups": [ { "label": "Select Truck Model", "elements": [ "…" ] } ]
}
]
}
}Excerpt. The full payload also contains the selected options per element, the Mercura user and the timestamps.
3. Connector → Dataverse: one quote line
The connector finds the Dynamics 365 quote by its quote number and writes each configured line as a write-in product, so no product record is needed for every possible configuration.
POST https://<org>.api.crm.dynamics.com/api/data/v9.2/quotedetails
Content-Type: application/json
{
"quoteid@odata.bind": "/quotes(<quote-guid>)",
"isproductoverridden": true,
"productdescription": "Model X1, 3.0L V6 Diesel, 4x2 (Mercura line 14599)",
"quantity": 1,
"ispriceoverridden": true,
"priceperunit": 173300.00
}Webhook field → Dataverse column
| Mercura webhook | Dataverse | Note |
|---|---|---|
| data.form_configuration.name | quote.quotenumber | Finds the quote that Open CPQ started from |
| data.id | Custom column on quote | Mercura quote ID, used to update the same quote instead of creating duplicates |
| data.revision_number | Custom column on quote | Mercura revision. Dynamics 365 keeps its own revision number. |
| data.form_submissions[].name | quotedetail.productdescription | Write-in product line |
| data.form_submissions[].quantity | quotedetail.quantity | |
| data.form_submissions[].price | quotedetail.priceperunit | Confirm whether the price is per unit or per line |
| data.form_submissions[].id | Custom column on quotedetail | Lets the connector update lines instead of adding new ones |
| data.extra_fields[].fields[] | Mapped by slug | Custom request fields, for example a customer number |
data.form_configuration.name
- Dataverse
- quote.quotenumber
- Note
- Finds the quote that Open CPQ started from
data.id
- Dataverse
- Custom column on quote
- Note
- Mercura quote ID, used to update the same quote instead of creating duplicates
data.revision_number
- Dataverse
- Custom column on quote
- Note
- Mercura revision. Dynamics 365 keeps its own revision number.
data.form_submissions[].name
- Dataverse
- quotedetail.productdescription
- Note
- Write-in product line
data.form_submissions[].quantity
- Dataverse
- quotedetail.quantity
- Note
data.form_submissions[].price
- Dataverse
- quotedetail.priceperunit
- Note
- Confirm whether the price is per unit or per line
data.form_submissions[].id
- Dataverse
- Custom column on quotedetail
- Note
- Lets the connector update lines instead of adding new ones
data.extra_fields[].fields[]
- Dataverse
- Mapped by slug
- Note
- Custom request fields, for example a customer number
Status codes, webhook signing and retry behaviour are confirmed for each tenant before go-live.
CPQ features to look for with Microsoft Dynamics 365
Use this list when you compare CPQ software for Dynamics 365 Sales.
- Opens from the Dynamics 365 quote or opportunity with the customer and quote ID filled in
- Writes quotes and lines back to Dataverse, not only a PDF
- Can write configured lines as write-in products when no product number exists
- Can use Dynamics 365 price lists as base prices
- Runs as an application user with its own Dataverse security role
- Handles the custom tables and columns in your environment
- Sends the accepted configuration on to Business Central or Finance & Supply Chain Management
- Gives dealers and customers the same configurator outside Dynamics 365
When should a Microsoft partner bring Mercura into a project?
- Sales depends on engineering to validate standard quotes.
- Product configuration logic lives in spreadsheets.
- ERP customizations are becoming difficult to maintain.
- The customer needs guided selling in Dynamics 365 Sales.
- The customer wants dealer or customer self-service configuration.
- Pricing depends on configuration rules, not list prices alone.
- Quotes require configuration-specific documentation.
- Product complexity is decided before the ERP transaction.
Frequently asked questions
What is CPQ for Dynamics 365 Sales?
It is a configuration, pricing, and quote layer connected to the Dynamics 365 Sales process. The CRM keeps the customer relationship and opportunity; Mercura handles the logic required to turn requirements into a valid, quotable configuration.
Does Mercura replace Dynamics 365 Sales?
No. Dynamics 365 Sales remains the CRM. Mercura complements the process when selling the product requires rules, dependencies, calculations, or configuration-specific documentation.
Can Mercura use data from a Dynamics 365 opportunity?
Yes. An integration can use account and opportunity context. The exact fields depend on the Dataverse model and environment customizations.
Can configuration results return to Dynamics 365 Sales?
Yes. Mercura output can map to the agreed commercial process, for example configuration reference, lines, prices, documents, or other fields. The structure is defined in the project.
Where should prices be calculated?
That depends on architecture. Prices may come from ERP or CRM, combine with configuration logic in Mercura, or be calculated primarily in CPQ. Define a clear source of truth for each part of the price.
Can Mercura work with an ERP as well as Dynamics 365 Sales?
Yes. A common pattern connects CRM, CPQ, and ERP so opportunity, configuration, and order stay in one flow without duplicating data manually.
Is Dynamics 365 Sales the same as Dynamics CRM?
Yes. Dynamics CRM was renamed Dynamics 365 Customer Engagement and is now Dynamics 365 Sales. All current versions keep their data in Microsoft Dataverse, and the CPQ integration works the same way for each.
Does Dynamics 365 Sales have a built-in CPQ?
It has a product catalog, price lists and quotes, but no rules-based configurator for options that depend on each other, dimensions, or prices that change with the configuration. A CPQ such as Mercura fills that gap and writes the result back to the Dynamics 365 quote and opportunity.
How does the Open CPQ button in Dynamics 365 work?
Open CPQ is a button in the command bar of the Dynamics 365 Sales quote. It opens Mercura in a side panel with a pre-filled configuration link that carries the quote ID and contact details, so the rep configures without leaving Dynamics 365. Quote changes go back to Dataverse through Mercura webhooks.
Which Dataverse tables does the integration use?
Typically account, contact, opportunity, quote and quotedetail, and optionally opportunityproduct, product, pricelevel and annotation for the quote PDF. Custom tables and columns are mapped the same way.
Does Mercura work with Dynamics 365 on-premises?
Dynamics 365 Customer Engagement (on-premises) exposes the same Web API as the cloud version. Authentication and network access differ, so they are assessed per project.
Which CPQ works with Dynamics NAV or Dynamics AX?
NAV and AX are Microsoft ERP products. NAV is now Business Central and AX is now Dynamics 365 Finance & Supply Chain Management. Mercura has dedicated integrations for both, alongside Dynamics 365 Sales.
See how this would work in your Dynamics 365 environment
Show us a real configurable product, a typical opportunity, and how you prepare quotes today. We can use that process to show where Mercura fits and what information should be exchanged with Dynamics 365.
Request a CPQ demo