Skip to content
ERP ⇄ Data warehouse

Dynamics 365 F&O to MotherDuck integration — real-time, two-way sync

Keep Dynamics 365 F&O and MotherDuck in sync without custom scripts. Cut weeks of integration work, eliminate silent data drift, and give your team a single, reliable source of truth.

  • SOC 2 and 6 other compliance frameworks
  • POC with real engineers in minutes

Adopted by fast-scaling companies moving mission-critical data in real time

Case study
Migrated from MuleSoft
Case study
Migrated from Celigo
Migrated from Heroku Connect
Migrated from Matillion
Case study
Migrated from Fivetran
Case study
Migrated from Celigo
Why teams connect Dynamics 365 F&O and MotherDuck

Put Dynamics 365 F&O's records in MotherDuck as live tables for reporting and analysis, without extract jobs, and write results back where Dynamics 365 F&O can use them.

Teams sync Dynamics 365 F&O to MotherDuck to make ERP transactions available for analytics in a DuckDB-powered data warehouse. F&O Sales Orders, Purchase Orders, and Customer Invoices land in MotherDuck Tables and Schemas, giving analysts fulfillment and finance truth without exporting from the ERP.

Stacksync syncs Vendors, Released Products, Sales Orders, Purchase Orders from Dynamics 365 F&O into tables in MotherDuck continuously, managing API limits and schema drift along the way. The connection is bi-directional, so values computed in MotherDuck can be written back to fields in Dynamics 365 F&O where that is useful.

Common use cases

  • 01 Build revenue and AR reporting on Customer Invoices in MotherDuck instead of querying F&O.
  • 02 Join F&O Released Products and Sales Orders with other warehouse data for margin analysis.
  • 03 Let analysts query synced ERP tables locally through attached local DuckDB databases.
  • 04 Land CRM and operational database records in MotherDuck so a small team gets warehouse-style analytics without cluster management

Common sync patterns

ERP-to-warehouse replication

F&O Customers, Sales Orders, and Customer Invoices sync into MotherDuck Tables for SQL analytics.

Procurement reporting

Purchase Orders and Vendors populate a dedicated MotherDuck Schema for spend analysis.

Shared datasets

synced F&O data is distributed to other teams via MotherDuck Database Shares.

What you can sync between Dynamics 365 F&O and MotherDuck

Representative objects on each side — any object or custom field can map to any target. Schemas are auto-detected; types are converted between the two systems.

Dynamics 365 F&O objects MotherDuck objects How this pairing syncs
Purchase Orders Procurement transactions; extracted for spend and supply chain reporting. Tables The main landing target for synced records and source for analysis. Purchase Orders is specific to Dynamics 365 F&O and Tables to MotherDuck — each maps to any object or custom field on the other side.
Customer Invoices AR billing documents; status synced back to CRM and customer success tools. Views Modeled projections used as outbound sync sources. Customer Invoices is specific to Dynamics 365 F&O and Views to MotherDuck — each maps to any object or custom field on the other side.
Vendor Invoices AP documents; synced with invoice automation systems. Database Shares Read-only copies of a database shared with other users or teams. Vendor Invoices is specific to Dynamics 365 F&O and Database Shares to MotherDuck — each maps to any object or custom field on the other side.
General Journal Entries GL postings; read-only extracts for consolidated finance reporting. Attached Local DuckDB Databases Local files attached alongside cloud databases for hybrid queries. General Journal Entries is specific to Dynamics 365 F&O and Attached Local DuckDB Databases to MotherDuck — each maps to any object or custom field on the other side.
On-hand Inventory Stock positions; read out to storefronts and internal apps for availability. Databases Cloud-hosted DuckDB databases that scope a sync's reads and writes. On-hand Inventory is specific to Dynamics 365 F&O and Databases to MotherDuck — each maps to any object or custom field on the other side.
Customers Customer master records; kept aligned with CRM accounts in two-way syncs. Schemas Namespaces within a database used to organize synced tables. Customers is specific to Dynamics 365 F&O and Schemas to MotherDuck — each maps to any object or custom field on the other side.

How changes propagate between Dynamics 365 F&O and MotherDuck

Each direction of the sync is driven by what the source system can signal and what the destination accepts — detection, delivery, and expected latency below.

Dynamics 365 F&O MotherDuck Sub-second propagation

DetectionDynamics 365 F&O pushes changes as they happen — webhook events backed by change data capture. Change data capture via the Dynamics 365 Change Tracking feature, enabled per entity.

DeliveryEach detected change is applied to MotherDuck as a row-level write, with types converted between the two schemas.

MotherDuck Dynamics 365 F&O Interval-based propagation

DetectionStacksync polls MotherDuck for changes on an incremental schedule, reading only records changed since the previous pass. Polling.

DeliveryEach detected change is written to Dynamics 365 F&O through its API, with automatic retries and rate-limit backoff.

Rate-limit considerations

  • Dynamics 365 F&O: OData requests are subject to platform throttling; high-volume loads belong in the Data Management Framework.
  • MotherDuck: Subject to the platform's compute and concurrency limits rather than per-request API rate limits.
What ships with Dynamics 365 F&O ⇄ MotherDuck

Connect Dynamics 365 F&O and MotherDuck for flexible, real-time data sync.

Real-time sync, workflow automation, event queues, EDI, and monitoring, for every Dynamics 365 F&O–MotherDuck connection.

Real-time

Two-way sync

Changes in Dynamics 365 F&O or MotherDuck instantly reflect in both systems. No stale data, no manual imports.

No-code + pro-code

Workflow automation

Trigger automated workflows whenever Dynamics 365 F&O or MotherDuck data changes, update records, fire webhooks, or kick off sequences without brittle API scripts.

At scale

Event queues

Handle millions of events per minute without losing a single Dynamics 365 F&O or MotherDuck record.

Observability

Monitoring

Track your Dynamics 365 F&O ⇄ MotherDuck sync health, view errors, and replay failed events in one click.

Trading partners

EDI

Transform legacy EDI complexity into simple database interactions between Dynamics 365 F&O and MotherDuck.

How the Dynamics 365 F&O and MotherDuck connectors work

Dynamics 365 F&O

Integration surface
OData REST endpoint over data entities, plus the Data Management Framework for batch
Authentication
OAuth via Microsoft sign-in: provide the D365 F&O environment URL, sign in with Microsoft credentials, and grant the Stacksync app consent (admin consent may be required — "Need admin approval for this app")
Change detection
Change data capture via the Dynamics 365 Change Tracking feature, enabled per entity; falls back to periodic full-sync where change tracking is unavailable
Capabilities
read · write · CDC · webhooks
Rate limits
OData requests are subject to platform throttling; high-volume loads belong in the Data Management Framework.
Dynamics 365 F&O setup guide

MotherDuck

Integration surface
SQL through DuckDB clients and drivers using a MotherDuck (md:) connection
Authentication
Access token created in MotherDuck (Settings > General > Create Token), pasted into Stacksync; database name and schema configurable if not using defaults
Change detection
Polling; no log-based CDC or webhook surface is exposed
Capabilities
read · write
Rate limits
Subject to the platform's compute and concurrency limits rather than per-request API rate limits
MotherDuck setup guide
How it works

How to connect Dynamics 365 F&O to MotherDuck — three steps, no code

Configure and sync within minutes, no code. Whether you sync 50k or 100M+ records, Stacksync handles the queues, infra, and plumbing. Integrations are non-invasive and need zero setup on your systems.

  1. 01

    Connect your apps

    Authenticate Dynamics 365 F&O and MotherDuck with each platform's native method — OAuth, API keys, or service accounts — plus secure options like SSH tunneling, IP whitelisting, and VPC peering.

    • OAuth 2.0
    • SSH tunnel
    • VPC peering
    Dynamics 365 F&O connected
    MotherDuck connected
    OAuth 2.0
    SSH tunnel
    SSL certificate
    VPC peering
  2. 02

    Choose tables

    Pick the Dynamics 365 F&O and MotherDuck objects to sync — Stacksync auto-detects both schemas, including custom fields where the platform exposes them. Sync to existing tables, or let Stacksync create new ones with ideal data types.

    • Standard objects
    • Custom objects
    • Auto-schema
    objects · Dynamics 365 F&O ⇄ MotherDuck
    Customers 12,480
    Sales Orders 8,213
    Invoices 5,902
    Items 1,344
  3. 03

    Map fields

    Fields map automatically even when names and types differ. Stacksync handles transformation and type casting for you, zero configuration required.

    • Auto-map
    • Type casting
    • Transforms
    Dynamics 365 F&O MotherDuck
    Company company_name text
    Email email text
    Amount amount numeric
    Created created_at timestamp
FAQ

Dynamics 365 F&O and MotherDuck integration FAQ

SECURITY

Security teams trust Stacksync

As a data company, we understand the importance of keeping your data secure. Stacksync is built with security best practices to keep your data safe at every layer, and is DPF-certified for US, EU, UK and CH data transfers.

SOC 2 Type II
ISO 27001
HIPAA BAA
GDPR
CCPA
DPF US-EU-UK-CH
→ SECURITY WITH BENEFITS

SSO & SCIM

Let your users access Stacksync from your centralized user management systems. Works with Okta, Azure, Google SSO and more.

Alerts

Immediately get alerted about record syncing issues over email, Slack, PagerDuty and WhatsApp. Resolve issues from a centralized dashboard with retry and revert options.

Secure connection options

Securely connects to your systems with:

Related integrations

Every pair below is a real-time, two-way sync. Search all 357 integrations available for Dynamics 365 F&O and MotherDuck.

Popular · 5 of 357
Coworkers laughing in front of a laptop in a casual office setting

Your last integration took months.
Your next one takes a prompt.