web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Exception handling via recurring API

(1) ShareShare
ReportReport
Posted on by 257
Hi All,
 
We are currently using Data Management Recurring Integration without middleware like logic apps to import data from third-party applications into D365 Finance and Operations. I’m looking for a way to send exception details back to the third-party system.

For example, if the third party sends 100 records and 5 of them fail (e.g., they don’t get inserted into the staging table), we need to send those 5 failed records along with the error details back to the third party.

Has anyone implemented a solution for this kind of error handling and feedback loop? Any guidance or suggestions would be greatly appreciated

 
Thanks in advance!
I have the same question (0)
  • Verified answer
    Anthony Blake Profile Picture
    2,748 Super User 2025 Season 2 on at
    Exception handling via recurring API
     
    There is an endpoint for retrieving the errors from the recurring integration execution, take a look at an example here:
     
     
    The enqueue step for the recurring integration returns a message ID, you then use an endpoint to retrieve the Execution Id, then another endpoint to retrieve the errors for the Execution.
     
    Anthony
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,511 Super User 2025 Season 2 on at
    Exception handling via recurring API
    It think below are some of the ways you can handle logging errors
     
    1. Custom Batch Job + DMF Staging Log Table
    2. Event Handler + File Generation
    3.  Use Execution Summary API (PowerShell/Logic App – optional)
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,157

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 883 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 674 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans