Connect Magento with Microsoft Dynamics 365 to sync products, stock, pricing, orders, customers, and financial data across your entire ecommerce and ERP ecosystem.
For Dynamics 365 Finance and Supply Chain Management (often called F&O), Magento (Adobe Commerce) integrates through OData data entities for real-time reads and writes, JSON or SOAP custom services for logic such as customer-specific price and availability, the batch data API for large volumes, and business events for change notifications. You can install i95Dev Connect for Adobe Commerce and Finance and Supply Chain, build a custom integration on those APIs, or, on Dynamics 365 Commerce, call its headless Commerce Scale Unit APIs. Business Central is a separate product with its own API.
Integrating Magento with Microsoft Dynamics 365 creates a unified operational setup where ecommerce, finance, inventory, purchasing, and customer data flow smoothly across systems. Dynamics 365 provides a strong ERP foundation for companies running complex product catalogs, multi-warehouse operations, or international sales, and Magento handles the storefront and customer experience.
A well-implemented Magento + Dynamics 365 integration ensures:
• Real-time synchronization of products, stock, prices, and attributes
• Accurate order export from Magento to Dynamics for fulfillment and invoicing
• Customer account sync across platforms, including B2B pricing and groups
• Automatic updates to Magento when inventory or pricing changes in Dynamics
• Faster operational workflows with reduced manual data entry
• Improved financial accuracy and centralized reporting
This integration is suitable for brands with growing omnichannel operations, multi-warehouse setups, or the need for centralized ERP management.
• Integration typically uses Dynamics 365 Business Central or Finance APIs/OData endpoints
• Product sync may include SKU data, attributes, variants, pricing tiers, and warehouse availability
• Order export includes line items, taxes, discounts, shipping, and customer data
• Real-time stock sync can be triggered by warehouse events inside Dynamics
• Custom middleware or iPaaS solutions (Celigo, Azure Functions, Boomi) can improve stability
• B2B pricing synchronization requires mapping customer groups and price lists
• Financial integration can include posting invoices and payments automatically
• Supports multi-warehouse and multi-currency setups depending on ERP configuration
.avif)
| Option | Type | Best for | Notes |
|---|---|---|---|
| i95Dev Connect for Adobe Commerce and Dynamics 365 Finance & Supply Chain | Connector | B2B and B2C stores that want packaged customer, product, price, stock, and order sync | Listed on Microsoft's marketplace for customers, products, prices, stock, and orders. |
| Custom integration on F&O OData, custom services, and batch data API | Custom API | Custom pricing, order numbering, or file-based flows a connector does not model | OData suits real-time calls on data entities, custom services expose X++ logic on SOAP and JSON endpoints, and Microsoft points to the batch data API once volumes pass a few hundred thousand records. On-premises F&O supports only the data management package REST API. |
| Dynamics 365 Commerce headless APIs (Commerce Scale Unit) | Custom API | Merchants on Dynamics 365 Commerce who want D365 to calculate cart, prices, and promotions | The Commerce Scale Unit exposes OData APIs that partner applications can consume. In Magento this means suppressing parts of native cart totals and keeping every cart rule in D365, which adds regression work to Magento core upgrades. |
| F&O business events to Azure messaging | Custom API | Pushing shipment, invoice, or product change signals out of F&O instead of polling | Business events can go to Azure Service Bus, Event Grid, HTTPS endpoints, or Power Automate. Microsoft says they are not meant for data export, delivery order is not guaranteed, and a control number lets the receiver drop duplicates. |
| Data | Direction | System of record | Timing |
|---|---|---|---|
| Released products flagged for eCommerce | F&O to Magento | F&O | Scheduled or on product change |
| Customer-specific price and available quantity | F&O to Magento | F&O | Real-time custom service call on product page and cart |
| On-hand inventory by site and warehouse | F&O to Magento | F&O | Scheduled or event-driven |
| Sales orders | Magento to F&O | Magento until accepted, then F&O | Near real time through OData or a custom service |
| B2B companies, contacts, and discount groups | Both directions | F&O for accounts and credit | On change, plus a manual sync for existing accounts |
| Shipments and invoices | F&O to Magento | F&O | Business event or scheduled poll |
On a scandiweb build with Dynamics 365 Commerce for a US retail client, the sample order payload carried shipping as a SHIP charge line on each item, while Magento stores freight at order level, including surcharges added by a shipping rules extension. The D365 partner changed the order API to accept header-level charges before mapping could finish.
On a Magento, Pimcore, and F&O project for a Canadian industrial distributor, the integration only synced products whose eCommerce field was set in F&O production, not just in the training environment used for testing. Set that field in bulk before go-live and confirm the PIM matches existing SKUs instead of duplicating them.
For a US foodservice distributor moving to F&O, the API that would let Magento fetch an F&O order number did not exist yet, so the fallback was to store the Magento order number in a separate F&O field for cross-reference. Settle this before order mapping starts.
F&O throttles OData and custom service calls when resource use threatens the environment and answers with a Too many requests error. Give the Magento app a High priority in Throttling priority mapping so lower-priority jobs are throttled first, and retry with backoff.
Microsoft states business events are not meant for data export and that delivery order is not guaranteed. Treat them as signals, fetch the record through OData or a custom service, and dedupe on the event's control number.
Yes. Orders can be pushed to Dynamics 365 in real time, including items, customer data, taxes, discounts, and shipping information.
Yes. Magento customer groups can be mapped to Dynamics 365 price lists, enabling custom contract prices and B2B catalogs.
Yes. Dynamics supports multi-warehouse inventory, and Magento can display availability per location or consolidate stock.
Product data such as SKUs, descriptions, attributes, prices, and categories can be pushed from Dynamics to Magento automatically.
Yes. Dynamics can create invoices, credit memos, and financial entries based on Magento order exports.
Not always. Direct API integration is possible, but many companies choose middleware (Celigo, Azure Functions, Boomi) for scalability.
Yes. Stock changes in Dynamics can instantly update Magento inventory through automated API calls.
Yes. Customer profiles, addresses, B2B groups, and purchasing history can be synchronized in both directions.
No. Finance and Supply Chain Management (F&O) is Microsoft's upgrade path from Dynamics AX 2012 and integrates through data entities, custom services, and the batch data API. Business Central has its own REST API v2.0, so connectors and mappings differ.
Microsoft's rule of thumb is to switch to the batch data API when volumes pass a few hundred thousand records, because it runs imports and exports as batch jobs. OData suits real-time, record-level calls.
Through an application registered in Microsoft Entra ID with an associated secret, which requests an access token for its calls. The same application ID is what you prioritize in F&O's throttling settings.
Yes, through a custom service that takes customer, item, and quantity and returns price and available quantity. scandiweb used this pattern for a B2B food distributor instead of syncing price files.
It can, through the Commerce Scale Unit APIs, but Magento then has to suppress parts of its own totals and promotion logic. Every cart rule must exist in D365, and Magento core upgrades need more regression testing.
Last updated by the scandiweb integration team.