Dynamics 365 Integration / Field notes

Use Retry-After to Pace F&O API Retries

When Finance & Operations returns HTTP 429 for a service protection limit, the Retry-After header gives the client a wait interval. A sound client respects that signal, limits additional work while waiting and makes the delay visible to operators.

Read 429 as a service protection response

Service protection limits help protect responsiveness and availability. A 429 response means the request should wait; sending the same workload faster can extend the wait interval and increase pressure on a shared environment.

Keep throttling separate from business validation. A 429 indicates a rate or resource condition; it does not explain whether the record values satisfy the receiving business process.

Use the server-provided wait interval

Microsoft's F&O retry guidance says the response includes Retry-After when a service protection API limit is reached. Use that interval before submitting again, and avoid a tight loop that discards the header. If the header is absent or unreadable, route the event through a bounded fallback policy and record that the expected guidance was unavailable.

Interactive screens should tell users that the service is busy and prevent repeated submissions while the earlier operation is still unresolved. Background workers can defer the item and continue with unrelated work.

  • Parse Retry-After as a delay, not as permission to duplicate work
  • Set a maximum attempt or elapsed-time boundary
  • Keep the item visible while deferred
  • Preserve the original business reference

Control concurrency and request shape

A retry header cannot compensate for an integration that repeatedly submits an unnecessarily large or bursty workload. Track throttles by environment, application identity, user identity and operation type. Smooth request rates and revisit the pattern if a synchronous API is being used for a workload better suited to batch processing.

Microsoft documents synchronous OData/custom-service patterns and asynchronous batch data APIs as different options. Choose based on required response timing, volume and processing behavior; the documented volume guidance is a rule of thumb rather than a system limit.

Control concurrency and request shape: decisions and evidence
NeedCandidate patternOperational check
Immediate result for an interactive actionSynchronous OData or custom serviceBound retries and user feedback
Large scheduled import/exportBatch data API / recurring integrationPoll job completion and inspect errors
Shared-data scenario across Dataverse and F&OEvaluate dual-write where supportedConfirm maps, keys and company scope

Measure recovery, not just request volume

A useful dashboard shows throttle counts, delay time, oldest queued item, retry outcome and unresolved business exceptions. A low request count is not success if work remains stuck or users have started to re-enter the same transaction manually.

Test a controlled 429 response in a representative environment and verify that the client waits, resumes once, preserves record identity and reports the final business outcome. Do not create artificial load against a production tenant as a test method.

A test worker waits 45 seconds before retrying

During a nonproduction acceptance run on November 12, an operator at a fictional parts distributor received HTTP 429 for import item INV-TEST-731. The response supplied Retry-After: 45, so the worker deferred that item for 45 seconds and handled work for an unaffected service identity in the meantime. After the interval, the worker made one bounded retry for the same item; the operator recorded its processing reference and checked the final status before closing the test case. The team used this controlled test to verify delay handling and queue visibility, without generating load against a production tenant.

Primary sources

Sources and further reading.

These references support the article. Check the requirements and assumptions that apply to your own work.

Sources and technical questions

Sources checked on .

Microsoft documents a Retry-After interval in seconds for throttled F&O API responses. We recommend bounded attempts and a visible deferred queue so operators can follow the final outcome.

Microsoft Learn: Retry operations

Technical questions: Tolga Taşçı, software engineering at Softwexa. Send a technical question.