Microsoft Dynamics 365 integration: APIs, patterns and consulting

Dynamics 365 integration depends on which app you run: Business Central exposes REST API v2.0 and custom API pages, Finance and Operations offers OData, custom services, the Data Management Framework and business events, and Dataverse apps use the Web API with plug-ins and webhooks. A sound integration picks the right pattern for each data flow, handles throttling and errors, and is monitored like any other production system.

When this makes sense

  • You need Dynamics 365 connected to ecommerce, EDI, WMS, MES, payroll or banking
  • Batch file transfers keep failing and nobody sees errors until users complain
  • You run Finance and Operations and Dataverse apps and need them in sync
  • You want document management for invoices, contracts and drawings linked to Dynamics records
  • OData calls are being throttled or integrations slow down during peak hours

What the engagement covers

Business Central APIs

Standard API v2.0 endpoints, custom API pages in AL, webhooks for change notifications and OAuth through Microsoft Entra ID app registrations.

Finance and Operations interfaces

OData data entities, custom X++ services, the Data Management Framework with recurring integrations (enqueue and dequeue), the package API and business events.

Dual-write and virtual tables

Near real-time sync between Finance and Operations and Dataverse with dual-write maps, or virtual tables when data should stay in one place.

Azure integration services

Logic Apps for orchestration, Service Bus for reliable queues, API Management for exposure and Azure Functions for transformations.

Power Automate

Connectors for Business Central, Dataverse and Finance and Operations for lighter, event-driven flows, with care around run limits and error handling.

Document management

SharePoint and OneDrive document integration, Business Central attachments and e-documents, and incoming document capture for vendor invoices.

Analytics feeds

Synapse Link for Dataverse, Link to Microsoft Fabric for Finance and Operations data, and Business Central APIs feeding a data warehouse.

Monitoring and throttling

Retry logic for HTTP 429 responses, dead-letter handling, alerting on failed DMF jobs and logs that business users can read.

How it runs

  1. 1

    Interface inventory (1-3 weeks)

    • List every data flow, direction, volume and frequency
    • Identify system owners and source of truth per object
    • Classify flows as real time, near real time or batch
  2. 2

    Design (2-4 weeks)

    • Pick the pattern and endpoint per flow
    • Define mappings, error handling and retries
    • Design security with Entra ID app registrations
  3. 3

    Build and test (3-10 weeks)

    • Build flows and transformations
    • Test with production-like volumes
    • Test failure scenarios and recovery
  4. 4

    Deploy and monitor (1-3 weeks)

    • Deploy through controlled pipelines
    • Set alerts and dashboards
    • Hand over runbooks to support

What you get

  • Integration interface register with owners and SLAs
  • Technical design per interface
  • Built integrations with source in your repository
  • Error handling and retry configuration
  • Monitoring dashboard and alert rules
  • Support runbook for failed messages and reprocessing

What drives cost and effort

Number of interfacesEach flow needs design, build, test and monitoring, so total effort scales with the count.
Real-time requirementsEvent-driven, low-latency flows need queues, idempotency and more testing than nightly batches.
Data volumeHigh volumes push you toward DMF packages or batch APIs and require throttling strategies.
External system qualityLegacy systems without APIs need file-based or database-level workarounds.
Middleware choiceExisting iPaaS or Azure investment can cut build time; introducing a new platform adds setup and licensing.
Transformation complexityUnit, item and dimension mapping between systems adds logic and test cases.

Fixed-price per interface

Well-specified flows such as a bank feed or a standard ecommerce order sync.

Integration program on time and materials

Many interfaces across ERP, CRM and plant systems during an implementation.

Managed integration service

Organizations that want a team to monitor, fix and evolve interfaces after go-live.

Questions to ask any Microsoft Dynamics 365 consultant

Which endpoint would you use for each of our flows, and why?

OData, DMF, business events and dual-write suit different volumes and latencies.

How do you handle throttling and retries?

Dynamics 365 enforces service protection limits, so integrations must back off gracefully.

How will we see and reprocess failed messages?

Visibility is what keeps integrations from becoming silent data gaps.

Where is the source of truth for customers, items and prices?

Two-way sync without clear ownership produces conflicts and duplicates.

How do you secure service accounts and app registrations?

Over-privileged integration users are a common security weakness.

Score candidate partners side by side with the free Implementation Partner Scorecard

Where these projects go wrong

Point-to-point sprawl

Route flows through a small set of patterns and a shared middleware layer.

Throttled APIs at peak

Batch where possible, respect retry-after headers and schedule heavy loads off-peak.

Duplicate or conflicting records

Define master ownership and use idempotent keys on every message.

Integrations break on updates

Include interfaces in the regression pack for every release wave or service update.

Many common needs, such as Shopify, banking or tax, are covered by AppSource apps or standard connectors that cost less than custom integration. If your volumes are low, Power Automate flows may be enough without a middleware platform. Netray builds integrations and uses AI agents to generate mappings and test messages, but we will say when a packaged connector fits better.

Frequently asked questions

What is the Microsoft Dynamics integration API?

There is no single API. Business Central offers REST API v2.0 and custom API pages, Finance and Operations offers OData entities and custom services, and Dataverse offers the Web API, all secured with Microsoft Entra ID.

What is dual-write?

Dual-write is Microsoft's near real-time sync between Finance and Operations apps and Dataverse, using table maps. It suits customer, product and order sync between ERP and CRM apps but needs careful setup and monitoring.

How do we integrate document management with Dynamics 365?

Business Central and Dataverse apps integrate with SharePoint and OneDrive, and Finance and Operations supports document attachments with SharePoint storage. Third-party apps add OCR capture and approval workflows.

When should we use the Data Management Framework?

Use DMF for high-volume batch imports and exports in Finance and Operations, such as nightly item or journal loads. For small, event-driven updates, OData or business events usually fit better.

Do we need a middleware platform?

Not always. A few low-volume flows can run on Power Automate; many interfaces or high volumes benefit from Logic Apps, Service Bus or an existing iPaaS for monitoring and reliability.

Talk to a Microsoft Dynamics 365 consultant

Tell us where you are and what you need. You get a straight answer on scope, approach and whether you need outside help at all.

Get ERP alerts and new tools

Support deadlines, release changes and new free tools for the ERP you run. A couple of emails a month at most.

Free. Unsubscribe with one click from any email.