Business Central Data to Your Warehouse Every 15 Minutes When OData Feeds Time Out
Why full OData pulls time out or return 429 Too Many Requests, and what works instead: API pages and API queries, delta loads on SystemModifiedAt, read scale-out, backoff, and an AL extension your SQL team can load from.
Full OData pulls from Business Central fail because a web service built on a UI page runs that page's logic and FlowFields for every row, and Business Central online caps each request with an operation timeout, a maximum page size and per-user rate limits that return 429 Too Many Requests. What works is a narrow feed: API pages or API queries that expose only the production and sales fields you need, read through read scale-out, loaded as deltas filtered on SystemModifiedAt with SystemId as the key, in small batches every 15 minutes that honour 429 with backoff. Solzet builds that AL extension; your SQL team then runs the loader in Azure Data Factory or its own tool.
Why do full OData pulls from Business Central time out?
Because the usual first attempt asks Business Central to do the most expensive thing possible. Someone publishes the Item List, the Sales Lines or the Item Ledger Entries page as a web service and the loader requests the whole table every night. A UI page published as a web service runs the page's triggers and calculates its FlowFields, such as Inventory on the item or amounts summed from other tables, for every row returned, and none of that work is needed by a data warehouse. On a large table the request runs into the operation timeout before it finishes, and a retry starts from zero.
Business Central online also limits every request, per environment and per user, to keep shared resources fair. The values below are from Microsoft Learn's operational limits for Business Central online at the time of writing; check the page for current figures before you size a loader.
| Limit (OData V4) | Value at the time of writing | What you see when it is hit |
|---|---|---|
| Operation timeout per request | 8 minutes | 408 Request Timeout, and the session is cancelled |
| Maximum page size | 20,000 entities | 413 Request Entity Too Large |
| Concurrent requests per user | 5, further requests queue | 503 Service Temporarily Unavailable after 8 minutes in the queue |
| Connections and queue per user | 100 connections, 95 queued requests | 429 Too Many Requests |
| Request rate per user | 6,000 requests in a 5-minute sliding window | 429 Too Many Requests |
| Operations in one $batch request | 100 | Larger batches risk a timeout |
What does a 429 Too Many Requests error from Business Central actually mean?
It means the caller exceeded a request limit, not that Business Central is down. The most common causes are a loader that sends one request per record, for example a job that reads or writes 30,000 items one at a time, a loader that opens more parallel requests than the per-user concurrency allows, and polling far more often than the data changes. The limits apply to service principals exactly as to named users.
Microsoft's guidance in working with API limits is that the client must retry with a cool-off period. In practice: honour a Retry-After header if the response carries one, otherwise back off exponentially with some random jitter, cap the number of retries, and log every 429 so you can see whether the pattern, not the timing, is the problem. Then fix the pattern: read many records per request and follow the next-page link instead of one request per record, use $batch for writes (up to the documented operation limit), keep parallel requests under the concurrency limit, and poll on a schedule that matches how fast the data changes. Microsoft notes that spreading load across several users or service principals raises throughput, but do that only after the request pattern is right.
Which Business Central endpoints should a data warehouse read from?
Not UI pages. Business Central offers several ways to read data, and they differ sharply in cost per row. The choice is between what Microsoft already maintains and what you build for the warehouse.
| Endpoint | Good for | Watch out for |
|---|---|---|
| UI page published as an OData web service | Quick checks and small reference tables | Page triggers and FlowFields run per row; the usual cause of timeouts on large tables |
| Standard API v2.0 (customers, items, sales invoices and more) | Master data and documents the standard API already covers | Fixed shape; may not include the production fields or ledger detail the warehouse needs |
| Custom API page in an AL extension | Documents and master data shaped for the warehouse, with SystemId and SystemModifiedAt exposed | Must be kept free of FlowFields and page logic to stay cheap |
| API query in an AL extension | Ledger entries and joined data read in one database query, optionally aggregated | Read only by design; design the joins and filters with the largest tables in mind |
| Webhooks | Knowing that records changed or were deleted, without polling | Notifications only; the loader still reads the changed records |
How do delta loads on SystemModifiedAt and SystemId work?
Every Business Central table carries system fields, including SystemId, a GUID that identifies the record for its lifetime, and SystemModifiedAt, the time of the last change. A delta load uses them as a watermark: request only records with SystemModifiedAt greater than the last successful load, minus a small overlap so a record committed at the boundary is not missed, select only the columns you store, order by SystemModifiedAt, follow the next-page link until the result is exhausted, and merge into staging on SystemId so the overlap never creates duplicates. A request looks like this: GET .../companies(id)/salesLines?$filter=systemModifiedAt gt 2026-11-23T10:00:00Z&$select=systemId,documentNo,itemNo,quantity,amount,systemModifiedAt.
Deletions need their own answer, because a deleted record leaves no row to filter on. Posted ledger entries and posted documents are not deleted in normal use, so for them the delta is enough. Open documents are different: a sales order is deleted once it is fully shipped and invoiced, and changing a production order's status, for example from Released to Finished, moves it to a new record with the new status, so the old record disappears from the feed. Track those with webhooks, which report deletions, with a periodic key comparison that reads only SystemId, or with a small delete log in the AL extension that the loader reads like any other feed.
- Watermark per entity and company, stored in the warehouse, advanced only after a successful merge.
- An overlap window on every request, with the merge on SystemId absorbing the duplicates.
- $filter and $select on every request, never the whole record.
- Server-driven paging through the next-page link, not one request per record.
- Deletions captured through webhooks, a key comparison or a delete log.
How does read scale-out keep extraction away from users?
Read scale-out sends read-only work to a read-only replica of the database instead of the primary that users post to. Microsoft describes it in using read scale-out for better performance: in Business Central online it is enabled automatically, almost all OData GET requests already use read-only intent, and reports, API pages and queries are the supported objects. For queries, the DataAccessIntent property set to ReadOnly fully applies when the query is exposed as an API or OData feed, and administrators can override the access intent per object. Two cautions: a replica can lag slightly behind the primary, which the overlap window in the delta load absorbs, and sandboxes do not use read scale-out, so test extraction volumes in a sandbox knowing production will behave differently.
What should the AL extension expose for production and sales data?
Exactly what the warehouse stores and nothing more. The extension is small: a handful of API pages and API queries under your own API publisher, group and version, read only, without FlowFields or page logic, each exposing SystemId and SystemModifiedAt, plus a permission set that lets a service principal read those objects and nothing else. Microsoft's standard API v2.0 is used wherever it already covers an entity, so there is less custom code to own. How we build, test and version such an extension is on Business Central AL development.
| Feed | Built on | Typical object |
|---|---|---|
| Posted sales | Sales invoice and credit memo headers and lines | API query joining header and line fields |
| Open sales orders | Sales header and line, with a delete log | API page or query, plus the delete log feed |
| Inventory movements and cost | Item ledger entries and value entries | API query with only the columns the warehouse stores |
| Production | Production orders, production order lines and components, capacity ledger entries | API queries for the orders and for output and consumption |
| Master data | Items, customers, locations, dimensions | Standard API v2.0 where it covers the fields, otherwise an API page |
How does a SQL-skilled team run the loader once the extension exists?
With the tools it already knows. The extension turns Business Central into a set of narrow, documented, read-only endpoints, and from there the loader is ordinary data engineering. In Azure Data Factory that is a pipeline per feed on a 15-minute trigger: a lookup reads the watermark from a control table, a copy activity calls the endpoint through the REST connector with a pagination rule that follows the next-page link, the rows land in a staging table, a stored procedure merges them on SystemId and advances the watermark, and the pipeline's retry policy covers transient 429 and 503 responses. The same pattern works in SQL Server Integration Services, a Python job or any tool your team prefers.
Authentication is a Microsoft Entra app registration with Business Central API permissions, added on the Microsoft Entra Applications page in Business Central with the extension's read-only permission set, so no user password is stored in the pipeline. Loop over companies inside the pipeline rather than running every company at once, keep parallel calls under the per-user limit, and alert when a feed falls more than one cycle behind. How the landed data becomes a reporting layer with conformed keys and lineage is covered on consolidated reporting across Dynamics 365 and your ERP, and a monthly owner pack straight from Business Central on the Business Central and Power BI management pack.
What does Solzet build for Business Central data extraction?
Solzet builds the AL piece and leaves the loader with your team, if that is what you want. We agree the feeds with your data engineers, write the specification of each API page and API query with its fields, filters and delta key, build the extension under your own API publisher and group with a read-only permission set and a delete log where open documents need one, test it against production-sized data, and document every endpoint with a sample delta request and the expected volumes. We then review the first loader runs with your team, including 429 handling and paging. If you prefer, we build the Azure Data Factory pipelines as well. Our own senior consultants and developers do the work. The service is Business Central AL development, and the implementation side is on Dynamics 365 Business Central.
Where the warehouse also reads CRM data, buyers who would rather not carry Microsoft licensing for the CRM can choose a custom CRM. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.
What do people ask us?
Why does Business Central OData time out on large tables?
A UI page published as a web service runs its triggers and FlowFields for every row, and Business Central online limits each OData request with an operation timeout and a maximum page size. Read through API pages or API queries that expose only the fields you need, with delta filters and paging.
How should a loader handle 429 Too Many Requests from Business Central?
Retry with a cool-off period: honour a Retry-After header if the response carries one, otherwise back off exponentially with jitter and cap the retries. Then reduce the request count by reading many records per request, following the next-page link and keeping parallel calls under the per-user limit.
What are the API limits for Business Central online?
Microsoft documents them on the operational limits page for Business Central online: per-user concurrency, connections, queue size and a request rate over a sliding window, plus an operation timeout and a maximum page size per request. Check the page for current values, because Microsoft adjusts them.
How do you load only changed records from Business Central?
Filter on SystemModifiedAt greater than the last successful load minus a small overlap, select only the needed columns, page through the results and merge into staging on SystemId. Capture deletions separately through webhooks, a key comparison or a delete log in an AL extension.
Does read scale-out apply to Business Central API calls?
In Business Central online read scale-out is enabled automatically and almost all OData GET requests use read-only intent, so reads go to a replica rather than the primary database. Sandboxes do not use read scale-out, and replicas can lag slightly behind.
Can our SQL team build the loader without AL skills?
Yes, once the AL extension exposes the feeds. The loader is a watermark, a paged REST call, a staging table and a merge on SystemId, which Azure Data Factory, SQL Server Integration Services or your own tool can run every 15 minutes.
What does Solzet deliver for Business Central data extraction?
An AL extension with read-only API pages and API queries for the production and sales data you need, a permission set for a service principal, a delete log where needed, documentation of every endpoint and a review of the first loader runs. Solzet can build the Azure Data Factory pipelines too.
Where should you go next?
Business Central AL development
Extensions, custom API pages and API queries, integrations and apps built in AL.
Consolidated reporting across Dynamics 365 and your ERP
One thin reporting layer with conformed keys and lineage.
Business Central monthly management pack in Power BI
From three days of Excel to one refresh after the close.
Business Central implementation
Business Central online, AL extensions, integrations and migration.
CRM and ERP integration
Customer Engagement and Business Central designed and connected by one team.
Which solution is right for your business?
Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.