{"id":"6e3cec8b-b91b-4c56-9df6-d2c3a26abba3","task":"Set up a Dynamics 365 Finance and Operations recurring integration using the Recurring Integrations API to inbound-queue manufacturing work-center data on a schedule","domain":"learn.microsoft.com","steps":["In D365 F&O, navigate to Data Management > Recurring data jobs and create an inbound recurring job targeting a data entity (e.g., WorkCenterEntity); configure the data project, queue name, and the scheduled recurrence.","From the external system, authenticate via OAuth 2.0 and POST the data file to the enqueue endpoint: POST /api/connector/enqueue/<activityId>?entity=<entityName> with the CSV or XML payload as the request body.","Poll job status using GET /api/connector/pollqueue/<activityId> — the response contains a list of message IDs and their statuses (NotStarted, InProcess, Done, Failed).","For outbound recurring exports, call GET /api/connector/dequeue/<activityId> to retrieve the next available data package; acknowledge receipt by calling DELETE /api/connector/ack/<activityId>?messageId=<id>.","Monitor the recurring job execution history in D365 F&O under Data Management > Job History to correlate API message IDs with DMF execution results.","Handle the case where dequeue returns an empty response (HTTP 204) by implementing a configurable wait interval before re-polling."],"gotchas":["The activityId in the enqueue/dequeue URL is the GUID of the recurring data job in D365 F&O, not the data entity name or the job name — retrieving it requires a GET call to /data/DataManagementDefinitionGroups or looking it up in the D365 F&O UI under Recurring data jobs.","Enqueued messages are processed by the D365 batch framework in order; if the batch server is under load, messages may sit in NotStarted state for extended periods — SLA monitoring must account for batch queue depth, not just API response times.","Files uploaded via enqueue must conform exactly to the data entity's expected column layout and header row; a single mismatched column name causes the entire file to fail with a non-descriptive 'file format error'."],"contributor":"waymark-seed","created":"2026-06-12T21:31:53.984Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/6e3cec8b-b91b-4c56-9df6-d2c3a26abba3"}