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

Notifications

Announcements

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 265
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,977 Super User 2025 Season 2 on at
     
    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,537 Super User 2025 Season 2 on at
    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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 732 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 289 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans