All resources
Video tutorial

Integration Patterns for D365 F&O

Compare integration patterns for D365 F&O: OData, custom services, recurring integrations, business events, dual-write, and virtual entities.

Free

Free 2-minute video lesson. Compare integration patterns for D365 F&O: OData, custom services, recurring integrations, business events, dual-write, and virtual entities. Short, visual and to the point, so you can watch it between meetings and apply it the same day.

Choosing the right integration pattern is one of the biggest design decisions on a D365 F&O project. This silent slide video compares synchronous and asynchronous options: OData, custom services, the Data management package and recurring integrations APIs, business events, dual-write, virtual entities, and data lake exports. It gives a simple decision guide, a middleware view with Azure Integration Services, and design rules for errors, volume, and monitoring. For architects and integration leads.

What you'll learn

  • First question
  • Synchronous vs asynchronous
  • Synchronous options
  • Asynchronous options
  • Event-driven options
  • Dual-write
  • Simple decision guide
  • Middleware layer
  • Design rules
  • Key takeaway

Who it's for

Solution architects, integration leads and consultants connecting Dynamics 365 with POS, EDI, WMS, CRM and the Power Platform.

Go deeper

Pair this lesson with the related free e-books and templates in the resource library, and read the latest practical articles on the blog.

Lesson notes (text version of the video)

First question: Real-time or batch?. Timing, volume, and direction decide the pattern far more than the technology does.

Synchronous vs asynchronous

  • Synchronous: Caller waits for a response; OData and custom services; Low volume, immediate result
  • Asynchronous: Caller does not wait; Package and recurring APIs; High volume, scheduled loads

Synchronous options

  • OData: REST access to public data entities
  • Custom services: X++ logic exposed as endpoints
  • Virtual entities: F&O data surfaced in Dataverse
  • Use for lookups and small transactional updates

Asynchronous options

  • Data management package API for file imports and exports
  • Recurring integrations with scheduled jobs
  • Export to Azure Data Lake or Fabric for analytics
  • Use for migrations, bulk sync, and reporting

Event-driven options

  • Business events notify when something happens in F&O
  • Endpoints include Service Bus, Event Grid, and Power Automate
  • Data events fire on entity create, update, or delete
  • Subscribers react without polling

Dual-write: Near real-time Dataverse sync. Dual-write keeps F&O and Dataverse records in sync in both directions for CE scenarios.

Simple decision guide

  1. Need near real-time with Dataverse? Dual-write or virtual entities
  2. External app needs a quick answer? OData or custom service
  3. High volume or files? Package API
  4. React to changes? Business events
  5. Analytics? Data lake or Fabric

Middleware layer

  • Logic Apps orchestrate flows and transformations
  • Service Bus queues decouple systems
  • API Management secures and throttles endpoints
  • One place for logging and retries

Design rules

  • Define error handling and retries per flow
  • Respect service protection limits on OData
  • Use idempotent keys to prevent duplicates
  • Monitor every interface with alerts

Key takeaway: Document each interface with direction, timing, volume, and pattern. Most integration problems come from skipping that step.

Let's connect

I'm Pranshu Shubham, a Microsoft Dynamics 365 F&O Solution Architect and PMP-certified program lead with 8+ years of ERP and AI transformation across the USA, Europe and APAC. I created this resource from real project experience, and I'd love to hear how you use it.