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, ...
Unanswered

Best Practice for Logging Third-Party Integration Transactions in D365 FO

(0) ShareShare
ReportReport
Posted on by 455
Hello everyone,

I need your recommendation on the best approach for storing and maintaining integration logs between a third-party application and D365 FO
Is it acceptable to store custom API service logs and batch job logs in a custom table inside the D365 FO database or is it better to use external resources such as Azure SQL Database or Azure Table Storage?
My main concern with using a custom table inside D365 FO is the potential performance impact especially as the volume of transactions grows and slowness.
For more infromation:
- A third-party application sends Sales Orders daily to D365 FO.

- D365 FO batch jobs then generate the Sales Order, Packing Slip, and Invoice.

- After invoicing, D365 FO triggers Business Events (for example, when a Sales Order is invoiced for certain customers) and sends updates back to the third-party application.

I would really appreciate your suggestions.
Thanks in advance!
I have the same question (0)
  • Martin Dráb Profile Picture
    238,324 Most Valuable Professional on at
    Any reason not to use Application Insights?
     
    It's designed for logging, the data is stored outside F&O, it's integrated with F&O (and you can let errors, for example, log automatically), it's supported by many other things you may be using for your integration, such as Azure API Management or Azure Functions.
  • Suggested answer
    Komi Siabi Profile Picture
    13,148 Most Valuable Professional on at
    You can store the logs in D365FO database. But you should have a batch Job that auto deletes old logs ( for example , all success log records GreaterThanDate(30)). This can be predefined or users defined.

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 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 279 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans